[linux-lvm] Testing LVM2

Nils Juergens nils at muon.de
Tue Jul 15 10:42:02 UTC 2003


On Tue, 15.07.03, Alasdair G Kergon <agk at uk.sistina.com> wrote:
> On Mon, Jul 14, 2003 at 12:21:49AM +0000, Nils Juergens wrote:
> > configure --with-kernel-dir=/usr/src/linux-2.5.75
> 
> Does ./configure *without* the --with-kernel-dir bit work any better?

In fact, it does. But using lvm2 does not.

I created a vg with on pv and one lv named "test". Then i create ext3
filesystem on it and mount it. Then i try to create a snapshot of this lv:

root at guldukat:~# lvcreate -s -n snap /dev/vol/test  -L 50M
Rounding up size to full physical extent 52.00 MB
device-mapper ioctl cmd 2 failed: Invalid argument
Couldn't load device 'vol-snap'.
Problem reactivating origin test

dmesg says:

device-mapper: ioctl interface mismatch: kernel(1.0.6), user(4.0.0), cmd(0)
device-mapper: ioctl interface mismatch: kernel(1.0.6), user(4.0.0), cmd(0)
device-mapper: internal error adding target to table
device-mapper: ioctl interface mismatch: kernel(1.0.6), user(4.0.0), cmd(0)
device-mapper: ioctl interface mismatch: kernel(1.0.6), user(4.0.0), cmd(0)
kjournald starting.  Commit interval 5 seconds
EXT3 FS on dm-2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
device-mapper: ioctl interface mismatch: kernel(1.0.6), user(4.0.0), cmd(0)
device-mapper: internal error adding target to table

so i guess i have to update the device-mapper in the kernel.

thanks,

Nils
	
-- 
Nils Juergens  | nils at muon.de | icq 7090774
Having problems sending big files over the net?
Try out Efisto (http://efisto.rnbhq.org).




More information about the linux-lvm mailing list