Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

stop the disk on the web UI, Displays "stoping" status

When  I stop  ISCSI disk on the web UI, the "stoping" status displayed and I cannot start or edit the ISCSI disk.

rbd unmap failed: (16) Device or resource busy

can you start / stop other disk,  is the issue with 1 disk only ?

what is the ceph cluster health status ?

do you see errors in the logs ?

Quote from admin on September 24, 2019, 11:25 am

can you start / stop other disk,  is the issue with 1 disk only ?

what is the ceph cluster health status ?

do you see errors in the logs ?

It seems that only cloned iscsi disks  cannot edit stop/start in the web ui

cluster:  health: HEALTH_OK
When I  in the webui stop the iscsi disk, the log shows:

24/09/2019 14:02:51 ERROR Could not find ips for image-00025
24/09/2019 14:02:51 ERROR LIO error deleting Target None, maybe the iqn is not exists.
24/09/2019 14:02:51 ERROR Cannot unmap image image-00025. error, no mapped images found.

Is there any way to stop it again, or force unmap them?

currently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?

Quote from admin on September 24, 2019, 4:00 pm

currently we do not support cloned images, are these cloned images you created manually via cmd line ? then you attached them via ui ? do they show up via rbd showmapped ? what do you get if you do rbd unmap from cli ?

Yeah, I create with cmd line rbd clone , and attach them through the UI.

when i  rbd unmap from cli,show that it's in use,rbd unmap failed: (16) Device or resource busy.

How do I stop/start the iscsi disk with cmd line ?

Cannot say for sure since it is not something we test.   i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it.  Else  if you can afford a reboot, it will probably solve this,

This is to clean local mapped disk, in addition to remove it from Consul cluster

consul kv delete -recurse  PetaSAN/Disks/00025

Quote from admin on September 24, 2019, 5:31 pm

Cannot say for sure since it is not something we test.   i would check if the disk is mapped in iSCSI using targetcli tool, check in /backstores/rbd if there is an entry delete it.  Else  if you can afford a reboot, it will probably solve this,

This is to clean local mapped disk, in addition to remove it from Consul cluster

consul kv delete -recurse  PetaSAN/Disks/00025

thank you for the hints.This workaround works for me. thanks -_-