在某些情况下,经常会出现创建的设备无法被正常删除,可以参考redhat的官方网站https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/removing_devices.html
下面为此网站的原文,reference
5. Removing a Storage Device
Before removing access to the storage device itself, it is
advisable to back up data from the device first. Afterwards, flush
I/O and remove all operating system references to the device (as
described below). If the device uses multipathing, then do this for
the multipath "pseudo device" (Section 4.1, “WWID”) and each of the
identifiers that represent a path to the device. If you are only
removing a path to a multipath device, and other paths will remain,
then the procedure is simpler, as described in Section 7, “Adding a
Storage Device or Path”.
Removal of a storage device is not recommended w