How to identify the fsid of an NFS share on NFS client?
Environment
- Red Hat Enterprise Linux (ALL)
Issue
- How to identify the fsid of an NFS share on NFS client?
Resolution
- Identify the major and minor device numbers associated with the mounted file system.
# mountpoint -d <mount_point_name>
- Identify the corresponding
fsidfrom this device number in/proc/fs/nfsfs/volumes
# grep <maj:min> /proc/fs/nfsfs/volumes
5th column in /proc/fs/nfsfs/volumes shows the fsid of the NFS share.
EXAMPLE
# mountpoint -d /mnt/
0:33
# grep '0:33' /proc/fs/nfsfs/volumes
v4 0a41d1cc 801 0:33 1:0 no
OR
# cat /proc/fs/nfsfs/volumes
NV SERVER PORT DEV FSID FSC
v4 0a41d1cc 801 0:33 1:0 no <----
v3 0a41d1cc 801 0:32 2:0 no
The fsid for /mnt is 1.
SBR
Product(s)
Components
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.