Check NFS Mount Using SATA, SSD, NVMe Disk in RHEL 8.6
In this article, we will discuss how to check NFS mount using SATA, SSD, and NVMe disk in RHEL 8.6. NFS (Network File System) is a distributed file system protocol that allows a user on a client computer to access files over a network in a manner similar to how local storage is accessed. NFS is typically used to share directories and files between computers over a network.
Prerequisites
To follow this article, you will need the following:
- A Red Hat Enterprise Linux (RHEL) 8.6 system
- SATA, SSD, or NVMe disk installed and mounted on the system
- An NFS server configured and accessible over the network
Check NFS Mount Using df Command
The first way to check NFS mount on a RHEL 8.6 system is by using the df command. The df command displays the amount of disk space used and available on the filesystems.
# df -h
The -h option displays the output in human-readable format. By default, the df command shows local filesystems only. To display NFS filesystems, use the -t option followed by the NFS filesystem type:
# df -t nfs
Check NFS Mount Using mount Command
The mount command can also be used to check NFS mount on a RHEL 8.6 system. The mount command displays the mounted filesystems.
# mount
To display only NFS mounts, use the -t option followed by the NFS filesystem type:
# mount -t nfs
Check NFS Mount Using nfsstat Command
Another way to check NFS mount on a RHEL 8.6 system is by using the nfsstat command. The nfsstat command displays statistics for NFS.
# nfsstat
To display statistics for a specific NFS mount point, use the -m option followed by the mount point:
# nfsstat -m [mount_point]
In this article, we have discussed how to check NFS mount using SATA, SSD, and NVMe disk in RHEL 8.6. We have covered the following topics:
- Prerequisites for checking NFS mount
- Using the df command to check NFS mount
- Using the mount command to check NFS mount
- Using the nfsstat command to check NFS mount