首先 modprobe nbd nbds_max=最大裝置數量 max_part=每一裝置最大分割數量 qemu-nbd -c /dev/nbd0 映像檔 連線 qemu-nbd -d /dev/nbd0 斷線 可用 partprobe 自動偵測映像檔內的分割