From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Riffard Subject: Re: lvresize fails with "reload ioctl failed: Invalid argument" Date: Mon, 11 Sep 2006 18:45:57 +0200 Message-ID: <450592C5.50905@free.fr> References: <20060910221427.GF13859@agk.surrey.redhat.com> <20060911141916.GC13522@percy.comedia.it> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20060911141916.GC13522@percy.comedia.it> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: dm-devel@redhat.com List-Id: dm-devel.ids Le 11.09.2006 16:19, Luca Berra a =E9crit : > 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=20 >>> 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #145 Sun Sep 10 20:48:49=20 >>> CEST 2006 >> >> >>> Is it a known problem ?=20 >> >> 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 sug= gested. ~~ laurent