xm block-list hostname
Vdev BE handle state evt-ch ring-ref BE-path
768 0 0 4 7 8 /local/domain/0/backend/vbd/18/768
51856 0 0 4 8 9 /local/domain/0/backend/vbd/18/51856
51872 0 0 4 9 10 /local/domain/0/backend/vbd/18/51872
51888 0 0 4 10 11 /local/domain/0/backend/vbd/18/51888
51904 0 0 4 11 12 /local/domain/0/backend/vbd/18/51904
51920 0 0 4 12 13 /local/domain/0/backend/vbd/18/51920
51936 0 0 4 13 14 /local/domain/0/backend/vbd/18/51936
xm block-detach hostname 51936 -f
xm block-attach hostname phy:/dev/sdo xvdo w! <===info can be found in vm.cfg
Vdev BE handle state evt-ch ring-ref BE-path
768 0 0 4 7 8 /local/domain/0/backend/vbd/18/768
51856 0 0 4 8 9 /local/domain/0/backend/vbd/18/51856
51872 0 0 4 9 10 /local/domain/0/backend/vbd/18/51872
51888 0 0 4 10 11 /local/domain/0/backend/vbd/18/51888
51904 0 0 4 11 12 /local/domain/0/backend/vbd/18/51904
51920 0 0 4 12 13 /local/domain/0/backend/vbd/18/51920
51936 0 0 4 13 14 /local/domain/0/backend/vbd/18/51936
xm block-detach hostname 51936 -f
xm block-attach hostname phy:/dev/sdo xvdo w! <===info can be found in vm.cfg
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26611303/viewspace-1171035/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26611303/viewspace-1171035/