Monday, 2 July 2012

MOUNTING A DIRECTORY IN LINUX

Source (root configuration)

vi /etc/exports
/u02/stage *(rw,sync)
:wq

exportsfs -a

service nfs start

Target (root configuration)

mkdir stage

service netfs start

mount 192.168.1.111:/u02/stage /u02/stage

df -h

cd stage

To stop mount

service netfs stop