Topic
1 reply Latest Post - ‏2009-11-19T17:59:49Z by ed_pollard
alain_screen
alain_screen
1 Post
ACCEPTED ANSWER

Pinned topic multipath label in /dev/disk/by-id

‏2009-11-18T13:15:47Z |
I set the multipath.conf for this line

scsi-mpathn -> ../../dm-14
lrwxrwxrwx 1 root root 11 Nov 15 20:18 scsi-mpatho -> ../../dm-15

How can i get the good label for those line in /dev/disk/by-id

lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c0000000000000ba -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-36005076801910267c0000000000000ba-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-36005076801910267c0000000000000ba-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-36005076801910267c0000000000000ba-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c0000000000000cc -> ../../sdb
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c0000000000000cd -> ../../sdc
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c0000000000000de -> ../../sdg
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-36005076801910267c0000000000000de-part1 -> ../../sdg1
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c0000000000000e6 -> ../../sdi
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-36005076801910267c0000000000000e6-part1 -> ../../sdi1
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c00000000000010b -> ../../sde
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c00000000000010c -> ../../sdf
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c00000000000010d -> ../../sdh
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c00000000000010e -> ../../sdj
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c00000000000010f -> ../../sdd
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-36005076801910267c00000000000010f-part1 -> ../../sdd1
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c000000000000110 -> ../../sdk
lrwxrwxrwx 1 root root 9 Oct 11 10:55 scsi-36005076801910267c000000000000111 -> ../../sdl
lrwxrwxrwx 1 root root 10 Nov 15 20:18 scsi-36005076801910267c000000000000126 -> ../../sdaa
lrwxrwxrwx 1 root root 10 Nov 15 20:18 scsi-36005076801910267c000000000000127 -> ../../sdab
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-arc1 -> ../../dm-8
lrwxrwxrwx 1 root root 11 Oct 11 10:55 scsi-arc1-part1 -> ../../dm-12
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-bck1 -> ../../dm-3
lrwxrwxrwx 1 root root 11 Oct 11 10:55 scsi-bck1-part1 -> ../../dm-11
lrwxrwxrwx 1 root root 11 Oct 11 10:55 scsi-dat1 -> ../../dm-10
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-dat2 -> ../../dm-9
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-dat3 -> ../../dm-7
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-dat4 -> ../../dm-6
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-dat5 -> ../../dm-4
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-dat6 -> ../../dm-2
lrwxrwxrwx 1 root root 11 Nov 15 20:18 scsi-mpathn -> ../../dm-14
lrwxrwxrwx 1 root root 11 Nov 15 20:18 scsi-mpatho -> ../../dm-15
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-tab1 -> ../../dm-5
lrwxrwxrwx 1 root root 11 Oct 11 10:55 scsi-tab1-part1 -> ../../dm-13
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-und1 -> ../../dm-1
lrwxrwxrwx 1 root root 10 Oct 11 10:55 scsi-und2 -> ../../dm-0
Updated on 2009-11-19T17:59:49Z at 2009-11-19T17:59:49Z by ed_pollard
  • ed_pollard
    ed_pollard
    16 Posts
    ACCEPTED ANSWER

    Re: multipath label in /dev/disk/by-id

    ‏2009-11-19T17:59:49Z  in response to alain_screen
    Can you give us a little more detail on what you are trying to accomplish? Perhaps example output that you would like to see.

    It would also be helpful to know what distribution and version you are using as that might also change what tools are available.