public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* LUN resizing
@ 2003-11-25  9:34 Stefan Voelkel
  2003-11-25 15:43 ` James Bottomley
  0 siblings, 1 reply; 10+ messages in thread
From: Stefan Voelkel @ 2003-11-25  9:34 UTC (permalink / raw)
  To: linux-scsi

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

Hello,

a hypothetical question:

I have a Linux box connected to a Fibre SAN. Now I'd like to resize one
LUN and tell my Linux box what happened. In other words can I _live_
resize a SCSI disk?

        [ let's not talk about which filesystems are capable of live
        resizing :) ]
        
      * Is this possible at all, eg does the SCSI Standard include
        something to enable a device to tell the host about the changed
        geometry (SENSE DATA, ...) ?
      * Is it possible with Linux, eg does the block layer/scsi layer
        support it? any problems with the partition code?
      * If there are problems, are they solveable, any plans on working
        on them or is already someone working on this?

Two options come to my mind:
      * LVM, just define a new LUN, add it to the group, and resize
      * echo remove-single-device ... > /proc/scsi/scsi (would not be
        life)


regards
	Stefan
-- 
--------------------------------------------------------------------
Stefan Völkel                            stefan.voelkel@millenux.com
Millenux GmbH                              mobile: +49.170.79177.17
Lilienthalstraße 2                          phone: +49.711.88770.300
70825 Stuttgart-Korntal                       fax: +49.711.88770.349
     -= linux without limits -=- http://linux.zSeries.org/ =-

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: LUN resizing
@ 2003-11-28 22:29 christophe varoqui
  0 siblings, 0 replies; 10+ messages in thread
From: christophe varoqui @ 2003-11-28 22:29 UTC (permalink / raw)
  To: linux-scsi



> The problem you are trying to solve has three components:
> 
> 1. Filesystem resize
> 2. parition resize
> 3. SCSI device resize
> 
> 1 and 3 are solved (for a subset of fs).  A solution to 2 is to use the
> Linux device mapper (a mini volume manager) to replace the use of
> gendisk partitions.  Then your entire stack constructed this way will be
> resizable.

Yes, this idea is floating around :
See the dmpartx post covered at http://lwn.net/Articles/13958/

May be someone (Andries B) will get something like that in initramfs for
2.7 ...

regards,
cvaroqui


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-11-28 22:29 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-25  9:34 LUN resizing Stefan Voelkel
2003-11-25 15:43 ` James Bottomley
2003-11-25 16:11   ` James Bottomley
2003-11-26  9:45     ` Stefan Voelkel
2003-11-26  9:48       ` Christoph Hellwig
2003-11-28 10:08         ` Stefan Voelkel
2003-11-28 10:23           ` Christoph Hellwig
2003-11-28 16:18           ` James Bottomley
2003-11-25 19:34   ` Lincoln Dale
  -- strict thread matches above, loose matches on Subject: below --
2003-11-28 22:29 christophe varoqui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox