Re: Suse ext2online problem



On May 30, 2:31 pm, Chris Cox <notc...@xxxxxxxxxxxxxx> wrote:
raheel...@xxxxxxxxx wrote:
Hi,

I am having following problem with ext2online utility under Suse

I have volume group (vg0) of size 80 GB
I have partition /dev/vg0/lvopt of size 6GB
I extended this partition to 30 GB via lvextend.
I cannot somehow extend lvopt beyond 16 GB using ext2online utility.

This is what Suse is telling me to do
a) goto single user mode
b) umount /opt
c) lvexend -L 30 GB /dev/vg0/lvopt
d)e2fsck -f /dev/vg0/lvopt
e) resize2fs /dev/vg0/lvopt
f)mount /opt (make sure its 16 GB)
g) reboot to multiuser mode.

I did steps told by suse and they work. However the problem is I
cannot bring all servers to single user mode just to do it. There must
be easier way while the filesystem is mounted.

I don't think so. Ext2/3 resizing is not very good. It's dependence
upon being fsck'd being one of the biggest problems with it. Even then,
a resize of the size you mention could take many, many, many minutes.

Ext2/3 is not easily resized.... and it really doesn't like to be
resized online. If resizing on the fly is important, use reiserfs.

If somebody knows some kind of magic to make ext2/3 resizing work
reasonably well.... please post. But AFAIK, the operation is really
just beyond the architecture of the filesystem.- Hide quoted text -

- Show quoted text -

Suse is moving off od reiserfs in 10.1 (next month)

.



Relevant Pages

  • Re: Ex3 Partition Resize program...help!
    ... > the manual and thought it would resize partition size for me as well as ... > with fdisk after using the program). ... Resize2fs doesn't support ext3 ... to include all of the resized file system. ...
    (alt.os.linux)
  • [opensuse] Re: Problems with resize2s [was: Problems growing a logical volume with LVM tools.]
    ... Model: AMCC 9500S-8 DISK (scsi) ... You should change the partition ... Archiving volume group "array2" metadata. ... The resize2fs tool does not want to grow ...
    (SuSE)
  • Re: Resizing a partition used by LVM
    ... your filesystem online (without having to unmount it) or ... you can use resize2fs to shrink or extend it offline (the ... partition being used as a physical volume in a volume group. ... gparted reports the file system as ...
    (Ubuntu)
  • Re: [SLE] Resizing without reinstall?
    ... It seems this proceedure does not work in Suse 9.1. ... Partition Magic should handle resizing if you're using ext2. ... program called "resize2fs" or "resizereiserfs" for ext2 and reiser. ...
    (SuSE)