adding hd for a site

Discussion in 'HOWTO-Related Questions' started by kwickcut, Oct 13, 2011.

  1. kwickcut

    kwickcut Member

    i know how to add a new hard drive to the serve. question is how can i add a hard drive to the server and give access to this drive for one site.

    say i have 2 drives

    i want /dev/sd1 and /dev/sdb1 to be general for sites 1,2,3,4 and want /dev/sdc1 to be just for site 3 for extra storage

    now all sites are running so i dont know if this is an issue

  2. falko

    falko Super Moderator ISPConfig Developer

    Just put the document root of site3 on the third hard drive.
  3. kwickcut

    kwickcut Member

    so are you saying if the old site directory is say /var/www/clients/client#/web# i should make it /dev/sdc1/folder

  4. Franz

    Franz Member

    make backup of: /var/www/clients/client#/web#

    mount sdc1 to /var/www/clients/client#/web# directory

    restore data
  5. falko

    falko Super Moderator ISPConfig Developer

    You need to mount sdc1 somewhere first, as Franz explained.
  6. kwickcut

    kwickcut Member

    would this work

    sudo mount /dev/sdb1 /mnt/sdb1 -t ext3 /var/www/clients/client#/web#

  7. Franz

    Franz Member

    yes it will work, but you have to backup data before.
  8. kwickcut

    kwickcut Member



Share This Page