Start a Conversation

Unsolved

This post is more than 5 years old

1900

June 30th, 2015 08:00

Scaleio 1.32 - (SDS) Change path device Linux after Reboot.

Hi all,

What is the recommended procedure after the linux server reboot (SDS) if the device path change? The devices changed became failed.

Thanks.

June 30th, 2015 08:00

Can you please run the following command and get the UUID of the internal disks?

ls -l /dev/disk/by-id/

Thereafter update the fstab file so that these internal disks are mounted using their UUID everytime SDS boots up so that they are not susceptible to change every time.

June 30th, 2015 09:00

Here are some of the third  party links that show how to edit fstab file to add UUID

How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux

13.2.3. Add to /etc/fstab

13 Posts

June 30th, 2015 09:00

The follow devices used for SDS.

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c049f98a06ad1f4fb6aac -> ../../sdk

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c0e86e70614823c7f6138 -> ../../sdt

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c1888a43082dad45bed68 -> ../../sdr

lrwxrwxrwx 1 root root  9 Jun 29 17:34 scsi-3600508b1001c2aec7aac44e07f7ce160 -> ../../sdn

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c30b3a93704ff88372dcd -> ../../sdf

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c3226a5b1f6a02c970358 -> ../../sdd

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c40593d14eaab81833837 -> ../../sdl

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c4ba2f2bb54ed90392ef1 -> ../../sde

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c5b1164d3e1968641217b -> ../../sds

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c6570a66a41627ef19af1 -> ../../sdg

lrwxrwxrwx 1 root root  9 Jun 29 17:34 scsi-3600508b1001c85015cba76fbfa82af5a -> ../../sdm

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c9b92dff5feced32c2395 -> ../../sdu

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001caa5120eda335e48f276c -> ../../sdb

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cad1010772ae3f8e8c731 -> ../../sdw

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cc31682c55f9169cd14b2 -> ../../sdv

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001ccb6d065d949cee0520ec -> ../../sdj

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001ccbbfebea25470d685a0d -> ../../sdp

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cd20ec2d96a17eb8e4c08 -> ../../sdo

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cd7fe2685e741c1b62918 -> ../../sdc

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cdd5cf98413377d8dedf0 -> ../../sdh

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cedf114038cb5e568f788 -> ../../sdq

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cedfebf0cb3f3257b83db -> ../../sdi

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c049f98a06ad1f4fb6aac -> ../../sdk

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c0e86e70614823c7f6138 -> ../../sdt

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c1888a43082dad45bed68 -> ../../sdr

lrwxrwxrwx 1 root root  9 Jun 29 17:34 wwn-0x600508b1001c2aec7aac44e07f7ce160 -> ../../sdn

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c30b3a93704ff88372dcd -> ../../sdf

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c3226a5b1f6a02c970358 -> ../../sdd

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c40593d14eaab81833837 -> ../../sdl

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c4ba2f2bb54ed90392ef1 -> ../../sde

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c5b1164d3e1968641217b -> ../../sds

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c6570a66a41627ef19af1 -> ../../sdg

lrwxrwxrwx 1 root root  9 Jun 29 17:34 wwn-0x600508b1001c85015cba76fbfa82af5a -> ../../sdm

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c9b92dff5feced32c2395 -> ../../sdu

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001caa5120eda335e48f276c -> ../../sdb

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cad1010772ae3f8e8c731 -> ../../sdw

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cc31682c55f9169cd14b2 -> ../../sdv

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001ccb6d065d949cee0520ec -> ../../sdj

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001ccbbfebea25470d685a0d -> ../../sdp

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cd20ec2d96a17eb8e4c08 -> ../../sdo

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cd7fe2685e741c1b62918 -> ../../sdc

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cdd5cf98413377d8dedf0 -> ../../sdh

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cedf114038cb5e568f788 -> ../../sdq

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cedfebf0cb3f3257b83db -> ../../sdi

June 30th, 2015 09:00

Which of the above devices are presented to the ScaleIO on the SDS?

13 Posts

June 30th, 2015 09:00

Hi

Output command:

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c049f98a06ad1f4fb6aac -> ../../sdk

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c0e86e70614823c7f6138 -> ../../sdt

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c1888a43082dad45bed68 -> ../../sdr

lrwxrwxrwx 1 root root  9 Jun 29 17:34 scsi-3600508b1001c2aec7aac44e07f7ce160 -> ../../sdn

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c30b3a93704ff88372dcd -> ../../sdf

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c3226a5b1f6a02c970358 -> ../../sdd

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c40593d14eaab81833837 -> ../../sdl

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c4ba2f2bb54ed90392ef1 -> ../../sde

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c5b1164d3e1968641217b -> ../../sds

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c6570a66a41627ef19af1 -> ../../sdg

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c80e02f3abd59eea3af9b -> ../../sdx

lrwxrwxrwx 1 root root  9 Jun 29 17:34 scsi-3600508b1001c85015cba76fbfa82af5a -> ../../sdm

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001c9b92dff5feced32c2395 -> ../../sdu

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001caa5120eda335e48f276c -> ../../sdb

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cad1010772ae3f8e8c731 -> ../../sdw

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cb900f2f55285f6d387b5 -> ../../sda

