Sunday, April 23, 2017

Steps for Creating Shared Storage in Linux Server

To Create Shared Storage in Linux Server:

 Login as root

And add the following entry(like the following one and save the file)

# vi /etc/exports

/mnt/shared *(rw,sync)

Assuming that you want to create mount point for /mnt/shared folder.

Then , restart the nfs service

# /etc/init.d/nfs restart

Then, in the client where you want to mount the same, goto /mnt and create

directory called shared(mkdir –p shared), then issue the following command

# mount -t nfs -o rw /mnt/shared

if you want to make this mount as permanent , then create entry into /etc/fstab file

# vi /etc/fstab

Add the entry like below and save the file /mnt/shared nfs defaults 0 0

No comments:

Post a Comment

Loading xml file data to oracle table using python

Sample xml file (test.xml): <?xml version="1.0"?> <data>     <customer name="Ravi" >     ...