Questions tagged «lvm»

10
resize2fs:尝试打开时超级块中的魔术码错误
我正在尝试在CentOS7上调整逻辑卷的大小,但遇到以下错误: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/mapper/centos-root Couldn't find valid filesystem superblock. 我尝试添加新分区(使用fdisk)并使用vgextend扩展卷组,然后调整大小。使用lvextend调整逻辑卷的大小可以正常使用,但是在resize2fs失败。 我也尝试删除现有分区(使用fdisk)并使用更大的端块重新创建它,然后使用lvm pvresize调整物理卷的大小,然后使用lvm lvresize调整逻辑卷的大小。到目前为止,一切仍然正常。 一旦尝试使用resize2fs,并同时使用上述两种方法,就会收到完全相同的错误。 希望以下内容可以阐明一些内容。 fdisk -l [root@server~]# fdisk -l Disk /dev/xvda: 32.2 GB, 32212254720 bytes, 62914560 sectors Units = sectors of 1 * 512 = 512 bytes Sector …
150 lvm  centos7 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.