From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-92193-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1LlLNl-0000gv-28
	for garchives@archives.gentoo.org; Sun, 22 Mar 2009 10:58:21 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3CD41E03B0;
	Sun, 22 Mar 2009 10:58:19 +0000 (UTC)
Received: from mail-fx0-f169.google.com (mail-fx0-f169.google.com [209.85.220.169])
	by pigeon.gentoo.org (Postfix) with ESMTP id D593AE03B0
	for <gentoo-user@lists.gentoo.org>; Sun, 22 Mar 2009 10:58:18 +0000 (UTC)
Received: by fxm17 with SMTP id 17so1252320fxm.34
        for <gentoo-user@lists.gentoo.org>; Sun, 22 Mar 2009 03:58:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from
         :user-agent:mime-version:to:subject:references:in-reply-to
         :content-type:content-transfer-encoding;
        bh=frRUquwvCQYcRnpybN63BBFP6/6G41kC0pI1W7aYd8A=;
        b=Z9aFzU7PxUylbPn3x/ZqwLK9DkP8CKXGxJKZqpdKcDiwMry8pjk2U1bwTVSA0jREct
         lQHc4ctRxwmfgzhtLq8X707tbyQU14eoQ2ue9CcEtS2rsFJqr4/tk+lhqgIfwAKYjeC0
         VwApcDHIaNmsSKSv9VZ5LeRnnlFNi1frYRHWY=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:user-agent:mime-version:to:subject:references
         :in-reply-to:content-type:content-transfer-encoding;
        b=Fb69czDWHniezSEy+nBmY43w9zGj7bDvrS6OWNtsXrsxSLQKBIUZgb+EVEpt4CjF2/
         F0gn4JO7D6+vzfokK+LGJr2JgIU01BjoUrR2ZUqGuikcmFshQ36VUdCNqQ/BAjxkaLTu
         MRR4j9vgA2qeZQMLFUvXtQjLIWkiFFobpakRo=
Received: by 10.86.95.20 with SMTP id s20mr2756037fgb.77.1237719498247;
        Sun, 22 Mar 2009 03:58:18 -0700 (PDT)
Received: from ?192.168.1.20? (62-47-16-244.adsl.highway.telekom.at [62.47.16.244])
        by mx.google.com with ESMTPS id 12sm1592564fgg.12.2009.03.22.03.58.17
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 22 Mar 2009 03:58:17 -0700 (PDT)
Message-ID: <49C61A03.6050800@gmail.com>
Date: Sun, 22 Mar 2009 11:59:15 +0100
From: Jarry <mr.jarry@gmail.com>
User-Agent: Thunderbird 2.0.0.18 (Windows/20081105)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] extending /usr partition...
References: <49C52C76.4030609@gmail.com> <200903212012.57099.alan.mckinnon@gmail.com> <49C5344C.501@gmail.com> <200903221033.00497.dirk.heinrichs@online.de>
In-Reply-To: <200903221033.00497.dirk.heinrichs@online.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 85a071d7-13f1-4d84-8347-0619f43577a9
X-Archives-Hash: c6051b615ea5d604e7dad5f43e1c5adc

Dirk Heinrichs wrote:

>> I remember having lvm2 a few years ago, and despite of that I could not
>> extend any partition, which was being used. What is then lvm2 good for,
>> if I can not extend partitions on-the-fly? I can not unmount /usr before
>> extending...
> 
> The filesystem has to support resizing. A few years ago ext3 only supported 
> offline resize. That has changed meanwhile.

Are you sure? man resize2fs says:

"...The resize2fs program will resize ext2 or ext3 file systems.
  It can be used to enlarge or shrink an unmounted file system
  located on device. If the filesystem is mounted, it can be used
  to expand the size of the mounted filesystem, assuming the kernel
  supports on-line resizing..."

If I understand correctly, you can only extend ext3-partition
with it. But shrinking must be done off-line, on unmounted fs...

Concerning resizing, I was wrong with blaming lvm2 for not being
able to resize fs online. It is really problem of filesystem which
might (or not) support it. I'm using ext3 because it is one of two
linux-supported fs I have some experience with (the other is
reiserfs, and I have some serious doubts about its future)...

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.