LWN.net Logo

Fedora and LVM

Fedora and LVM

Posted Nov 2, 2012 23:37 UTC (Fri) by cmccabe (guest, #60281)
In reply to: Fedora and LVM by marcH
Parent article: Fedora and LVM

I didn't realize that LVM could handle this scenario. Thanks for pointing that out.

To be honest, I never like to make changes to the partition table of a disk without rebooting or hotplugging the disk. The kernel sometimes doesn't refresh its view of the partition table (or has this been fixed in newer kernels?). So while online resize of physical (windows) partitions without rebooting may be possible in theory, I'm not sure if I would choose that route for an internal disk.


(Log in to post comments)

Fedora and LVM

Posted Nov 12, 2012 3:01 UTC (Mon) by mfedyk (guest, #55303) [Link]

I believe you can have the partition table reread while one or more of the partitions have mounted filesystems on them in the 3.6 kernel now.

That may be a reason for the attempted change in f18. The ability to extend a partition online without needing lvm.

Fedora and LVM

Posted Nov 12, 2012 3:46 UTC (Mon) by steffen780 (guest, #68142) [Link]

Posted this further above, but this has become a rather lengthy comment thread.. just run partprobe. I've used this with mounted in-use FSs many times without any problems.
Disclaimer: I have no idea if doing this is dangerous, but it has never bitten me.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds