This post is more than 5 years old
1 Rookie
•
21 Posts
0
1608
August 19th, 2015 10:00
update_device_original_path
Greetings, after adding new sds using the ScaleIO web client plugin, it shifted all the device names for the sds devices inside the SVM.
Now there is a conflict in device path and one of the drives is in error state.
I looked in the SVM and the drive moved from /dev/sdl to /dev/sdm.
How do I update the device path in the SCLI? The update_device_original_path command does not work. As you can see below, SDS device 5 and 6 are both on path /dev/sdl. However device 6 should be mapped to /dev/sdm
scli --query_sds --sds_ip 172.24.12.192
5: Name: ScaleIO-1a3f10e6 Path: /dev/sdl Original-path: /dev/sdl ID: b6a4783800030004
Storage Pool: SAS, Capacity: 1115 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Normal
6: Name: ScaleIO-1a3f10e7 Path: /dev/sdl Original-path: /dev/sdl ID: b6a4783900030005
Storage Pool: SAS, Capacity: 1115 GB Error-fixes: 0 scanned 0 MB, Compare errors: 0 State: Error
I tried : scli --sds_ip 172.24.12.192 --device_name ScaleIO-1a3f10e7 --update_device_original_path /dev/sdm
No luck. Any help would be appreciated. Thanks!
Allen_Chew
1 Rookie
•
21 Posts
1
August 19th, 2015 10:00
I solved my issue.
First I had to remove /dev/sdl and /dev/sdm. Keeping track of the original scsi slot they are mapped to in the rdm mappings in vm settings.
Then I readded sdm first, and finally sdl afterwards. I did have to restart the SVM a couple times and in scli used the update path command:
ScaleIO-172-24-11-191:/ # scli --add_sds_device --sds_ip 172.24.12.192 --device_path /dev/sdl --device_name ScaleIO-4711ebb8 --storage_pool_name SAS
Error: MDM failed command. Status: A device with the given name already exists in the SDS
ScaleIO-172-24-11-191:/ # scli --sds_ip 172.24.12.192 --update_device_original_path --device_path /dev/sdl
Successfully update device's original path
ScaleIO-172-24-11-191:/ # scli --add_sds_device --sds_ip 172.24.12.192 --device_path /dev/sdl --device_name ScaleIO-4711ebb8 --storage_pool_name SAS
Successfully added device ScaleIO-4711ebb8 to SDS. New device ID: b6a5d7aa00030005
ScaleIO-172-24-11-191:/