Comment 1 for bug 1477604

Revision history for this message
Oleg S. Gelbukh (gelbuhos) wrote :

The example of unreliable identification of disk via '/dev/disk/by-path/':

  lrwxrwxrwx 1 root root 9 Jul 8 16:35 /dev/disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0 -> ../../sdb
  lrwxrwxrwx 1 root root 10 Jul 8 16:32 /dev/disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0-part1 -> ../../sdb1
  lrwxrwxrwx 1 root root 10 Jul 8 16:32 /dev/disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0-part2 -> ../../sdb2
  lrwxrwxrwx 1 root root 10 Jul 8 16:32 /dev/disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0-part3 -> ../../sda3
  lrwxrwxrwx 1 root root 10 Jul 8 16:32 /dev/disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0-part4 -> ../../sda4
  lrwxrwxrwx 1 root root 10 Jul 8 16:32 /dev/disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0-part5 -> ../../sda5

In this case, initially /dev/sda/ was identified by /dev/disk/by-path/pci-0000:00:01.1-scsi-0:0:0:0, but after the reboot that path was taken over by /dev/sdb.