A kind of nfs service monitoring method, device, equipment and readable storage medium
A storage medium and business technology, applied in the storage field, can solve problems such as difficulty in unified monitoring of each business, inability to detect business anomalies in time, and unfavorable business adjustment.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] Please refer to figure 1 , figure 1 It is a flowchart of an NFS service monitoring method in an embodiment of the present invention, and the method includes the following steps:
[0043] S101. Receive an access request sent by a target client.
[0044] The access request includes the operation type and the identifier of the shared directory mounted by the target client.
[0045] In this embodiment of the present invention, in order to facilitate statistics on NFS services by using an access request, an ID number may be set for the shared directory corresponding to each service in advance. Then, after the client is mounted to the corresponding shared directory, the ID number of the shared directory is sent to the client, so that when the client sends an access request, the ID number is also sent to the NFS server, which is convenient for the NFS server to process accordingly. . The specific process is as follows:
[0046] Step 1. Use the mount command to mount the t...
Embodiment 2
[0066] In order to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present invention, the technical solutions provided by the embodiments of the present invention are described in detail below with reference to a specific application process as an example.
[0067] The NFS server sets an ID number for each shared directory, and stores all shared directories in the export list. Among them, the shared directory corresponds to the NFS service one-to-one.
[0068] When the client mounts the NFS service, the mounted shared directory is specified by the mount command. After the mount is successful, the NFS server returns the ID number of the mounted shared directory to the client. When the client needs to access the NFS service, it sends an access request including the mounted shared directory ID.
[0069] After receiving the request, the NFS server first determines whether the request is a read / write request. If it is a...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


