linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: MShetty <mranalini.shetty@patni.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
	linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Addressing when lun spans disks
Date: Mon, 21 Oct 2002 12:31:38 -0400	[thread overview]
Message-ID: <20021021163138.GD28914@redhat.com> (raw)
In-Reply-To: <3DB42408.60E2C71D@patni.com>

On Mon, Oct 21, 2002 at 09:28:00PM +0530, MShetty wrote:
> Hi,
> 
> What exactly is the value of 'target id' when my lun spans multiple
> disks ?? I am not able to understand how the physical disk address would
> be obtained when a lun spans multiple disks

If you are using an external drive chassis that turns multiple disks into 
a single lun, then the target id is whatever the target id for the lun is.  
The drives that are actually behind the logical lun are *never* exposed to 
the scsi layer.  If you are talking about using the md raid code to map 
several disks into a single md device, then it's the job of the md code to 
remap all incoming requests to point to the proper hard disk, and in the 
process of doing so it rewrites the target id, the lun, and the block 
address to the correct values for the underlying physical disk.

-- 
  Doug Ledford <dledford@redhat.com>     919-754-3700 x44233
         Red Hat, Inc. 
         1801 Varsity Dr.
         Raleigh, NC 27606
  

  reply	other threads:[~2002-10-21 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-21 15:58 Addressing when lun spans disks MShetty
2002-10-21 16:31 ` Doug Ledford [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-10-21 17:24 Bryan Henderson

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=20021021163138.GD28914@redhat.com \
    --to=dledford@redhat.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mranalini.shetty@patni.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;
as well as URLs for NNTP newsgroup(s).