LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices

Reply
 
Search this Thread
Old 09-24-2007, 03:59 PM   #1
DantePasquale
LQ Newbie
 
Registered: Aug 2005
Location: NE Ohio
Distribution: Ubuntu 10.04
Posts: 12

Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iSCSI, LUN, and devices gmex Linux - Software 3 09-22-2007 10:13 AM
LUN Device not showing without reboot on Redhat mickg007 Linux - Enterprise 7 06-14-2007 11:04 AM
LUN device mapping jdepaul Linux - Hardware 0 08-02-2004 03:42 PM
SAN LUN device order jhumeston Linux - Enterprise 3 07-29-2004 08:24 PM
SAN LUN disk device order jhumeston Linux - Software 1 07-28-2004 07:02 PM


All times are GMT -5. The time now is 11:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration