Steps to delete the image if you get the Below error  
++++++++++++++++++++++++++++++++++++++++++

[root@awstbrmm42 ~]# rw image delete HSYPWPX0S004-img
NTC_DELETE_IMAGE_ERROR STATUS_ERROR
DELETE_IMAGE_IMAGE_STORAGE_ERROR Delete image failed for

Unable to delete image due to image storage error.
If you still want to delete image from CMDB, please use --force option.
Then manually clean up image storage volumes.
jobid file: /var/log/rackware/by-jobid/0000000000104ebc.log


1) find the image file name using the rw image show
2) zfs list | grep -i < image file >
3) mount | grep -i < image file >

Check if there is any stale mount point under the /mnt/rackware

unmount all of them

try df -h | grep <for image file>

if there is stale mount point unmount

once all the stale mount points are unmounted

try delete the image


Example
++++++++

[root@awstbrmm42 ~]# rw image show | grep HSYPWPX0S004
HSYPWPX0S004 DISCOVERED NO_TNG ASSIGNED LOCAL root Admin Host
HSYPWPX0S004-img CAPTURED RMM admin Admin FlexImage


[root@awstbrmm42 ~]# rw image delete HSYPWPX0S004-img
NTC_DELETE_IMAGE_ERROR STATUS_ERROR
DELETE_IMAGE_IMAGE_STORAGE_ERROR Delete image failed for

Unable to delete image due to image storage error.
If you still want to delete image from CMDB, please use --force option.
Then manually clean up image storage volumes.
jobid file: /var/log/rackware/by-jobid/0000000000104ebc.log


[root@awstbrmm42 ~]# rw image show HSYPWPX0S004-img

Image Name : HSYPWPX0S004-img
Image Type : FlexImage
Image UUID : 5b89fbe4-1c64-11ea-8116-ac1f6b8aab70
Image State: Captured
Image Date : Tue Jul 13 08:14:46 2021
Origin Host: HSYPWPX0S004-src
OS Type : Windows (64-bit)
OS Version : Server 2008 R2 Service Pack 1 (6.1)
OS Name : Windows Server 2008 R2 Datacenter
Username : SYSTEM

File System : D:
Type : ntfs
Size : 249.997 GB
Used : 77.4493 GB
Free : 172.548 GB
Mountpoints : D:\

Label : New Volume
UUID : 0x1434219a3421803a
Serial Number : 0x1434219a3421803a
Cluster Size : 4 KB
Origin Volume : \\?\Volume{b1d19867-fa21-11e5-8d26-005056bc0d60}\
Volume Type : MBR Primary Partition
Image File : 5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0x1434219a3421803a.img

File System : C: [ WINDOWS ]
Type : ntfs
Size : 59.8994 GB
Used : 53.3373 GB
Free : 6.56208 GB
Mountpoints : C:\

UUID : 0x7cf05804f057c356
Serial Number : 0x7cf05804f057c356
Cluster Size : 4 KB
Origin Volume : \\?\Volume{10e57fd7-8e09-11df-a8e6-806e6f6e6963}\
Volume Type : MBR Primary Partition
Image File : 5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0x7cf05804f057c356.img

File System : System Reserved [ BOOT ]
Type : ntfs
Size : 100 MB
Used : 24.1758 MB
Free : 75.8242 MB
Mountpoints :
Label : System Reserved
UUID : 0x8ea0554ba0553ac3
Serial Number : 0x8ea0554ba0553ac3
Cluster Size : 4 KB
Origin Volume : \\?\Volume{10e57fd6-8e09-11df-a8e6-806e6f6e6963}\
Volume Type : MBR Primary Partition
Image File : 5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0x8ea0554ba0553ac3.img

File System : P:
Type : ntfs
Size : 29.873 GB
Used : 20.0847 GB
Free : 9.78838 GB
Mountpoints : P:\

