Sample Header Ad - 728x90

List all network storage based mounted filesystems in Linux

3 votes
0 answers
3585 views
My requirement is to find out all such directories in Linux which are mount points for network-based storage/file systems (like NFS, SSHFS, CIFS, SMB, etc) I did some research, and there is no utility command for that. The approach I am thinking of is first to list all mounted filesystems using the findmnt -l command, and then try and figure out from the SOURCE and FSTYPE columns of the output, which are network mounted. But I'm not sure to check for what information would surely tell me that this is a network share mounted on my Linux. Please help me with what would be the best approach to find this information. My Linux machines are RHEL 5/6/7 and Ubuntu v18 and above.
Asked by dig_123 (143 rep)
Feb 1, 2022, 12:18 PM
Last activity: Jul 18, 2023, 12:58 PM