DantePasquale |
09-24-2007 02:59 PM |
LUN Device Mapping: 2 devices map to same lun
Hi, I'm running Redhat IAS4 64 bit and have setup native multipathing to an EMC/Clariion array.
It now looks like /dev/sda and /dev/sdb both point to the same LUN. fdisk -l /dev/sda returns nothing whereis fdisk -l /dev/sdb returns:
Code:
Disk /dev/sdb doesn't contain a valid partition table
[root@etcad1f etc]# fdisk -l /dev/hda
[root@etcad1f etc]# fdisk -l /dev/hdb
[root@etcad1f etc]# fdisk -l
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 666 5245222+ 83 Linux
/dev/cciss/c0d0p3 667 1710 8385930 82 Linux swap
/dev/cciss/c0d0p4 1711 8854 57384180 5 Extended
/dev/cciss/c0d0p5 1711 2493 6289416 83 Linux
/dev/cciss/c0d0p6 2494 3146 5245191 83 Linux
/dev/cciss/c0d0p7 3147 3799 5245191 83 Linux
/dev/cciss/c0d0p8 3800 8854 40604256 8e Linux LVM
Disk /dev/sdb: 17.9 GB, 17936941056 bytes
64 heads, 32 sectors/track, 17106 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc: 17.9 GB, 17936941056 bytes
64 heads, 32 sectors/track, 17106 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdc doesn't contain a valid partition table
Disk /dev/sdd: 17.9 GB, 17936941056 bytes
64 heads, 32 sectors/track, 17106 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk /dev/sdd doesn't contain a valid partition table
Disk /dev/sde: 17.9 GB, 17936941056 bytes
64 heads, 32 sectors/track, 17106 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
From scsi_id we see that /dev/sda and /dev/sdb are the same LUN:
Code:
[root@etcad1f etc]# scsi_id -g -s /block/sda
36006016024801c00ffca04d85a47dc11
[root@etcad1f etc]# scsi_id -g -s /block/sdb
36006016024801c00ffca04d85a47dc11
Question is: How do I remove /dev/sda ??? Or do I ???
And will that relabel the devices??? will /dev/sdb -> /dev/sda???
If so, how can I make sure the correct file gets mounted on the correct mount point?
Thanks,
Dante
|