#1  
Old 20th June 2007, 18:34
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 419
Thanks: 31
Thanked 0 Times in 0 Posts
Default Two Hard Drives

I have two hard drives in my machine, one is small and I want the site storage to happen on the other, much larger drive. I made the larger drive /home and it shows up in fstab. The ISPConfig install went fine. Is there anything else I need to do?
Reply With Quote
Sponsored Links
  #2  
Old 20th June 2007, 18:58
omni omni is offline
Member
 
Join Date: Jan 2007
Posts: 62
Thanks: 4
Thanked 1 Time in 1 Post
Default

all the site storage is in /var/www

you can simply mount the larger hard drive as that volume.

stop the ispconfig service(s)
Code:
/etc/init.d/ispconfig_server stop
copy the existing contents to a new folder (rename it)
Code:
mv /var/www /var/www2
mount the new /var/www (edit your fstab)

Code:
mount /var/www
('mount -a' would work as well)

copy the old files to the new drive (folder)
Code:
cp /var/www2/* /var/www/*
now verify files copied
Code:
ls /var/www
 ls /var/www2
now restart the service
Code:
/etc/init.d/ispconfig_server start
now verify everything is working as it should
check it via your browser,etc.

now remove the old folder
Code:
rm -rf /var/www2

Last edited by omni; 20th June 2007 at 19:13.
Reply With Quote
  #3  
Old 20th June 2007, 19:09
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 419
Thanks: 31
Thanked 0 Times in 0 Posts
Default

That's what I did, only I thought ISPConfig stores everything in /home/www, not /var/www?
Reply With Quote
  #4  
Old 20th June 2007, 19:15
omni omni is offline
Member
 
Join Date: Jan 2007
Posts: 62
Thanks: 4
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by dayjahone
That's what I did, only I thought ISPConfig stores everything in /home/www, not /var/www?
well for my setup (the perfect setup on ubuntu 6.06LTS), everything is in /var/www

you can verify by doing an ls in either directory, you should see "web1" "web2" etc.
Reply With Quote
  #5  
Old 21st June 2007, 16:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by dayjahone
That's what I did, only I thought ISPConfig stores everything in /home/www, not /var/www?
It depends on what you chose during ISPConfig installation. Did you use standard or expert installation mode? Which distribution do you use?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 21st June 2007, 16:54
dayjahone dayjahone is offline
Senior Member
 
Join Date: Jan 2007
Posts: 419
Thanks: 31
Thanked 0 Times in 0 Posts
Default

I used standard. On my Suse box, it's in /home, but on Ubuntu, it's /var.
Reply With Quote
  #7  
Old 22nd June 2007, 13:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

For older ISPConfig versions, everything is stored in /home/www if you choose the standard mode. In newer ISPConfig versions, the location depends on your distribution. For example, for SuSE, it's /srv/www, and for Ubuntu /var/www.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
How to Partition 2 hard drives (Not raid) for webserver use Anim Installation/Configuration 9 17th October 2007 17:30
Syncing two servers bagpiperdude90 Technical 4 18th March 2007 19:35
Linux will not see my hard drive during installation Trevor Installation/Configuration 4 29th August 2006 20:13
Hard Drive Failed Need Help mphayesuk Technical 1 28th April 2006 23:20
SATA Software RAID 1 on Linux mphayesuk Installation/Configuration 2 21st February 2006 11:31


All times are GMT +2. The time now is 10:19.


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