Label : Pagefile
UUID : 0xacb8b348b8b31036
Serial Number : 0xacb8b348b8b31036
Cluster Size : 4 KB
Origin Volume : \\?\Volume{3dbbbf81-a6c1-4e21-a51f-f63dfe13810c}\
Volume Type : GPT Partition
Image File : 5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0xacb8b348b8b31036.img

File System : E:
Type : ntfs
Size : 249.997 GB
Used : 34.7577 GB
Free : 215.239 GB
Mountpoints : E:\

Label : New Volume
UUID : 0xc4842db1842da740
Serial Number : 0xc4842db1842da740
Cluster Size : 4 KB
Origin Volume : \\?\Volume{b1d1986e-fa21-11e5-8d26-005056bc0d60}\
Volume Type : MBR Primary Partition
Image File : 5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0xc4842db1842da740.img

Hardware Resources:
CPU Cores: 4
Memory : 32 GB
Firmware : BIOS
Disks : 4
Disk Size
------------ ----------
Disk 1 250 GB
Disk 0 60 GB
Disk 3 30 GB
Disk 2 250 GB

[root@awstbrmm42 ~]#


Take the image file folder name

in the above image show the image file folder name 5b89fbe4-1c64-11ea-8116-ac1f6b8aab70

[root@awstbrmm42 ~]# zfs list | grep -i '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 185G 100T 176G /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70
[root@awstbrmm42 ~]#


[root@awstbrmm42 ~]# mount | grep -i '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 on /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 type zfs (rw,noatime)
/srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0x7cf05804f057c356.img on /mnt/rackware/tT1g04 type ext4 (rw,loop=/dev/loop31,acl,user_xattr)
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70@29a053d9-b1f8-481c-b813-a981899d4017 on /mnt/rackware/RhcPU4 type zfs (rw)
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70@b60dea81-1f4f-460a-8024-ff7b3f3b5cf1 on /mnt/rackware/rdCjg1 type zfs (rw)
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]# umount /mnt/rackware/rdCjg1
[root@awstbrmm42 ~]#

[root@awstbrmm42 ~]# umount /mnt/rackware/RhcPU4
umount: /mnt/rackware/RhcPU4: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))


[root@awstbrmm42 ~]# df -h | grep 'RhcPU4'
101T 175G 101T 1% /mnt/rackware/RhcPU4
/mnt/rackware/RhcPU4/0x1434219a3421803a.img
[root@awstbrmm42 ~]# umount /mnt/rackware/RhcPU4/0x1434219a3421803a.img
[root@awstbrmm42 ~]#

[root@awstbrmm42 ~]# mount | grep -i '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 on /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 type zfs (rw,noatime)
/srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0x7cf05804f057c356.img on /mnt/rackware/tT1g04 type ext4 (rw,loop=/dev/loop31,acl,user_xattr)
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70@29a053d9-b1f8-481c-b813-a981899d4017 on /mnt/rackware/RhcPU4 type zfs (rw)
[root@awstbrmm42 ~]# umount /mnt/rackware/RhcPU4
[root@awstbrmm42 ~]# mount | grep -i '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 on /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 type zfs (rw,noatime)
/srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70/0x7cf05804f057c356.img on /mnt/rackware/tT1g04 type ext4 (rw,loop=/dev/loop31,acl,user_xattr)
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]# umount /mnt/rackware/tT1g04
[root@awstbrmm42 ~]# mount | grep -i '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 on /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 type zfs (rw,noatime)
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]# mount | grep -i '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 on /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70 type zfs (rw,noatime)
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]# df -h | grep '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70
101T 177G 101T 1% /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]#

[root@awstbrmm42 ~]# df -h | grep '5b89fbe4-1c64-11ea-8116-ac1f6b8aab70'
rwzpool/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70
101T 177G 101T 1% /srv/images/5b89fbe4-1c64-11ea-8116-ac1f6b8aab70
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]#
[root@awstbrmm42 ~]# rw image delete HSYPWPX0S004-img
Image deleted: HSYPWPX0S004-img

[root@awstbrmm42 ~]#