LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2005, 04:58 PM   #1
spelltoronto
Member
 
Registered: Jan 2005
Location: San Diego, CA
Posts: 36

Rep: Reputation: 15
How to share storage space in RHEL 3.0


Hi,

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..

Thanks
 
Old 04-25-2005, 06:31 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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.

/opt/ltsp/i386 192.168.0.0/255.255.255.0(ro,no_root_squash,sync)
/var/opt/ltsp/swapfiles 192.168.0.0/255.255.255.0(rw,no_root_squash,async)
 
Old 04-25-2005, 07:50 PM   #3
spelltoronto
Member
 
Registered: Jan 2005
Location: San Diego, CA
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks for the info..
So is NFS a package that is readily available on RHEL Server 3.0?
 
Old 04-25-2005, 08:21 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
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
 
Old 04-26-2005, 12:20 AM   #5
spelltoronto
Member
 
Registered: Jan 2005
Location: San Diego, CA
Posts: 36

Original Poster
Rep: Reputation: 15
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?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade RHEL 3 AS to RHEL 4 AS louisb Linux - Enterprise 8 06-04-2009 02:57 PM
mounting, adding storage space questions babag Mandriva 4 09-08-2005 08:07 PM
Per-process address space in RHEL x86_64? geezjan Linux - Software 0 04-06-2005 01:19 PM
can i share swap space? sirpelidor Linux - Newbie 4 02-04-2004 02:26 PM
Still trying to FTP to my samba share space! bripage Linux - Software 6 03-20-2002 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration