#1  
Old 16th July 2008, 06:25
DualFusion DualFusion is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 4
Thanked 1 Time in 1 Post
Default NFS Solution

Hi,

I was following this tutorial on how to set up an nfs server and client and had a couple small questions:

1) Lets say the client is the webserver and I want to use NFS for the /var/www directory, can i mount it directly to there, or would I have to do mount it to /mnt/nfs/var/www and do a link from /var/www/ to /mnt/nfs/var/www?

2) Lets say on the server I have two hard drives, can I mount the slave in a way that both hard drives share /var/www so that if one hard drive gets the full, the over flowing data goes to the other drive? if so how?

3) Lets say I have two clients, can both clients mount the same directory from the server?

Thanks,
Kevin.

Last edited by DualFusion; 16th July 2008 at 16:36. Reason: Mispelled 'two', had 'to' :P
Reply With Quote
Sponsored Links
  #2  
Old 16th July 2008, 11:03
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

you can mount it wherever you want
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #3  
Old 16th July 2008, 16:37
DualFusion DualFusion is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 4
Thanked 1 Time in 1 Post
Default

Thanks for answering number 1, but I still need help with the other two questions.
Reply With Quote
  #4  
Old 16th July 2008, 18:14
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

Q2 --> LVM (make seperate partition for the /var/www folder and then combine them as LVM)

Q3 --> dunno, but I don't see a reason why not
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #5  
Old 16th July 2008, 18:25
DualFusion DualFusion is offline
Member
 
Join Date: Dec 2007
Posts: 67
Thanks: 4
Thanked 1 Time in 1 Post
 
Default

Yea, I found out about q3 when looking arounf the exports manual on the box and q2, well i tried it, but when i mounted the the export dir onto the client and did df -h, it said I only had half of the space I really had. IE. I have two 40 GB HDD's for a total of 80 GB, but it said i only had a bit less than 40 GB.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS Problem jeo_84 Server Operation 10 20th March 2008 18:17
NFS Cluster questions youngblood HOWTO-Related Questions 2 12th February 2008 20:26
NFS for Etch vs. Sarge HA NFS tfunky HOWTO-Related Questions 2 6th December 2007 16:07
Samba/LDAP + NFS Implementation vibranze Server Operation 2 21st August 2006 15:02
NFS Locking Failure and Updating solderboy Installation/Configuration 0 29th September 2005 21:59


All times are GMT +2. The time now is 18:24.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.