From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx03.extmail.prod.ext.phx2.redhat.com [10.5.110.7]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9QFKVw6015521 for ; Mon, 26 Oct 2009 11:20:31 -0400 Received: from mail-gx0-f226.google.com (mail-gx0-f226.google.com [209.85.217.226]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9QFKCmC024622 for ; Mon, 26 Oct 2009 11:20:13 -0400 Received: by gxk26 with SMTP id 26so9912635gxk.11 for ; Mon, 26 Oct 2009 08:20:12 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <4AE20E43.2060006@worldspice.net> <20091024000642.GA30974@bdmcc-us.com> <29ae894c0910241004k327b0ff8w6577b83af3701753@mail.gmail.com> <20091025084610.GA737@maude.comedia.it> Date: Mon, 26 Oct 2009 08:20:11 -0700 Message-ID: Subject: Re: [linux-lvm] Total free space using added VGs and LVs From: Lou Arnold Content-Type: multipart/alternative; boundary=001485f80d6a0edb9d0476d81904 Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: LVM general discussion and development --001485f80d6a0edb9d0476d81904 Content-Type: text/plain; charset=ISO-8859-1 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 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 > 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@redhat.com > https://www.redhat.com/mailman/listinfo/linux-lvm > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/ > --001485f80d6a0edb9d0476d81904 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hat do you mean by:"4) switch root (remount won't be good eno= ugh since it changed "underfoot")"
Can you please explain?


On Sun, Oct 25, 2009 at 12:17 PM, Stuart D. Gath= man <stuart@bmsi.co= m> wrote:
On Sun, 25 Oct 2009, Stuart D. Gathman wrote:

>= > Ext3 does support shrinking. I've been doing it as far back as 20= 05.
>
> But not while mounted. =A0(AFAIK)

Poor man= 's approach:

1) single user mode
2) remount root readonly
3) run resize2fs - f= orce it to proceed despite (warranted) dire warnings
4) switch root (rem= ount won't be good enough since it changed "underfoot")

Of course, while technically "mounted", it might as well be u= nmounted
since you can't keep running applications.

--
=A0 =A0 =A0 =A0 =A0 =A0 =A0Stuart D. Gathman &l= t;stuart@bmsi.com>
=A0 =A0Busi= ness Management Systems Inc. =A0Phone: 703 591-0911 Fax: 703 591-6154
&q= uot;Confutatis maledictis, flammis acribus addictis" - background song= for
a Microsoft sponsored "Where do you want to go from here?" commer= cial.

_______________________________________________
linux-lvm m= ailing list
linux-lvm@redhat.com=
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM = HOW-TO at ht= tp://tldp.org/HOWTO/LVM-HOWTO/

--001485f80d6a0edb9d0476d81904--