All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Caulfield <caulfield@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] disk naming
Date: Fri Jan  3 13:20:01 2003	[thread overview]
Message-ID: <20030103192045.GI18613@tykepenguin.com> (raw)
In-Reply-To: <1023440000.1041619125@[192.168.200.4]>

On Fri, Jan 03, 2003 at 12:38:45PM -0600, Steven Lembark wrote:
> 
> 
> -- Matt Schillinger <mschilli@vss.fsi.com>
> 
> >If i'm NOT using devfs, can i reliably (assuming that disks are on the
> >same scsi id/lun/host channel) use lvm?
> >
> >Scenario:
> >
> >LV is created with device /dev/sdd, which is on host channel 2
> >
> >Machine is shutdown, and a new raid is connected on host channel 1, with
> >one disk.
> >
> >Machine is restarted, and the 1 disk on the host channel 1 raid takes
> >/dev/sdd. The original disk is now /dev/sde.
> >
> >Will LVM find the correct disk?
> 
> Nope. Main issue there is that the first disk device
> encountered by the kernel will be /dev/sda. Period.
 

NOPE, NOPE, NOPE.

LVM writes a UUID to each disk and uses that as the PV identifier. it does NOT
matter what it is called to the kernel. (as long as the device actually visible 
to the code).*

I regularly plug and unplug disks around LVM systems and it works just fine.

patrick

* by which I mean it's a "known device" and not some new device that hasn't been
coded for in LVM (eg i2o block devs). This particular restriction is lifted in LVM2.

  reply	other threads:[~2003-01-03 13:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 10:02 [linux-lvm] disk naming Matt Schillinger
2003-01-03 10:45 ` Goetz Bock
2003-01-03 10:59   ` Matt Schillinger
2003-01-03 11:03     ` Patrick Caulfield
2003-01-03 12:53       ` Matt Schillinger
2003-01-03 13:12         ` Steven Lembark
2003-01-03 12:30     ` Steven Lembark
2003-01-03 13:20       ` Patrick Caulfield [this message]
2003-01-04  1:09         ` Steven Lembark
2003-01-04  3:59           ` Patrick Caulfield
2003-01-04 12:27             ` Steven Lembark
2003-01-04 12:40               ` Theo Van Dinter
2003-01-04 13:55               ` Patrick Caulfield
2003-01-08 10:28                 ` Matt Schillinger
2003-01-03 12:21 ` Steven Lembark

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=20030103192045.GI18613@tykepenguin.com \
    --to=caulfield@sistina.com \
    --cc=linux-lvm@sistina.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.