* bdev resize
@ 2005-06-07 10:45 Christophe Varoqui
0 siblings, 0 replies; only message in thread
From: Christophe Varoqui @ 2005-06-07 10:45 UTC (permalink / raw)
To: linux-kernel
Hello,
it is now a common feature for modern storage controlers to allow online volume resizing.
The Linux kernel SCSI subsystem seems to handle this pretty well through /sys/block/*/device/rescan :
# cat /sys/block/sda/size
41943040
<reconfigure the volume>
# echo 1>/sys/block/sda/device/rescan
# cat /sys/block/sda/size
52428800
# dmseg|tail -2
SCSI device sda: 52428800 512-byte hdwr sectors (26844 MB)
SCSI device sda: drive cache: write through
Still there's something going wrong : in the previous sample, sda had a mounted filesystem on it and BLKGETSIZE still reports the previous size.
If I umount the fs, this ioctl gives the new size, but mount -o remount does not work the same.
Hence, fully online resize is not possible.
Does someone is aware of this, and is it being worked on ?
Best regards,
cvaroqui
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-07 10:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-07 10:45 bdev resize Christophe Varoqui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®