public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jarry <mr.jarry@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] extending /usr partition...
Date: Sun, 22 Mar 2009 11:59:15 +0100	[thread overview]
Message-ID: <49C61A03.6050800@gmail.com> (raw)
In-Reply-To: <200903221033.00497.dirk.heinrichs@online.de>

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.



  reply	other threads:[~2009-03-22 10:58 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21 18:05 [gentoo-user] extending /usr partition Jarry
2009-03-21 18:12 ` Alan McKinnon
2009-03-21 18:20   ` Dirk Heinrichs
2009-03-21 18:39   ` Jarry
2009-03-21 18:53     ` Alan McKinnon
2009-03-21 19:37     ` Daniel Troeder
2009-03-21 20:57     ` Neil Bothwick
2009-03-21 21:13       ` BRM
2009-03-21 23:39         ` Neil Bothwick
2009-03-22  2:46         ` Albert Hopkins
2009-03-22  6:36           ` [gentoo-user] " Francesco Talamona
2009-03-22  7:16             ` Philip Webb
2009-03-22  8:44             ` Alan McKinnon
2009-03-22 11:12             ` Albert Hopkins
2009-03-22 12:53               ` Francesco Talamona
2009-03-22 15:06                 ` Albert Hopkins
2009-03-22  8:42         ` [gentoo-user] " Alan McKinnon
2009-03-23 12:44           ` BRM
2009-03-22  9:32     ` Dirk Heinrichs
2009-03-22 10:59       ` Jarry [this message]
2009-03-22 11:45         ` Alan McKinnon
2009-03-22 10:37     ` Dirk Heinrichs
2009-03-22  6:39   ` [gentoo-user] " Francesco Talamona
2009-03-22  8:32     ` Alan McKinnon
2009-03-21 18:16 ` [gentoo-user] " Dirk Heinrichs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49C61A03.6050800@gmail.com \
    --to=mr.jarry@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox