[dm-devel] device mapper and resizing devices

christophe varoqui christophe.varoqui at free.fr
Tue Mar 1 22:20:43 UTC 2005


On Tue, 2005-03-01 at 15:03 -0600, Andy wrote:
>I am using dm-multipath on non-partitioned (xfs) devices on a SAN.  If I
>resize the device, and rescan my path devices (i.e rescan /dev/sda,
>/dev/sdb, /dev/sdc,/dev/sdd (all the same path)) the kernel sees the new
>size of the individual devices, but the /sys/block/dm-0 device is still the
>old size.  I believe this is the reason why I cannot grow my xfs filesystem
>without doing a reboot so that the dm device will have the new size. I'd
>like to avoid unmounting and rebooting to resize the device.  I haven't
>played with lvm enough to feel comfortable using it.  Is there any way to
>get the dm device to be the proper size, or is this a bug, or a feature that
>needs further discussion?
>

Runing "multipath" again, after rescans, should pick up the size change
and adjust the device map.

If not please report.

Regards,
-- 
christophe varoqui <christophe.varoqui at free.fr>




More information about the dm-devel mailing list