Bug #42559
closedkernel rbd unmap command for force option will show Invalid argument
0%
Description
In Ceph version 14.2.4 (75f4de193b3ea58512f204623e6c5a16e6c1e1ba) nautilus (stable)
When I use rbd unmap command with force option, will show below error message
# rbd unmap /dev/rbd0 -o force rbd: sysfs write failed rbd: unmap failed: (22) Invalid argument
Updated by Brad Hubbard over 4 years ago
- Project changed from Ceph to Linux kernel client
- Category set to rbd
Updated by Ilya Dryomov over 4 years ago
- Assignee set to Ilya Dryomov
Which kernel is this on? Is there anything in dmesg?
Updated by Duncan Chiang over 4 years ago
My env os is ubuntu 16.04
I tested in 4.4.0-142-generic is failed
But I tested in 4.15.0-66-generic is Ok now.
Maybe my env should be update kernel version...
Very thanks
Updated by Duncan Chiang over 4 years ago
And I checked the dmesg log is show nothing...
Updated by Ilya Dryomov over 4 years ago
- Status changed from New to Closed
Yes, -o force was introduced in 4.9. Be aware that it isn't a generic "unmap no matter what" option, the only thing it does is it bypasses the "is this device still open" check.
Updated by Duncan Chiang over 4 years ago
Ilya Dryomov wrote:
Yes, -o force was introduced in 4.9. Be aware that it isn't a generic "unmap no matter what" option, the only thing it does is it bypasses the "is this device still open" check.
Thanks your help, Ilya.