Re: How to shrink root Logical Volume
- From: Aragorn <aragorn@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 11 Jun 2010 17:37:02 +0200
On Friday 11 June 2010 13:39 in comp.os.linux.misc, somebody identifying
as Mister B wrote...
I'm using RHEL 4.5, which has been loaded as one large root Logical
Volume. I'd like to shrink the logical volume, then create some new
logical volumes. How can I do that?
I'm afraid that you cannot shrink a logical volume once it has been
created. Logical volumes can be expanded, but not shrunk. In addition
to that, the type of the filesystem used on any partition or logical
volume also may have limitations to what is possible in terms of
resizing.
I'm guessing I need to do it in single-user? Or did I need to boot
from CD etc?
The best course of action, in my humble opinion, would be to back up any
important data you may have under your "/home", and I would also
include everything under "/etc" for good measure. Back it up to
whatever external media you have available, and then reinstall the
system with the partitioning and LVM layout you want, and restore your
backups.
If you've made important changes to any of the configuration files
in "/etc", then you can restore the backups of the configuration files
you've changed - which you will need to do in single-user mode, or
better still, from a Live CD. You don't need to be in single-user mode
to restore the backups of "/home", but it is best not to be logged in
as an unprivileged user when you do that.
--
*Aragorn*
(registered GNU/Linux user #223157)
.
- Follow-Ups:
- Re: How to shrink root Logical Volume
- From: The Natural Philosopher
- Re: How to shrink root Logical Volume
- From: Chris Davies
- Re: How to shrink root Logical Volume
- From: Pascal Hambourg
- Re: How to shrink root Logical Volume
- References:
- How to shrink root Logical Volume
- From: Mister B
- How to shrink root Logical Volume
- Prev by Date: Re: How to shrink root Logical Volume
- Next by Date: GoogleEarth and CentOS glibc problem
- Previous by thread: Re: How to shrink root Logical Volume
- Next by thread: Re: How to shrink root Logical Volume
- Index(es):
Relevant Pages
|