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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th January 2008, 15:13
McMadd McMadd is offline
Junior Member
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Move /var to new drive on Debian Etch running ISPConfig

Hello,

I'm running a Debian Etch server (build according to the Perfect Setup HOWTO) with the latest ISPConfig and recently added a second (bigger) hard drive.
Now I want to move /var to the new drive but obviously there are lots of processes accessing the dirs in /var constantly.

What would be the correct way to move /var?
How can I identify and stop those processes?
How can I be sure I've stopped them all?
Any suggestions on a new entry in fstab?

Some other remarks that might be helpful:
- I have no problem with a bit of downtime during the move.
- Please keep in mind I'm doing this remotely (ssh).
- Apart from the default "Perfect Setup" I also did this howto: "Server Monitoring With munin And monit On Debian Etch"

I hope anybody can guide me in making this a seamless move...

Tnx.
Reply With Quote
Sponsored Links
  #2  
Old 12th January 2008, 17:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

I'd create a new directory on the new hard drive, move everything from /var to that new directory (please make sure you preserve the permissions) and create a symlink from /var to the new directory.
__________________
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
fastcgi and php on Debian etch walkthrough meemu Tips/Tricks/Mods 54 4th March 2008 13:40
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
install fails, debian etch 4.0 edo660 Installation/Configuration 12 27th April 2007 02:40
Converting host/domain name on a running ISPConfig IntnsRed Installation/Configuration 2 18th December 2005 15:04
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 20:56.


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