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

PLAND picture PLAND · Jul 18, 2013 · Viewed 84k times · Source

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

Answer

number5 picture number5 · Jul 18, 2013

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