All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: James Harper <james.harper@bendigoit.com.au>
Cc: xen-devel@lists.xensource.com
Subject: Re: vscsi and /dev/tape/by-path
Date: Tue, 11 Jan 2011 17:58:08 -0500	[thread overview]
Message-ID: <20110111225808.GA15382@dumpdata.com> (raw)
In-Reply-To: <AEC6C66638C05B468B556EA548C1A77D01BB8F3F@trantor>

On Wed, Jan 12, 2011 at 09:27:24AM +1100, James Harper wrote:
> > > For disk, /dev/disk/by-uuid might be a better option, although it
> > > depends on your requirements. For tape, my system /dev/tape/by-path
> is
> > > the only available option on my system, although I could probably
> create
> > > a /dev/tape/by-id path easily enough using the serial number or
> > > something. by-id would allow the device to be moved across different
> > > busses and still remain the same, but obviously breaks when a tape
> drive
> > > fails and has to be replaced, which happens fairly regularly.
> > 
> > So could the fix you are thinking of, check both of those places?
> > What would the syntax end up for the vSCSI? I presume not SCSI ID
> > but now just the UUID (or perhaps the SCSI inq S/N? ?)
> > 
> 
> Well all of those entries are just symlinks back to the /dev/stX or
> /dev/sdX etc device, do I don't think we need to do anything else other
> than follow the symlinks. I used os.realpath() (I think that was it) and
> it works fine. I was just wondering if that was the right solution.

I think yes, but we should get the input from the authors of the vscsi
backend/frontend ...

      reply	other threads:[~2011-01-11 22:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-11  2:41 vscsi and /dev/tape/by-path James Harper
2011-01-11 17:37 ` Konrad Rzeszutek Wilk
2011-01-11 21:00   ` James Harper
2011-01-11 22:00     ` Konrad Rzeszutek Wilk
2011-01-11 22:27       ` James Harper
2011-01-11 22:58         ` Konrad Rzeszutek Wilk [this message]

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=20110111225808.GA15382@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=james.harper@bendigoit.com.au \
    --cc=xen-devel@lists.xensource.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.