《VxVM報(bào)錯(cuò)“Some volumes in the disk group are in use”的原因和解決方法》要點(diǎn):
本文介紹了VxVM報(bào)錯(cuò)“Some volumes in the disk group are in use”的原因和解決方法,希望對(duì)您有用。如果有疑問,可以聯(lián)系我們。
在使用SYMANTEC的VxVM卷管理軟件時(shí),執(zhí)行vxdg deport磁盤組(disk group)時(shí)報(bào)錯(cuò)“Some volumes in the disk group are in use”,形如:
# vxdg deport testdg
VxVM vxdg ERROR V-5-1-584 Disk group testdg: Some volumes in the disk group are in use
據(jù)SYMANTEC官方描述,該問題在VxVM 5.1以下才存在“This issue is applicable to systems running VxVM less than 5.1 version.”,但實(shí)際驗(yàn)證中發(fā)現(xiàn),在該版本依然存在該問題.
vxdg deport命令的作用是卸載磁盤組(disk group),其前提要求是磁盤組內(nèi)的卷已經(jīng)沒有I/O(若是文件系統(tǒng),就需要先umount該文件系統(tǒng)卷;若是裸設(shè)備,則需要停止應(yīng)用該設(shè)備的應(yīng)用).但在已經(jīng)umount該磁盤組的文件系統(tǒng)卷的情況下,還是遇到了無(wú)法卸載磁盤組并出現(xiàn)上述的錯(cuò)誤信息.
可以通過以下命令檢查VxVM卷是否有I/O操作:
# vxprint -g
若回顯信息中包含“devopen=on”,則表示該卷在內(nèi)核中依然處于使用狀態(tài),只是用df -k之類的命令無(wú)法查看而已.
SYMANTEC官方給的解決方法是——重啟該操作系統(tǒng),原文描述是“Only way to resolve the issue is to reboot the system.”
轉(zhuǎn)載請(qǐng)注明本頁(yè)網(wǎng)址:
http://www.fzlkiss.com/jiaocheng/4672.html