From: habibielwa7id on
On Jun 12, 9:42 pm, The Natural Philosopher <t...(a)invalid.invalid>
wrote:
> unruh wrote:
> > On 2010-06-12, The Natural Philosopher <t...(a)invalid.invalid> wrote:
> >> 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 guessing I need to do it in single-user?  Or did I need to boot
> >>> from CD etc?
>
> >>> TIA
> >>> Mark
> >> copy it using a boot CD and/or a second drive to somewhere else, then
> >> reformat. and reinstall.
>
> >> But one has to ask why..on a single user system,..you want separate
> >> partitions at all.
>
> > Because if you ever want to reinstall with an updated system, a single
> > partion is a complete pain in the butt.
>
> doesn't matter how many partitions you have, you still have to work out
> what info to preserve and what to wipe out.
>
> And not a little of it will be in /etc  /var ...as well as /home.
>
> >Set aside 15G for /, /var and
> > /usr, (combined) and then the rest for whatever you want to call it (I
> > call it /local and have links from /home, /usr/local into that
> > directory.)
>
> and then watch ot all get blown away when something big loads in /opt..
> google earth is a good example..
>
> > That way when you reinstall, you do not have to backup and then
> > completely reinstall all of the stuff you ( ratehr than the OS ) has put
> > on the disk. In fact in some ways having 2 / partitions so that you can
> > alternate between them for reinstalls is also good.
>
> If you are that serious put it on a separate disk or separate computer.
>
> Not a separate partition.

If you want to shrink ext3 root logical volume you can do it from a
rescue cd I think only, You can't shrink it while the systems is
running, But of course if you want to enlarge it while it's up you can
do this.