Re: How does a LUN map to a disk or a partition
Date: Fri, 10 Jul 2009 10:29:03 +0200
Message-ID: <6a29f8b0907100129p64f2d0e0m97be0f51d8d5d89b_at_mail.gmail.com>
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-lReceived on Fri Jul 10 2009 - 03:29:03 CDT