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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-25-2005, 04:58 PM
|
#1
|
|
Member
Registered: Jan 2005
Location: San Diego, CA
Posts: 36
Rep:
|
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
|
|
|
|
04-25-2005, 06:31 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
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)
|
|
|
|
04-25-2005, 07:50 PM
|
#3
|
|
Member
Registered: Jan 2005
Location: San Diego, CA
Posts: 36
Original Poster
Rep:
|
Thanks for the info..
So is NFS a package that is readily available on RHEL Server 3.0?
|
|
|
|
04-25-2005, 08:21 PM
|
#4
|
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
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
|
|
|
|
04-26-2005, 12:20 AM
|
#5
|
|
Member
Registered: Jan 2005
Location: San Diego, CA
Posts: 36
Original Poster
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:22 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|