File Systems

Mileage will vary depending on your version of Linux..but first grab your disk device names

$ df

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 55G 1.9G 50G 4% /
/dev/sda5 126G 46G 80G 37% /home
/dev/sda9 26G 522M 24G 3% /tmp
/dev/sda7 103G 15G 84G 15% /usr
/dev/sda6 32G 1.4G 29G 5% /var

$ sudo file -s /dev/sda{,1,5,6,7,9}

/dev/sda: x86 boot sector
/dev/sda1: Linux rev 1.0 ext4 filesystem data, UUID=1bdf35a5-6ae0-402d-ab61-853ca3877d94 (needs journal recovery) (extents) (large files) (huge files)
/dev/sda5: Linux rev 1.0 ext4 filesystem data, UUID=b9646594-a7b2-4cfd-a909-d9b6df2ff698 (needs journal recovery) (extents) (large files) (huge files)
/dev/sda6: Linux rev 1.0 ext4 filesystem data, UUID=fc0355a1-05f8-416e-8bde-24287782d45b (needs journal recovery) (extents) (large files) (huge files)
/dev/sda7: Linux rev 1.0 ext3 filesystem data, UUID=64395184-64bf-4b52-90cb-e0afff7c678c (needs journal recovery) (large files)
/dev/sda9: Linux rev 1.0 ext4 filesystem data, UUID=9c56ff6c-052d-4329-a956-43d7df88e6d7 (needs journal recovery) (extents) (large files) (huge files)

Using SLES11 SP1, I’m sure other distro’s will have similar files.

/proc/fs/nfsfs/servers
/proc/fs/nfsfs/volumes

/var/lib/nfs/etab:
contains information about what filesystems should be exported to whom at the moment.
/var/lib/nfs/rmtab:
contains a list of which filesystems actually are mounted by certain clients at the moment.
/proc/fs/nfs/exports:
contains information about what filesystems are exported to actual client (individual, not subnet or whatever) at the moment.
/var/lib/nfs/xtab:
is the same information as /proc/fs/nfs/exports but is maintained by nfs-utils instead of directly by the kernel. It is only used if /proc isn’t mounted.

Some helpful URLS

http://www.novell.com/communities/node/3787/configuring-nfsv4-server-and-client-suse-linux-enterprise-server-10
http://www.softpanorama.org/Commercial_linuxes/Suse/Networking/suse_nfs.shtml