使用这个命令
parted -s -a optimal /dev/vdb mklabel gpt -- mkpart vdc1 xfs 1 -1
盘符贴错了,这是正在使用的盘,返回结果
Error: Partition(s) 1 on /dev/vdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
这个旧pv里还有重要数据,重启的话,就不能用了,请问有什么办法恢复?这个虚机有底层磁盘快照,如果重启,数据丢失,可以用磁盘快照恢复吗?
parted -s -a optimal /dev/vdb mklabel gpt -- mkpart vdc1 xfs 1 -1
盘符贴错了,这是正在使用的盘,返回结果
Error: Partition(s) 1 on /dev/vdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
这个旧pv里还有重要数据,重启的话,就不能用了,请问有什么办法恢复?这个虚机有底层磁盘快照,如果重启,数据丢失,可以用磁盘快照恢复吗?