[linux-lvm] LVM2: Problems with "lvextend" on device with mounted filesystem

Wolfgang Weisselberg uzx87lvfmukwc001 at sneakemail.com
Mon Dec 1 07:57:04 UTC 2003


Uli Heller wrote 90 lines:

[resorted, cut, mangled ...]
> 1) Create a new logical volume:
> 2) Display this new LV:
> 2.5)     Create and mount a file system on the LV:
> 3) Try to write right behind the end of the LV:
> ~   --> This error message is OK
> 4) Extend the LV:
> 5) Repeat step 3
[which generates an error]

> 3,4,5)   Like above **BUT** step 5 now produces the same
> ~   error message as step 3! You have to "umount /mnt"
> ~   in order to be able to access the enlarged portion
> ~   of the LV.

You never told reiserfs that it's partition had increased.  AFAIK
you can either remount it with the correct parameters or use some
tool to alert it.

-Wolfgang




More information about the linux-lvm mailing list