UNSOLVED

Allen_Chew

updated

11 years ago

A

Allen_Chew

1 Rookie

21 Posts

0

10247

June 15th, 2015 09:00

How to forcefully remove a sds or sds device?

Greetings,

I'm trying to remove a sds device. This is on a vmware scaleio install. I may have physically removed the hdd before letting scaleio finish removing the sds device earlier. Now I'm not able to remove this via the scli. I've tried the following command and it gets stuck in removing the errored device.

scli --remove_sds_device --sds_id --device_id --force

error.JPG.jpg

is there any way to forcefully delete this SDS from scaleio? I'm trying to start fresh on this one server. But it seems I can't remove the SDS without this device being removed first.

  • 3690

    1

    Posted June 21st, 2015 00:00

    1. Try clearing the device error 1st using the following command:
    scli --clear_sds_device_error --sds_ip [SDS_IP] --clear_all

    2. Run the remove_sds_device command again (with/without force flag)

  • 3690

    0

    Posted June 22nd, 2015 11:00

    What is the exact command you are running and what is the exact error message?

  • Allen_Chew

    1 Rookie

    21 Posts

    3634

    0

    Posted June 22nd, 2015 11:00

    Yes, the error-ed drive is in a storage pool. There are currently mapped volumes in this storage pool, so it has many other sds devices in the pool.

  • Allen_Chew

    1 Rookie

    21 Posts

    3690

    0

    Posted June 22nd, 2015 11:00

    No luck, I tried clearing the error in the GUI as well. It just goes back to an error state right away and I cannot remove the drive still. Maybe the only solution is to wipe everything and start fresh

  • 3690

    0

    Posted June 22nd, 2015 11:00

    If this was added to a storage pool, was any volume created from this Storage pool that was not deleted or any snapshot created that was not deleted and you are trying to delete the last disk from the Storage pool?

  • Allen_Chew

    1 Rookie

    21 Posts

    3690

    0

    Posted June 22nd, 2015 11:00

    Yes it is.

  • 3690

    0

    Posted June 22nd, 2015 11:00

    Is this the last device in the Storage pool that you want to remove?

  • Allen_Chew

    1 Rookie

    21 Posts

    3690

    0

    Posted June 22nd, 2015 11:00

    remove_pending.JPG.jpg

    I am trying to remove a error-ed sds device. There's no error after issuing the removal command, it's just stuck at "Remove Pending" state. The drive has already been physically removed from the server and unmapped in VMware.

  • 3690

    0

    Posted June 22nd, 2015 11:00

    Note: If the capacity of this SDS is still used by volumes, and cannot be replaced, the command will fail.

  • alexkh

    60 Posts

    3122

    0

    Posted June 22nd, 2015 13:00

    Allen,

    Before trying the command Tomer has advised, did you run abort_remove_sds_device?