All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Riffard <laurent.riffard@free.fr>
To: dm-devel@redhat.com, Luca Berra <bluca@comedia.it>
Subject: Re: lvresize fails with "reload ioctl failed: Invalid argument"
Date: Mon, 11 Sep 2006 20:23:25 +0200	[thread overview]
Message-ID: <4505A99D.3040604@free.fr> (raw)
In-Reply-To: <20060911170527.GE13522@percy.comedia.it>

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@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@calimero ~]# rpm -q lvm2 libdevmapper1.02
>> lvm2-2.02.09-1mdv2007.0
>> libdevmapper1.02-1.02.09-1mdv2007.0
>> [root@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@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@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

  reply	other threads:[~2006-09-11 18:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-10 21:38 lvresize fails with "reload ioctl failed: Invalid argument" Laurent Riffard
2006-09-10 22:14 ` Alasdair G Kergon
2006-09-11 14:19   ` Luca Berra
2006-09-11 16:45     ` Laurent Riffard
2006-09-11 17:05       ` Luca Berra
2006-09-11 18:23         ` Laurent Riffard [this message]
2006-09-11 20:14         ` Laurent Riffard
2006-09-12  0:19           ` Jun'ichi Nomura
2006-09-12 20:57             ` Laurent Riffard
2006-09-11 17:18   ` Laurent Riffard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4505A99D.3040604@free.fr \
    --to=laurent.riffard@free.fr \
    --cc=bluca@comedia.it \
    --cc=dm-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.