FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 09-01-2011, 09:55 PM
Vivek Goyal
 
Default block: Allow extending partition size online

Hi,

This is a patch to allow extending the partition size online. There are two
patches in the series. One is kernel patch and other is util-linux patch
to add another command "extendpart".

Kernel patch adds another ioctl to increase the size of partition even when
partition is in use. Currently limitation is that after modification to
partition table, one needs to reboot the system/stop using the partition
before size changes become visible. It would be nice to allow changing
the size online, hence this change.

This ioctl changes only kernel view of data structures and does not
touch ondisk data structures. So right way to expand the partition
table would be to fist modify on disk copy using fdisk or so and then
extend partition in kernel so that kernel's table and ondisk table
are in sync.

Any feedback is welcome.

Thanks
Vivek

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

Thread Tools




All times are GMT. The time now is 04:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org