TBLinux:How mount nfs drive

From TBwiki
Jump to: navigation, search

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
Personal tools