Local hard drive VS NFS

Discussion in 'Site & Server Administration' started by smile, Nov 18, 2008.

  1. #1
    hi, i recently asked someone about putting everything in the /shared ( nfs ) vs in the server hard drive. can someone help me if the statement is true ?

    " Hi,

    Do not put everything on /shared. This is a NFS mounted file system (network) so it is going to be much slower than your local file system. It is especially bad to put MySQL on /shared. You should put as less files as you can on /shared. Typically people only use this for static assets or backups to their accelerator.

    "

    so it is really slower if we pull from nfs to serve our websites ?

    thanks :)

    smile
     
    smile, Nov 18, 2008 IP
  2. bucasia

    bucasia Peon

    Messages:
    50
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    That all depends on how fast the network, how fast the storage device is that's doing the nfs share and how fast your local hard drive is.

    It's true though that you're going to get much more consistent results with a local hard drive though as there's only going to be you using it.
     
    bucasia, Nov 19, 2008 IP
  3. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #3
    only use NFS for backups. If you use it for running a live site, the speed would dramatically slow down. Think of getting a file from server with SATA drive than from a shared file server in the local network.
     
    olddocks, Nov 20, 2008 IP