The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NFS questions

Discussion in 'General Discussion' started by bigj, Jan 13, 2004.

  1. bigj

    bigj Well-Known Member

    Joined:
    Aug 9, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tucson,AZ
    Does anyone know of any issues that may arise from using NFS to mount and store the user's directories w/ Cpanel (file locking, quotas...)?

    Thanks.

    bigj
     
  2. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    should work fine as long as you have rw,no_root_squash settings on the exported files

    we used to do this ourselves on non cpanel boxes

    we ran one master nfs home drive and mounted it on several web servers

    have not tried it on our cpanel boxes except for backup drive
    as our cpanel boxes are hardware raid 5
     
  3. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    and i would recommend limiting the nfs export to just the machines that need it for security purposes

    i would also add ALL:ALL to the host.deny file
    and then add

    <your ips>:portmap to the host.allow file

    this will prevent unauthorized access to your portmapper and your exported drive
     
  4. bigj

    bigj Well-Known Member

    Joined:
    Aug 9, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tucson,AZ
    Thanks for the reply. "Should" is the magic word. Everything works except Cpanel can't determine how much space is in the customer's directory. Quotas do work though.

    Their also appears to be a file locking issue since I can't install FrontPage Extensions. It tells me could not obtain lock on fpinstall.lck, or some file like that. I'm not near that machine to get the exact error returned.

    NFS security is already in place as this is a NAS from netapp.com.

    If you have any ideas as to why the above problems exist, feel free to share. Thanks.

    bigj
     
  5. dave9000

    dave9000 Well-Known Member

    Joined:
    Apr 7, 2003
    Messages:
    891
    Likes Received:
    1
    Trophy Points:
    16
    Location:
    arkansas
    cPanel Access Level:
    Root Administrator
    yea add the no_root_squash option to your export file settings
     
  6. bigj

    bigj Well-Known Member

    Joined:
    Aug 9, 2003
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Tucson,AZ
    That unfortuantely isn't an option on the netapp.

    bigj
     
Loading...

Share This Page