View Single Post
  #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,721 Times in 2,562 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