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

  • From: hrishy <hrishys@xxxxxxxxxxx>
  • To: David Ballester <ballester.david@xxxxxxxxx>
  • Date: Fri, 10 Jul 2009 08:32:01 +0000 (GMT)

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@xxxxxxxxx> wrote:


From: David Ballester <ballester.david@xxxxxxxxx>
Subject: Re: How does a LUN map to a disk or a partition
To: hrishys@xxxxxxxxxxx
Cc: oracle-l@xxxxxxxxxxxxx
Date: Friday, 10 July, 2009, 9:29 AM





2009/7/10 hrishy <hrishys@xxxxxxxxxxx>






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.



      

Other related posts: