NFS: Difference between revisions

From RCATs
No edit summary
 
Line 1: Line 1:
==COMMANDS==
==COMMANDS==
<syntaxhighlight lang="powershell">
<syntaxhighlight lang="powershell">
showmount -e <FQDN/IP> Show available NFS shares.
##Show available NFS shares.
showmount -e <FQDN/IP>
 
#mount drive
mount -t nfs <FQDN/IP>:/<share> ./target-NFS/ -o nolock Mount the specific NFS share.umount ./target-NFS
mount -t nfs <FQDN/IP>:/<share> ./target-NFS/ -o nolock Mount the specific NFS share.umount ./target-NFS
##unmount drive
umount ./target-NFS Unmount the specific NFS share.
umount ./target-NFS Unmount the specific NFS share.
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 12:51, 8 July 2023

COMMANDS

##Show available NFS shares.
showmount -e <FQDN/IP>

#mount drive
mount -t nfs <FQDN/IP>:/<share> ./target-NFS/ -o nolock	Mount the specific NFS share.umount ./target-NFS

##unmount drive
umount ./target-NFS	Unmount the specific NFS share.