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, 19:18
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 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, 14:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 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 02:31
Can all the installation and configuration be automated (Kickstart) gabby Installation/Configuration 0 30th January 2010 19:47
www, mysql folder in limited /var partition by mistake bpmee Installation/Configuration 1 2nd October 2009 14:12
Move /var to new drive on Debian Etch running ISPConfig McMadd Installation/Configuration 1 12th January 2008 17:14
Moving /var to a new drive & renaming mount point tdd_topdog Technical 2 12th July 2006 05:10


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


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