Re: Rereading disk geometry without reboot

From: Miquel van Smoorenburg
Date: Tue Dec 07 2004 - 16:16:09 EST


In article <20041207172812.GD11423@xxxxxxxxxxxxxxxxxxxxxxxxx>,
Robin Holt <holt@xxxxxxx> wrote:
>On Mon, Dec 06, 2004 at 02:23:56PM -0600, Andy wrote:
>> I am using linux kernel 2.6.9 on a san. I have file systems on
>> non-partitioned disks. I can resize the disk on the SAN, reboot and grow
>> the XFS file system those disks. What I would like to avoid rebooting or
>> even unmounting the filesystem if possible.
>>
>> Is there any way to get the kernel to re-read the disk geometry and change
>> the information it holds without rebooting or reloading the module (which is
>> as bad as a reboot in my case)?
>
>Does anybody know if lvm can do this?

Yes, with LVM and XFS you can grow a logical volume and resize XFS
to fit without taking the filesytem offline.

Mike.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/