作者:低契一巴掌 | 来源:互联网 | 2017-06-26 07:12
我想给500G的移动硬盘分区,已经分好两个区了,一个244.6G,另一个108G,我想给108G的重新分区,fdisk /dev/sdc2(回车),n(回车),p(回车),分区号默认为1,起始sector 默认,Last sector +5G,然后 w 保存退出的时候出问题了,问题如下:
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: 无效的参数.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
我百度了一下,百度关键字:fdisk error 22,人家说:after fdisk之后,执行 kpartx -a /dev/sdc2,但是还不行,求大神帮忙,感激不尽!