Making A Mount Directory in Linux

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

MAKING A MOUNT DIRECTORY IN LINUX

MAKING /MNT/SOFTWARES AS A MOUNT DIRECTORY

Open linux terminal and type the following command #vi /etc/exports

PREPARED BY RAVI KUMAR LANKE

Page 1

Click enter and enter the directory path which you want to mount as shown below

PREPARED BY RAVI KUMAR LANKE

Page 2

Save it and exit

PREPARED BY RAVI KUMAR LANKE

Page 3

Restart the nfs service by typing the above command

PREPARED BY RAVI KUMAR LANKE

Page 4

Now the directory was mounted In order to accesses this mount directory go to another linux machine and type the following command #mount t nfs o rw 172.16.12.206:/mnt/softwares /mnt/softwares

Note: 172.16.12.206 is the ip address of the linux machine which contains the mount directory

PREPARED BY RAVI KUMAR LANKE

Page 5

You might also like