Proper method for deleting iSCSI Disks
neiltorda
98 Posts
April 30, 2021, 2:38 pmQuote from neiltorda on April 30, 2021, 2:38 pmI have 4 large (50T) iSCSI disks that I need to delete.
On 2 of them I stopped the disk, and then clicked the X to delete the disk.
I now have in my list of iSCSI disks some image files I can't get rid of:
If I click the X here, I get a "Method Not Allowed: The method is not allowed for the requested URL."
If i click the attach icon, i get an alert that the disk has not been created.
At the command line I can seem them listed if I do ' rbd list'
If i do 'rbd list -l' I get the following error:
root@petasan1:~# rbd list -l
2021-04-30 10:14:15.024 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507f8ca10 fail: (2) No such file or directory
rbd: error opening image-00006: (2) No such file or directory
2021-04-30 10:14:15.028 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507ff4210 fail: (2) No such file or directory
rbd: error opening image-00007: (2) No such file or directory
What is the proper method for removing these large disks. I don't think it is freeing up the space on the petasan cluster either.
If I add the size of the iscsi disks it lists, I get a total of 282T used. But when I look at my Pools it tells me that pool is using 384T, which is 100T more than it should be, which is the total of the 2 50T disks I have tried to delete.
I have 4 large (50T) iSCSI disks that I need to delete.
On 2 of them I stopped the disk, and then clicked the X to delete the disk.
I now have in my list of iSCSI disks some image files I can't get rid of:
If I click the X here, I get a "Method Not Allowed: The method is not allowed for the requested URL."
If i click the attach icon, i get an alert that the disk has not been created.
At the command line I can seem them listed if I do ' rbd list'
If i do 'rbd list -l' I get the following error:
root@petasan1:~# rbd list -l
2021-04-30 10:14:15.024 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507f8ca10 fail: (2) No such file or directory
rbd: error opening image-00006: (2) No such file or directory
2021-04-30 10:14:15.028 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507ff4210 fail: (2) No such file or directory
rbd: error opening image-00007: (2) No such file or directory
What is the proper method for removing these large disks. I don't think it is freeing up the space on the petasan cluster either.
If I add the size of the iscsi disks it lists, I get a total of 282T used. But when I look at my Pools it tells me that pool is using 384T, which is 100T more than it should be, which is the total of the 2 50T disks I have tried to delete.
Last edited on April 30, 2021, 2:38 pm by neiltorda · #1
admin
2,930 Posts
May 1, 2021, 11:43 amQuote from admin on May 1, 2021, 11:43 amDeleting large rbd images takes time. Could be several hours. At the lower layer Ceph OSDs deal with objects, each 4MB object needs to be searched and deleted from the OSD database.
Deleting large rbd images takes time. Could be several hours. At the lower layer Ceph OSDs deal with objects, each 4MB object needs to be searched and deleted from the OSD database.
neiltorda
98 Posts
May 4, 2021, 8:28 pmQuote from neiltorda on May 4, 2021, 8:28 pmIt has almost 10 days since I deleted the first disk and 4 days since I deleted the 3rd, and the images are still showing in the list of disks with a size of 0GB.
However, if I add up the size of all the iscsi disks that still exist, it equals 150TB smaller than the used space, and each of those 3 disk I have deleted were 50T each, for a total of 150TB.
So the space is still not freed up even though it has been several days.
It has almost 10 days since I deleted the first disk and 4 days since I deleted the 3rd, and the images are still showing in the list of disks with a size of 0GB.
However, if I add up the size of all the iscsi disks that still exist, it equals 150TB smaller than the used space, and each of those 3 disk I have deleted were 50T each, for a total of 150TB.
So the space is still not freed up even though it has been several days.
neiltorda
98 Posts
May 10, 2021, 3:00 pmQuote from neiltorda on May 10, 2021, 3:00 pmIt has been another week and no additional space has been freed up and it is still showing those images in the image list, but I can't delete them. And the space they were using is still encumbered.
Any ideas?
It has been another week and no additional space has been freed up and it is still showing those images in the image list, but I can't delete them. And the space they were using is still encumbered.
Any ideas?
admin
2,930 Posts
May 10, 2021, 5:58 pmQuote from admin on May 10, 2021, 5:58 pmmost probably the delete rbd function did not complete correctly or was interrupted. i understand you have an open ticket in our system, so we will handle it there.
most probably the delete rbd function did not complete correctly or was interrupted. i understand you have an open ticket in our system, so we will handle it there.
neiltorda
98 Posts
May 10, 2021, 8:09 pmQuote from neiltorda on May 10, 2021, 8:09 pmThanks… I wasn't sure this was included in the other issue.
Neil
Thanks… I wasn't sure this was included in the other issue.
Neil
Proper method for deleting iSCSI Disks
neiltorda
98 Posts
Quote from neiltorda on April 30, 2021, 2:38 pmI have 4 large (50T) iSCSI disks that I need to delete.
On 2 of them I stopped the disk, and then clicked the X to delete the disk.
I now have in my list of iSCSI disks some image files I can't get rid of:
If I click the X here, I get a "Method Not Allowed: The method is not allowed for the requested URL."
If i click the attach icon, i get an alert that the disk has not been created.
At the command line I can seem them listed if I do ' rbd list'
If i do 'rbd list -l' I get the following error:
root@petasan1:~# rbd list -l
2021-04-30 10:14:15.024 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507f8ca10 fail: (2) No such file or directory
rbd: error opening image-00006: (2) No such file or directory
2021-04-30 10:14:15.028 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507ff4210 fail: (2) No such file or directory
rbd: error opening image-00007: (2) No such file or directory
What is the proper method for removing these large disks. I don't think it is freeing up the space on the petasan cluster either.
If I add the size of the iscsi disks it lists, I get a total of 282T used. But when I look at my Pools it tells me that pool is using 384T, which is 100T more than it should be, which is the total of the 2 50T disks I have tried to delete.
I have 4 large (50T) iSCSI disks that I need to delete.
On 2 of them I stopped the disk, and then clicked the X to delete the disk.
I now have in my list of iSCSI disks some image files I can't get rid of:
If I click the X here, I get a "Method Not Allowed: The method is not allowed for the requested URL."
If i click the attach icon, i get an alert that the disk has not been created.
At the command line I can seem them listed if I do ' rbd list'
If i do 'rbd list -l' I get the following error:
root@petasan1:~# rbd list -l
2021-04-30 10:14:15.024 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507f8ca10 fail: (2) No such file or directory
rbd: error opening image-00006: (2) No such file or directory
2021-04-30 10:14:15.028 7fb5e1ffb700 -1 librbd::io::AioCompletion: 0x562507ff4210 fail: (2) No such file or directory
rbd: error opening image-00007: (2) No such file or directory
What is the proper method for removing these large disks. I don't think it is freeing up the space on the petasan cluster either.
If I add the size of the iscsi disks it lists, I get a total of 282T used. But when I look at my Pools it tells me that pool is using 384T, which is 100T more than it should be, which is the total of the 2 50T disks I have tried to delete.
admin
2,930 Posts
Quote from admin on May 1, 2021, 11:43 amDeleting large rbd images takes time. Could be several hours. At the lower layer Ceph OSDs deal with objects, each 4MB object needs to be searched and deleted from the OSD database.
Deleting large rbd images takes time. Could be several hours. At the lower layer Ceph OSDs deal with objects, each 4MB object needs to be searched and deleted from the OSD database.
neiltorda
98 Posts
Quote from neiltorda on May 4, 2021, 8:28 pmIt has almost 10 days since I deleted the first disk and 4 days since I deleted the 3rd, and the images are still showing in the list of disks with a size of 0GB.
However, if I add up the size of all the iscsi disks that still exist, it equals 150TB smaller than the used space, and each of those 3 disk I have deleted were 50T each, for a total of 150TB.
So the space is still not freed up even though it has been several days.
It has almost 10 days since I deleted the first disk and 4 days since I deleted the 3rd, and the images are still showing in the list of disks with a size of 0GB.
However, if I add up the size of all the iscsi disks that still exist, it equals 150TB smaller than the used space, and each of those 3 disk I have deleted were 50T each, for a total of 150TB.
So the space is still not freed up even though it has been several days.
neiltorda
98 Posts
Quote from neiltorda on May 10, 2021, 3:00 pmIt has been another week and no additional space has been freed up and it is still showing those images in the image list, but I can't delete them. And the space they were using is still encumbered.
Any ideas?
It has been another week and no additional space has been freed up and it is still showing those images in the image list, but I can't delete them. And the space they were using is still encumbered.
Any ideas?
admin
2,930 Posts
Quote from admin on May 10, 2021, 5:58 pmmost probably the delete rbd function did not complete correctly or was interrupted. i understand you have an open ticket in our system, so we will handle it there.
most probably the delete rbd function did not complete correctly or was interrupted. i understand you have an open ticket in our system, so we will handle it there.
neiltorda
98 Posts
Quote from neiltorda on May 10, 2021, 8:09 pmThanks… I wasn't sure this was included in the other issue.
Neil
Thanks… I wasn't sure this was included in the other issue.
Neil