device-mapper create ioctl failed: Device or resource busy

feelpurple發表於2017-01-09
更新分割槽表對映時報錯
[root@testdb1-priv ~]# kpartx -a /dev/mapper/redo
device-mapper: create ioctl on redo1part1-mpath-36000c298d4fa1fb2e9ef939870716ab3 failed: Device or resource busy

解決方法
[root@testdb1-priv ~]# dmsetup ls | grep redo
redop1 (253:8)
redo (253:4)
[root@testdb1-priv ~]# dmsetup remove redop1
[root@testdb1-priv ~]# kpartx -a /dev/mapper/redo

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26506993/viewspace-2132154/,如需轉載,請註明出處,否則將追究法律責任。

相關文章