Linux LVM users
 help / color / mirror / Atom feed
From: "Andi Kleen" <ak@suse.de>
To: David Brower <dbrower@us.oracle.com>
Cc: linux-lvm@msede.com
Subject: Re: [linux-lvm] current lvm function questions
Date: Wed, 27 Sep 2000 12:28:10 +0200	[thread overview]
Message-ID: <20000927122810.C31723@gruyere.muc.suse.de> (raw)
In-Reply-To: <39D14B6C.4C9F6C26@us.oracle.com>; from dbrower@us.oracle.com on Tue, Sep 26, 2000 at 06:20:44PM -0700

On Tue, Sep 26, 2000 at 06:20:44PM -0700, David Brower wrote:
> Area 1:  Stable device naming.
> 
> Is there a way in Linux to get a stable name for a
> disk that survive reconfiguration and discovery 
> randomization?

Yes, there are programs to create SysV style LUN device nodes
after the SCSI scan.  Look for scsidev or scsidev2.

> It seems to me that lvm already slaps a label on the 
> disk when it does pvcreate.  What i'm not sure of is
> whether the label used is (a) globally unique and suitable
> for stable device naming, or (b) tied to the device it
> happened to be on at the time the pvcreate was issued.

LVM uses an UUID iirc. ext2 does too BTW (and newer mount even
supports mounting by UUID without lvm). An UUID aims to be globally unique.
 
> Can lvm volumes be accessed as raw devices?  If so, how?
> Is there /dev/rlvname?

Sure. Usually it is a /dev/VG/LVname though. Just bind a raw device
to them.

-Andi

  parent reply	other threads:[~2000-09-27 10:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-27  1:20 [linux-lvm] current lvm function questions David Brower
2000-09-27  2:24 ` Eric Whiting
2000-09-27 10:28 ` Andi Kleen [this message]
2000-09-28 16:26   ` Christoph Hellwig
2000-09-28 16:32 ` Christoph Hellwig

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=20000927122810.C31723@gruyere.muc.suse.de \
    --to=ak@suse.de \
    --cc=dbrower@us.oracle.com \
    --cc=linux-lvm@msede.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox