Messages in this thread | | | Subject | Re: Rereading disk geometry without reboot | From | Mark Haverkamp <> | Date | Tue, 07 Dec 2004 08:37:07 -0800 |
| |
On Mon, 2004-12-06 at 14:23 -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)?
You can re-scan a scsi device via sysfs. You can, for example,
echo 1 > /sys/block/sdc/device/rescan
to rescan that device.
Mark.
> > Thanks, > > Andy > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Mark Haverkamp <markh@osdl.org>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |