- 论坛徽章:
- 0
|
因为要挂载qcow2磁盘文件,进入虚拟机的跟分区修改东西。
命令:
root@menglu:/images# qemu-nbd -c /dev/nbd0 ubuntu-demo-1.qcow2
然后查看日志报错了:
root@menglu:/images# dmesg | tail
[431241.489078] device-mapper: table: 252:0: nbd0 too small for target: start=61659134, len=2, dev_size=4194304
[433702.594472] block nbd0: NBD_DISCONNECT
[433702.594639] block nbd0: Unexpected reply (ffff8800ccf53c7
[433702.594714] block nbd0: queue cleared
[433710.013801] nbd: unregistered device at major 43
[433740.776861] nbd: registered device at major 43
[433745.526010] nbd0: p1 p2 < >
[433745.526013] nbd0: partition table partially beyond EOD, truncated
[433745.526035] nbd0: p1 size 61655040 extends beyond EOD, truncated
[433745.526092] nbd0: p2 start 61659134 is beyond EOD, truncated
请问大神们, 谁能帮忙分析分析。 卡在这问题上好久了。 实在不行的话, 就只有用raw格式的磁盘去挂载了 |
|