-   Linux - Newbie (
-   -   How to share storage space in RHEL 3.0 (

spelltoronto 04-25-2005 04:58 PM

How to share storage space in RHEL 3.0

I have a RHEL 3.0 server with a newly added raid 5 array of ~ 150GB that I have mounted on the server as /data. What is the best way to allow this space to be used on the network by NIS users on other Linux hosts?

Any suggestions are appreciated..


homey 04-25-2005 06:31 PM

For linux to linux, you could just start nfs and put the path the the share in the /etc/exports.

This is an example of /etc/exports so ltsp clients can access it.


spelltoronto 04-25-2005 07:50 PM

Thanks for the info..
So is NFS a package that is readily available on RHEL Server 3.0?

homey 04-25-2005 08:21 PM

I think it comes default on pretty much every linux distro.
It's a service so you can run the command:
# chkconfig --list nfs
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off

That shows it stopped at all run levels for now so I could run these commands:
# chkconfig --level 345 nfs on
# service nfs start
Starting NFS services: [ OK ]
Starting NFS quotas: [ OK ]
Starting NFS daemon: [ OK ]
Starting NFS mountd: [ OK ]

Now the service shows as being on for levels 3, 4 and 5 . That means they will be running even after a reboot.
# chkconfig --list nfs
nfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off

If you make changes to the /etc/exports file, you probably should restart it...
# service nfs restart

spelltoronto 04-26-2005 12:20 AM

So once I set up the NFS service with the /data directory share from the server, how would users on the other linux hosts access this share to start putting their files on it?


All times are GMT -5. The time now is 12:10 PM.