lrwxrwxrwx 1 root root 10 Jun 29 17:34 scsi-3600508b1001cb900f2f55285f6d387b5-part1 -> ../../sda1

lrwxrwxrwx 1 root root 10 Jun 29 17:34 scsi-3600508b1001cb900f2f55285f6d387b5-part2 -> ../../sda2

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cc31682c55f9169cd14b2 -> ../../sdv

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001ccb6d065d949cee0520ec -> ../../sdj

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001ccbbfebea25470d685a0d -> ../../sdp

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001ccd358c66cd6240dee3d5 -> ../../sdy

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cd20ec2d96a17eb8e4c08 -> ../../sdo

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cd7fe2685e741c1b62918 -> ../../sdc

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cdd5cf98413377d8dedf0 -> ../../sdh

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cedf114038cb5e568f788 -> ../../sdq

lrwxrwxrwx 1 root root  9 Jun 29 17:35 scsi-3600508b1001cedfebf0cb3f3257b83db -> ../../sdi

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c049f98a06ad1f4fb6aac -> ../../sdk

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c0e86e70614823c7f6138 -> ../../sdt

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c1888a43082dad45bed68 -> ../../sdr

lrwxrwxrwx 1 root root  9 Jun 29 17:34 wwn-0x600508b1001c2aec7aac44e07f7ce160 -> ../../sdn

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c30b3a93704ff88372dcd -> ../../sdf

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c3226a5b1f6a02c970358 -> ../../sdd

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c40593d14eaab81833837 -> ../../sdl

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c4ba2f2bb54ed90392ef1 -> ../../sde

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c5b1164d3e1968641217b -> ../../sds

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c6570a66a41627ef19af1 -> ../../sdg

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c80e02f3abd59eea3af9b -> ../../sdx

lrwxrwxrwx 1 root root  9 Jun 29 17:34 wwn-0x600508b1001c85015cba76fbfa82af5a -> ../../sdm

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001c9b92dff5feced32c2395 -> ../../sdu

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001caa5120eda335e48f276c -> ../../sdb

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cad1010772ae3f8e8c731 -> ../../sdw

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cb900f2f55285f6d387b5 -> ../../sda

lrwxrwxrwx 1 root root 10 Jun 29 17:34 wwn-0x600508b1001cb900f2f55285f6d387b5-part1 -> ../../sda1

lrwxrwxrwx 1 root root 10 Jun 29 17:34 wwn-0x600508b1001cb900f2f55285f6d387b5-part2 -> ../../sda2

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cc31682c55f9169cd14b2 -> ../../sdv

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001ccb6d065d949cee0520ec -> ../../sdj

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001ccbbfebea25470d685a0d -> ../../sdp

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001ccd358c66cd6240dee3d5 -> ../../sdy

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cd20ec2d96a17eb8e4c08 -> ../../sdo

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cd7fe2685e741c1b62918 -> ../../sdc

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cdd5cf98413377d8dedf0 -> ../../sdh

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cedf114038cb5e568f788 -> ../../sdq

lrwxrwxrwx 1 root root  9 Jun 29 17:35 wwn-0x600508b1001cedfebf0cb3f3257b83db -> ../../sdi

June 30th, 2015 09:00

ls -l /dev/disk/by-uuid/     <----- this was the command


60 Posts

June 30th, 2015 10:00

Hi,

Most likely that the device which you see as failed, is always /dev/sdm.

We've discovered an issue in our code, where SDS will skip on /dev/sdm device after reboot.

This is going to be solved in the next service pack version.

June 30th, 2015 10:00

ls -l /dev/disk/by-uuid/     <----- this is the correct command


Here are some of the third  party links that show how to edit fstab file to add UUID

How To Use UUID To Mount Partitions / Volumes Under Ubuntu Linux

13.2.3. Add to /etc/fstab

13 Posts

June 30th, 2015 13:00

Hi

I can use the serial number of the device ?


Ex: /dev/disk/by-id/scsi-3600508b1001cb7cedf9547ec3eabfd5c


So do not use letters. Ex: /dev/sdm, /dev/sdz


I added a device with serial number no problem as follows:


       19: Name: SAS_DEV_SDM  Path: /dev/disk/by-id/scsi-3600508b1001cb7cedf9547ec3eabfd5c  Original-path: /dev/disk/by-id/scsi-3600508b1001cb7cedf9547ec3eabfd5c  ID: 4938d7a200020012

                Storage Pool: ISBAN_POOL_01, Capacity: 1116 GB Error-fixes: 0 scanned 368 MB, Compare errors: 0 State: Normal

60 Posts

July 1st, 2015 12:00

This will not solve the issue I've described above.

When SDS starts up, it reads all the available devices looking for ScaleIO signature.

It receives the list of the devices from /proc/partitions

Since /proc/partition contains the devices /dev/sd*, it won't be able to find the sdm devices, and will report on it a a missing devices.

No Events found!

Top