[dm-devel] online disk resizing

Hannes Reinecke hare at suse.de
Fri Jul 6 06:19:24 UTC 2007


Roland Mieslinger wrote:
>> -----Original Message-----
>> From: dm-devel-bounces at redhat.com 
>> [mailto:dm-devel-bounces at redhat.com] On Behalf Of Alexander Benaguev
>> Sent: Donnerstag, 5. Juli 2007 16:20
>> To: device-mapper development
>> Subject: Re: [dm-devel] online disk resizing
>>
>> Roland Mieslinger wrote:
>>> Did you get a error from blockdev command?
>> none
>>> Did you stop all I/O to the device? 
>> I can't!=) it's not online resizing, if I should stoping io;(
> 
> That's were i stuck too. 
> You can do it without reboot, but I've found no way to do it online.
> 
As already said: online resizing only works if there are _no_ references
to that device. Ie no device-mapper tables referencing it etc.
Otherwise any block device updates will be rejected by the kernel.

Cheers,

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




More information about the dm-devel mailing list