[dm-devel] Re: lvresize fails with "reload ioctl failed: Invalid argument"
Laurent Riffard
laurent.riffard at free.fr
Mon Sep 11 18:23:25 UTC 2006
Le 11.09.2006 19:05, Luca Berra a écrit :
> On Mon, Sep 11, 2006 at 06:45:57PM +0200, Laurent Riffard wrote:
>> Le 11.09.2006 16:19, Luca Berra a écrit :
>>> On Sun, Sep 10, 2006 at 11:14:27PM +0100, Alasdair G Kergon wrote:
>>>> On Sun, Sep 10, 2006 at 11:38:27PM +0200, Laurent Riffard wrote:
>>>>> device-mapper: reload ioctl failed: Invalid argument
>>>>
>>>>> LVM version: 2.02.06 (2006-05-12)
>>>>> Library version: 1.02.09 (2006-08-15)
>>>>> Driver version: 4.8.0
>>>>> Linux version 2.6.18-rc6-mm1 (laurent at calimero.antadix) (gcc
>>>>> version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #145 Sun Sep 10
>>>>> 20:48:49 CEST 2006
>>>>
>>>>
>>>>> Is it a known problem ?
>>>>
>>>> Not sure, but try updating lvm2 version to the same date as the
>>>> library version (at least 2.02.08 15th August).
>>>>
>>> Laurent, can you please try the packages from:
>>> http://kenobi.mandriva.com/~bluca/
>>
>> No luck!
>>
>> [root at calimero ~]# rpm -q lvm2 libdevmapper1.02
>> lvm2-2.02.09-1mdv2007.0
>> libdevmapper1.02-1.02.09-1mdv2007.0
>> [root at calimero ~]# lvm2 version
>> LVM version: 2.02.09 (2006-08-17)
>> Library version: 1.02.09 (2006-08-15)
>> Driver version: 4.8.0
>> [root at calimero ~]# lvresize --extents +1 /dev/vglinux1/lvswap2
>> Extending logical volume lvswap2 to 1,00 GB
>> device-mapper: reload ioctl failed: Argument invalide
>> Failed to suspend lvswap2
>>
>> Will try vanilla to compile and test vanilla lvm2 2.02.08 as Alasdair
>> suggested.
>
> works for me with 2.6.17-4mdv kernel
> maybe something related to your kernel version?
Well, I started to fail with Mandriva 2007 beta 2 and 3. Beta 3's
kernel was kernel-2.6.17.2mdv-1-1mdv2007.0. So I'm not sure the
kernel version has impact.
I planned to update to mandriva-free-2007 this evening. I'll keep
you informed.
Another point is that I have some striped LV. Could it be related ?
[root at calimero ~]# lvdisplay -m /dev/vglinux1/lvswap
--- Logical volume ---
LV Name /dev/vglinux1/lvswap
VG Name vglinux1
LV UUID 7rwfvs-tvQ4-gnT2-afC1-7yQA-PGMw-m0Zvac
LV Write Access read/write
LV Status available
# open 1
LV Size 1,00 GB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 254:8
--- Segments ---
Logical extent 0 to 255:
Type striped
Stripes 2
Stripe size 64 KB
Stripe 0:
Physical volume /dev/sdb7
Physical extents 1553 to 1680
Stripe 1:
Physical volume /dev/sda4
Physical extents 4424 to 4551
Should I try to compile and try a vanilla Device-mapper from
http://sources.redhat.com/dm/ ?
~~
laurent
More information about the dm-devel
mailing list