Re: online disk resizing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roland Mieslinger wrote:
> I did the same with HP MSA in the past, but without dm involved.
> 
> You can use "blockdev --rereadpt <blockdevice>" to make the the kernel
> recognise the new disk size (geometery). The nasty thing is that you
> have to stop all I/O to the blocdevice. 
> 
You've not only to stop all I/O, but also have to make sure that on-one
claims the device (ie no open files, not mounted, no device-mapper tables
etc.). Otherwise will the kernel reject any size updates.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@xxxxxxx			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux