Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th January 2012, 20:18
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 479
Thanks: 78
Thanked 41 Times in 34 Posts
Default Move /var to another partition

Having failed to extend an ext3 partition due to the swap partition being immediately after it I'm considering creating an extra partition after the swap file and copying contents of the /var directory to the new partition and then mounting the new partition on /var.

Is this likely to work successfully?

Will symlinks be preserved?

If I then unmount the partition at any point will the original data in the original /var still be there?


vds debian lenny
Reply With Quote
Sponsored Links
  #2  
Old 5th January 2012, 15:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

Quote:
Originally Posted by Toucan View Post
Having failed to extend an ext3 partition due to the swap partition being immediately after it I'm considering creating an extra partition after the swap file and copying contents of the /var directory to the new partition and then mounting the new partition on /var.

Is this likely to work successfully?
I don't see any problems.

Quote:
Originally Posted by Toucan View Post
Will symlinks be preserved?
I think so, but am not 100% sure. You will have to test (also check if hidden files (starting with a dot, like .htaccess) are copied).

Quote:
Originally Posted by Toucan View Post
If I then unmount the partition at any point will the original data in the original /var still be there?
Yes - if you don't delete or format the original partition.
__________________
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
Increase partition Toucan Server Operation 2 23rd December 2011 03:31
Can all the installation and configuration be automated (Kickstart) gabby Installation/Configuration 0 30th January 2010 20:47
www, mysql folder in limited /var partition by mistake bpmee Installation/Configuration 1 2nd October 2009 15:12
Move /var to new drive on Debian Etch running ISPConfig McMadd Installation/Configuration 1 12th January 2008 18:14
Moving /var to a new drive & renaming mount point tdd_topdog Technical 2 12th July 2006 06:10


All times are GMT +2. The time now is 11:28.


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