TBLinux:How mount nfs drive
From TBwiki
(Difference between revisions)
(Creation) |
(add subtitle) |
||
Line 31: | Line 31: | ||
== Unmount nfs drive == | == Unmount nfs drive == | ||
+ | |||
+ | === Unmount the drive === | ||
unmount [mounting directory] | unmount [mounting directory] |
Latest revision as of 10:46, 2 October 2009
This page explains the procedure to mount a network drive through nfs on a TMG unit.
Contents |
Mount nfs drive
Install the required package
yum install nfs-utils
Activate the service
/sbin/service rpcbind start /sbin/service nfslock start
Create a direcotry
mkdir [mounting directory]
- example:
mkdir /mnt/mynfsdrive
Mount the drive
mount -t nfs [NetworkDrive] [mounting directory]
- Note: On the NFS server side, do not forget to "expose" the directory you want to share.
- example:
mount -t nfs sf1-ips-001:/root/TB_Stream_Server /mnt/mynfsdrive
Unmount nfs drive
Unmount the drive
unmount [mounting directory]
- example:
unmount /mnt/mynfsdrive