[dm-devel] Resizing multipath maps: reload ioctl failed:Invalidargument

Domenico Viggiani dviggiani at tiscali.it
Thu Oct 25 15:41:11 UTC 2007


> -----Original Message-----
> From: dm-devel-bounces at redhat.com 
> [mailto:dm-devel-bounces at redhat.com] On Behalf Of Aaron Bergstralh
> Sent: Thursday, October 25, 2007 5:05 PM
> ...
> If you don't know your new size you can grab it from one of 
> the devices with blockdev: /sbin/blockdev --getsize /dev/sdb 
> 

"/sbin/blockdev --getsize /dev/sdb" gives old size :-( even if I rescanned
SCSI devices with "echo "1" >
/sys/bus/scsi/drivers/sd/<SCSI-ID>/block/device/rescan" for all 4 paths and
verified in /var/log/messages that kernel sees new size.
Thus latest load fails with usual error (ioctl).

--
DV




More information about the dm-devel mailing list