修复Linux磁盘中的坏道
修复Linux磁盘中的坏道
前言
方法
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10SPZX-22Z
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x826de920
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1920008191 1920006144 915.5G 83 Linux
/dev/sda2 1920010238 1953523711 33513474 16G f W95 Ext'd (LBA)
/dev/sda5 1920010240 1953523711 33513472 16G 82 Linux swap / Solaris
Partition 2 does not start on physical sector boundary.进入Rescue模式
修复主分区
查看磁盘健康情况
修复SWAP分区
参考资料
最后更新于