public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rddunlap@osdl.org>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Andy <genanr@emsphone.com>, linux-kernel@vger.kernel.org
Subject: Re: Rereading disk geometry without reboot
Date: Tue, 07 Dec 2004 07:16:58 -0800	[thread overview]
Message-ID: <41B5C96A.5060909@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.53.0412071240300.18630@yvahk01.tjqt.qr>

Jan Engelhardt wrote:
>>I am using linux kernel 2.6.9 on a san.  I have file systems on
> 
> 
> (What's a SAN?)
> 
> 
>>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)?
> 
> 
> The `fdisk` tool will spit out an ioctl() to make the kernel reread the
> partition table (on normal computers, don't know about or what SAN). No need to
> reboot there at least.

There's 'blockdev --rereadpt' also, but neither of these work
on a mounted filesystem afaik.

-- 
~Randy

  reply	other threads:[~2004-12-07 15:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06 20:23 Rereading disk geometry without reboot Andy
2004-12-07 11:41 ` Jan Engelhardt
2004-12-07 15:16   ` Randy.Dunlap [this message]
2004-12-07 17:23     ` Jan Engelhardt
2004-12-07 16:37 ` Mark Haverkamp
2004-12-09 15:45   ` Andy
2004-12-07 17:28 ` Robin Holt
2004-12-07 21:12   ` Miquel van Smoorenburg

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=41B5C96A.5060909@osdl.org \
    --to=rddunlap@osdl.org \
    --cc=genanr@emsphone.com \
    --cc=jengelh@linux01.gwdg.de \
    --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