Network File System notes#
Server Side#
exportfs -v list exported paths exportfs -a export drives specified by /etc/exports exportfs -au unexport all drives exportfs -ra exports has changed - resetYou can't unmount an exported drive but you can unexport, umount, mount a different drive and export it while others are using the export.
/etc/exports#
/media/disk/ 192.168.1.122(rw,sync,no_root_squash) /media/disk/ 192.168.1.0/24(rw,sync,no_root_squash) Only the first 24 bits are relevantYou can add more exports to the same drive by repeating the second part separated by a space or with a \ line continuation.
Client Side#
showmount -e 192.168.1.x mount mount 192.168.1.x:/media/disk /mnt/disk umount /mnt/disk
/etc/fstab#
theserver:/home/dir /mnt/dir nfs defaults 0 0
Add new attachment
Only authorized users are allowed to upload new attachments.
«
This particular version was published on 02-May-2011 21:13 by UnknownAuthor.
JSPWiki v2.10.4