[linux-lvm] Total free space using added VGs and LVs

Lou Arnold larnolda1 at gmail.com
Mon Oct 26 15:20:11 UTC 2009


Hat do you mean by:"4) switch root (remount won't be good enough since it
changed "underfoot")"
Can you please explain?


On Sun, Oct 25, 2009 at 12:17 PM, Stuart D. Gathman <stuart at bmsi.com> wrote:

> On Sun, 25 Oct 2009, Stuart D. Gathman wrote:
>
> > > Ext3 does support shrinking. I've been doing it as far back as 2005.
> >
> > But not while mounted.  (AFAIK)
>
> Poor man's approach:
>
> 1) single user mode
> 2) remount root readonly
> 3) run resize2fs - force it to proceed despite (warranted) dire warnings
> 4) switch root (remount won't be good enough since it changed "underfoot")
>
> Of course, while technically "mounted", it might as well be unmounted
> since you can't keep running applications.
>
> --
>              Stuart D. Gathman <stuart at bmsi.com>
>    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
> "Confutatis maledictis, flammis acribus addictis" - background song for
> a Microsoft sponsored "Where do you want to go from here?" commercial.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20091026/a4db1e4c/attachment.htm>


More information about the linux-lvm mailing list