On Tue, Jan 13, 2009 at 07:53:02PM +0100, Dirk Heinrichs wrote: > Am Dienstag, 13. Januar 2009 19:31:33 schrieb John J. Foster: > > In trying to extend a volume I get the following error: > > > > mockingbird ~ # lvextend -v -L400G /dev/vg00/data > > Finding volume group vg00 > > Archiving volume group "vg00" metadata (seqno 22). > > Extending logical volume data to 400.00 GB > > Creating volume group backup "/etc/lvm/backup/vg00" (seqno 23). > > Found volume group "vg00" > > Found volume group "vg00" > > Loading vg00-data table > > device-mapper: reload ioctl failed: Invalid argument > > Failed to suspend data > > > > The following show in /var/log/messages: > > > > Jan 13 11:23:30 mockingbird device-mapper: table: device 8:5 too small > > for target > > Try "-l+100%FREE" instead of "-L400G". > mockingbird ~ # lvextend -v -l+100%FREE /dev/vg00/data Finding volume group vg00 Archiving volume group "vg00" metadata (seqno 22). Extending logical volume data to 465.00 GB Creating volume group backup "/etc/lvm/backup/vg00" (seqno 23). Found volume group "vg00" Found volume group "vg00" Loading vg00-data table device-mapper: reload ioctl failed: Invalid argument Failed to suspend data
Thanks, festus