-
Bug
-
Resolution: Done
-
Major
-
None
-
rhel-9.3.0
-
None
-
Moderate
-
rhel-sst-logical-storage
-
ssg_filesystems_storage_and_HA
-
2
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
Description of problem:
thin_rmap returns 0 when using invalid range. It should return 1 and an error message.
Version-Release number of selected component (if applicable):
device-mapper-persistent-data-1.0.4-1.el9
How reproducible:
always
Steps to Reproduce:
1. thin_rmap /dev/mapper/vgtest-swapvol --region 10..0
Actual results:
thin_rmap returns 0 and no output
Expected results:
Should return 1 for using invalid range and print error message similar to one in 0.9.0 version
Additional info:
In 0.9.0 thin_rmap returns following error message for invalid regions:
- thin_rmap /dev/mapper/vgtest-swapvol --region 0..0
badly formed region (end <= begin)
- thin_rmap /dev/mapper/vgtest-swapvol --region 10..0
badly formed region (end <= begin)
- external trackers