Currently I have LVM on the machine, and I'm doing some test with it. I admit it, I am a newbie with LVM. The fact is that I want to use the rezising capabilities of LVM.
Here some information.
vgdisplay -v --- Volume group --- VG Name vg VG Access read/write VG Status available/resizable VG # 0 MAX LV 256 Cur LV 5 Open LV 5 MAX LV Size 255.99 GB Max PV 256 Cur PV 1 Act PV 1 VG Size 12.20 GB PE Size 4 MB Total PE 3124 Alloc PE / Size 3005 / 11.74 GB Free PE / Size 119 / 476 MB VG UUID gzNp5N-EHZR-VUho-p6DR-FOt2-7vs6-fxr7aS
--- Logical volume --- LV Name /dev/vg/swap VG Name vg LV Write Access read/write LV Status available LV # 1 # open 1 LV Size 256 MB Current LE 64 Allocated LE 64 Allocation next free Read ahead sectors 1024 Block device 58:0
--- Logical volume --- LV Name /dev/vg/usr VG Name vg LV Write Access read/write LV Status available LV # 2 # open 1 LV Size 6 GB Current LE 1536 Allocated LE 1536 Allocation next free Read ahead sectors 1024 Block device 58:1
--- Logical volume --- LV Name /dev/vg/var VG Name vg LV Write Access read/write LV Status available LV # 3 # open 1 LV Size 2 GB Current LE 512 Allocated LE 512 Allocation next free Read ahead sectors 1024 Block device 58:2
--- Logical volume --- LV Name /dev/vg/home VG Name vg LV Write Access read/write LV Status available LV # 4 # open 1 LV Size 1.49 GB Current LE 381 Allocated LE 381 Allocation next free Read ahead sectors 1024 Block device 58:3
--- Logical volume --- LV Name /dev/vg/opt VG Name vg LV Write Access read/write LV Status available LV # 5 # open 1 LV Size 2 GB Current LE 512 Allocated LE 512 Allocation next free Read ahead sectors 1024 Block device 58:4
--- Physical volumes --- PV Name (#) /dev/scsi/host0/bus0/target9/lun0/part3 (1) PV Status available / allocatable Total PE / Free PE 3124 / 119
Now, when I run ext2resize to make the operation, I got it.
ext2resize -v /dev/vg/usr 3g
ext2resize v1.1.17 - 2001/03/18 for EXT2FS 0.5b
ext2resize: ext2_open: fs has unsupported feature(s) enabled: compat 20 incompat 4ext2resize: can't open /dev/vg/usr
What's worng...??
Currently I'm using ext3 filesystem.
Another way to try it is with parted.
Using /dev/vg/usr (parted) resize Partition number? 1 Start? 0 End? [6143.9995]? 2000 Warning: Filesystem was not cleanly unmounted! You should e2fsck. Ignore/Cancel? I Error: Filesystem has incompatible feature enabled (parted)
Is there a way to make the resize (with any tool or some specific tool) without unmount the filesystem...??
What's wrong with parted and with ext2resize...??
Anybody can help me on this...??
Thanks a lot
-------------------- Carlos A. Molina G. [EMAIL PROTECTED]
-- [EMAIL PROTECTED] mailing list