NFS Solution

Discussion in 'Server Operation' started by DualFusion, Jul 16, 2008.

  1. DualFusion

    DualFusion New Member

    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: Jul 16, 2008
  2. sjau

    sjau Local Meanie Moderator

    you can mount it wherever you want
     
  3. DualFusion

    DualFusion New Member

    Thanks for answering number 1, but I still need help with the other two questions. :)
     
  4. sjau

    sjau Local Meanie Moderator

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

    DualFusion New Member

    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.
     

Share This Page