mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Haverkamp <markh@osdl.org>
To: Andy <genanr@emsphone.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Rereading disk geometry without reboot
Date: Tue, 07 Dec 2004 08:37:07 -0800	[thread overview]
Message-ID: <1102437427.23136.3.camel@markh1.pdx.osdl.net> (raw)
In-Reply-To: <20041206202356.GA5866@thumper2>

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>


  parent reply	other threads:[~2004-12-07 16:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-06 20:23 Andy
2004-12-07 11:41 ` Jan Engelhardt
2004-12-07 15:16   ` Randy.Dunlap
2004-12-07 17:23     ` Jan Engelhardt
2004-12-07 16:37 ` Mark Haverkamp [this message]
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=1102437427.23136.3.camel@markh1.pdx.osdl.net \
    --to=markh@osdl.org \
    --cc=genanr@emsphone.com \
    --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®