Skip to contentSkip to conversation

LVM2: Problems with "lvextend" on device with mounted filesystem

linux-lvm Piotr Kaczuba 2 participants 2 messages Dec 26, 2003

lore
Share & tools
lore
#0 lore raw

I can confirm this problem; I'm also not able to resize online a reiserfs filesystem since i've upgraded to kernel 2.6 and lvm2. resize_reiserfs says "run reiserfsck --check first" but reiserfsck detects no problems. Offline resizing works without any complaints. Lvm and reiserfs partitions were set up with linux 2.4 and lvm1 and back then online resizing was no big deal, but then I migrated to 2.6 and lvm2 and now I have always to unmount the partition first before resizing the filesystem wich is really annoying. lvmextend itself seems to do its job well, but then again only kernel and lvm have changed before the trouble has started. I didn't find any hints on the web about this issue but this thread on linux-lvm.

Piotr Kaczuba

#1 lore raw

Am Fr, den 26.12.2003 schrieb Piotr Kaczuba um 22:44:

Quoted 3 lines

I can confirm this problem; I'm also not able to resize online a reiserfs filesystem since i've upgraded to kernel 2.6 and lvm2. [...]

Known problem in vanilla 2.6, fixed in 2.6.0-mm1. The specific fix is:

http://people.sistina.com/~thornber/patches/2.6-stable/2.6.0-test10/2.6.0-test10-dm1/00001.patch

(the other patches in that directory don't hurt either, that's why it's called stable ;))

--
Christophe Saout <[email protected]>
Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html