当前centos7系统,无意中查看messages日志看到了以下报错信息
cat /var/log/messages | grep error
报错内容如下:
root kernel: GPT: Use GNU Parted to correct GPT errors
解决办法:
如果没有parted命令,可通过yum install parted安装,我这里只有/dev/vda一块盘,所以仅供参考
1 2 3 4 5 6 7 8 9 |
parted select /dev/vda print Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)? Fix/Ignore/Cancel? 输入Fix修复 Warning: Not all of the space available to /dev/vda appears to be used, you can fix the GPT to use all of the space (an extra 30272336 blocks) or continue with the current setting? Fix/Ignore? 输入Fix修复 |
原文链接:GPT: Use GNU Parted to correct GPT errors报错,转载请注明来源!