mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christophe Varoqui <christophe.varoqui@free.fr>
To: linux-kernel@vger.kernel.org
Subject: bdev resize
Date: Tue, 7 Jun 2005 12:45:45 +0200	[thread overview]
Message-ID: <20050607104545.GA5286@averon.dyndns.org> (raw)

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

                 reply	other threads:[~2005-06-07 10:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050607104545.GA5286@averon.dyndns.org \
    --to=christophe.varoqui@free.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®