Re: How does a LUN map to a disk or a partition

From: hrishy <hrishys_at_yahoo.co.uk>
Date: Fri, 10 Jul 2009 08:32:01 +0000 (GMT)
Message-ID: <901717.17475.qm_at_web23706.mail.ird.yahoo.com>



Hi David
 

Thanks for a quik response do you mean to say LUN0 would map to /dev/sdb ?
 

regards
Hrishy
  • On Fri, 10/7/09, David Ballester <ballester.david_at_gmail.com> wrote:

From: David Ballester <ballester.david_at_gmail.com> Subject: Re: How does a LUN map to a disk or a partition To: hrishys_at_yahoo.co.uk
Cc: oracle-l_at_freelists.org
Date: Friday, 10 July, 2009, 9:29 AM

2009/7/10 hrishy <hrishys_at_yahoo.co.uk>

Hi
 

I would like to know how does a LUN map to a partition from a storage and host point of view ?
 

how do i say /dev/sdb1 maps to LUN0 ?
 

regards
Hrishy

You can't. LUN0 will be seen as /dev/<whole_disk-aka_LUN> not as a partition of this block device. From storage point of view, several ways exists as several providers ( HP, IBM, EMC... ) develop the storage environment.

But, at least from GNU/Linux ( kernel 2.6 & utils ) if the storage driver provider doesn't do it, you can assing the physical partition to a specified device partition path using udev rules ( In fact, if you don't modify nothing, udev will apply standard set of rules ).

You can see the actual partition table on the system in /proc/partitions

D.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Jul 10 2009 - 03:32:01 CDT

Original text of this message