Skip to content

Instantly share code, notes, and snippets.

@futeng
Created July 31, 2019 08:25
Show Gist options
  • Save futeng/0b70df8972a91885c150915afdaec00e to your computer and use it in GitHub Desktop.
Save futeng/0b70df8972a91885c150915afdaec00e to your computer and use it in GitHub Desktop.
err-report
### 操作步骤
```shell
# 卸载 `/home` 分区
umount /home
## 已删除中间步骤
# resize2fs -p
 /dev/mapper/VolGroup-LogVol01
# 查看磁盘
df -h
```
## 报错处理
```shell
resize2fs /dev/centos/root
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open /dev/centos/root
Couldn't find valid filesystem superblock.
```
这个报错的出现,只会出现在CentOS 7操作系统中。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment