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.