Search code examples
linuxnfs

Linux: how to check if a drive is mount to nfs


Is there a way to find out if a mount drive, for ex: /var, is mount to an NFS?


Solution

  • You can just use mount command to check, e.g

    mount |grep nfs
    

    Or if you want to list all nfs you've mounted:

    mount -l -t nfs4