resize2fs: Bad magic number in super-block while t
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了resize2fs: Bad magic number in super-block while t相关的知识,希望对你有一定的参考价值。
resize2fs: Bad magic number in super-block while trying to open /dev/mapper/cl-root[[email protected] ~]# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/mapper/cl-root xfs 18G 18G 897M 96% /
devtmpfs devtmpfs 901M 0 901M 0% /dev
tmpfs tmpfs 912M 0 912M 0% /dev/shm
tmpfs tmpfs 912M 608K 912M 1% /run
tmpfs tmpfs 912M 0 912M 0% /sys/fs/cgroup
/dev/sda1 xfs 1014M 186M 829M 19% /boot
tmpfs tmpfs 183M 0 183M 0% /run/user/0
[[email protected] ~]# vgdisplay
--- Volume group ---
VG Name cl
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size <19.00 GiB
PE Size 4.00 MiB
Total PE 4863
Alloc PE / Size 4862 / 18.99 GiB
Free PE / Size 1 / 4.00 MiB
VG UUID 0g6KUL-2kdC-e4Ml-EMFH-2JYs-SNUT-bn09Od
[[email protected] ~]# pvcreate /dev/sdc
Physical volume "/dev/sdc" successfully created.
[[email protected] ~]# vgextend c1 /dev/sdc
Volume group "c1" not found
Cannot process volume group c1
[[email protected] ~]# vgscan
Reading volume groups from cache.
Found volume group "cl" using metadata type lvm2
[[email protected] ~]# vgextend lvm2 /dev/sdc
Volume group "lvm2" not found
Cannot process volume group lvm2
[[email protected] ~]# pscan
-bash: pscan: command not found
[[email protected] ~]# pvscan
PV /dev/sda2 VG cl lvm2 [<19.00 GiB / 4.00 MiB free]
PV /dev/sdc lvm2 [20.00 GiB]
Total: 2 [<39.00 GiB] / in use: 1 [<19.00 GiB] / in no VG: 1 [20.00 GiB]
[[email protected] ~]# pvscan
PV /dev/sda2 VG cl lvm2 [<19.00 GiB / 4.00 MiB free]
PV /dev/sdc lvm2 [20.00 GiB]
Total: 2 [<39.00 GiB] / in use: 1 [<19.00 GiB] / in no VG: 1 [20.00 GiB]
[[email protected] ~]# vgextend cl /dev/sdc
Volume group "cl" successfully extended
[[email protected] ~]# vgdisplay
--- Volume group ---
VG Name cl
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 2
Act PV 2
VG Size 38.99 GiB
PE Size 4.00 MiB
Total PE 9982
Alloc PE / Size 4862 / 18.99 GiB
Free PE / Size 5120 / 20.00 GiB
VG UUID 0g6KUL-2kdC-e4Ml-EMFH-2JYs-SNUT-bn09Od
[[email protected] ~]# resize2fs /dev/mapper/cl-root
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open /dev/mapper/cl-root
Couldn't find valid filesystem superblock.
以上是关于resize2fs: Bad magic number in super-block while t的主要内容,如果未能解决你的问题,请参考以下文章
LVM 扩容报错:resize2fs: Bad magic number in super-block while......
resize2fs: Bad magic number in super-block while trying to open /dev/centos/root Couldn't find v
10.lv扩容报错:resize2fs: Bad magic number in super-block while trying to open
LVM做扩容Bad magic number in super-block while trying
故障处理:磁盘扩容出错:e2fsck: Bad magic number in super-block while trying to open /dev/vdb1
Ubuntu 14.04 samba提示bad talloc magic value - access after free报错