View Single Post
  #9  
Old 19th September 2012, 17:09
Eleven Cool Eleven Cool is offline
HowtoForge Supporter
 
Join Date: Jul 2012
Location: Orange County, CA, USA
Posts: 38
Thanks: 14
Thanked 1 Time in 1 Post
Default extend file system as well?

Quote:
Originally Posted by falko View Post
You could move the /home stuff to another directory (on the / partition, e.g. /home_tmp), delete the /dev/mapper/VolGroup-lv_home logical volume, extend the /dev/mapper/VolGroup-lv_root logical volume (make sure you extend the file system as well) and then rename /home/tmp to /home.

You can find instructions here: http://www.howtoforge.com/linux_lvm
Thank you for the great tutorial on LVM and the solution to fix the volume groups!

When trying to remove the /home entry from /etc/fstab I get this:

Code:
E325: ATTENTION
Found a swap file by the name "/etc/.fstab.swp"
          owned by: root   dated: Wed Sep 19 08:39:26 2012
         file name: /etc/fstab
          modified: YES
         user name: root   host name: myserver.com
        process ID: 20493
While opening file "/etc/fstab"
             dated: Sat Jul 21 11:53:34 2012

(1) Another program may be editing the same file.
    If this is the case, be careful not to end up with two
    different instances of the same file when making changes.
    Quit, or continue with caution.

(2) An edit session for this file crashed.
    If this is the case, use ":recover" or "vim -r /etc/fstab"
    to recover the changes (see ":help recovery").
    If you did this already, delete the swap file "/etc/.fstab.swp"
    to avoid this message.
"/etc/fstab" 16L, 917C
Press ENTER or type command to continue
What should I do? Is ISP Config 3 or related app keeping this open?

Last edited by Eleven Cool; 19th September 2012 at 18:17.
Reply With Quote