[linux-lvm] lvcreate gives 'device-mapper: reload ioctl failed: Invalid argument'

Alasdair G Kergon agk at redhat.com
Tue Nov 14 18:47:12 UTC 2006

On Tue, Nov 14, 2006 at 01:43:07PM -0500, Matt McHenry wrote:
> 1) remove the unused sda12 pv; remove the sda12 partition; delete and
> re-create the sda11 partition to take up the space formerly occupied by
> the sda12 partition

Use vgreduce to remove sda12 from the volume group.
Then edit the partition table to put things back i.e. delete 12 and
extend 11, then reboot.
(You may have some data corruption from what got written to sda12.)
agk at redhat.com

More information about the linux-lvm mailing list