WARNING: Re-reading the partition table failed with error 16: 设备或资源
现象:划分磁盘有警告,
WARNING: Re-reading the partition table failed with error 16: 设备或资源忙.
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)
解决:让新生成的分区生效:
[root@Hengji ~]#reboot #这个是最好的方法(重启后新的分区表不一定生效)
或
[root@Hengji ~]# partx -a /dev/sda #获得新分区表(通过命令partx -a /dev/sda,重新获得分区表,这个还挺好使的)
标签:Re,partition,failed,16,WARNING,table,reading From: https://www.cnblogs.com/wusl123/p/18264558