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

From: David Ballester <>
Date: Fri, 10 Jul 2009 10:29:03 +0200
Message-ID: <>

2009/7/10 hrishy <>

> 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


Received on Fri Jul 10 2009 - 03:29:03 CDT

Original text of this message