Different partitions to store users' sites

Discussion in 'Installation/Configuration' started by WeRReD, May 26, 2008.

  1. WeRReD

    WeRReD New Member

    Hello.

    Recently I've installed ISPConfig and really like it.

    My question is if there is any possibility to use two different partitions for user's home simultaneously?

    To clarify a bit:
    I have two partitions ( '/' and '/mnt/partition2'). By default the sites are located in '/var/www' which is ok for now, but in some time I think I will run out of space in '/', thus I will need to switch to '/mnt/partition2'.
     
  2. till

    till Super Moderator

    You can not use two partitions at the same time. But what you can do is:

    1) Stop all services like postfix, apache and the pop3 daemon:
    2) rename /var/www to e.g. /var/www_old
    3) remount /mnt/partition2 to /var/www (dont forget to change the mountpoint in /etc/fstab too, so the partition is correctly mounted when you reboot the next time).
    4) run mv -f /var/www_old/* /var/www/
    5) Start the daemons again.
     
  3. WeRReD

    WeRReD New Member

    Oh I see.
    Thanks a lot!
     
  4. jnsc

    jnsc rotaredoM

    Or If you use LVM partitions you can add a disk and resize them
     

Share This Page