Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th May 2008, 13:10
WeRReD WeRReD is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Different partitions to store users' sites

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'.
Reply With Quote
Sponsored Links
  #2  
Old 26th May 2008, 13:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,022
Thanks: 840
Thanked 5,655 Times in 4,464 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 26th May 2008, 13:47
WeRReD WeRReD is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh I see.
Thanks a lot!
Reply With Quote
  #4  
Old 26th May 2008, 16:14
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 531
Thanks: 11
Thanked 175 Times in 79 Posts
Default

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

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC Issues latcarf Installation/Configuration 15 6th January 2008 17:45
Junk mail and spamassassin... sthompson Installation/Configuration 4 27th December 2006 17:11
users & sites in tables. Franchi85 General 0 22nd May 2006 11:23
Relation between the sites and the users Franchi85 Installation/Configuration 3 25th April 2006 16:49
ISPConfig stopped creating users, sites... Traxus Installation/Configuration 4 9th February 2006 11:00


All times are GMT +2. The time now is 02:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.