I have a CentOS 7 KVM host. A partition on one of the VM's seems to be corrupt. Image is qcow2. When trying to mount the image to troubleshoot I receive the following error:
[root@vmhost02 images]# guestmount -a cpanel-vm.qcow2 -m /dev/sbcd /mnt/temp libguestfs: error: vfs_type: vfs_type_stub: /dev/sbcd: No such file or directory libguestfs: error: mount_options: mount_options_stub: /dev/sbcd: No such file or directory guestmount: '/dev/sbcd' could not be mounted. guestmount: Did you mean to mount one of these filesystems? guestmount: /dev/sda1 (xfs) guestmount: /dev/centos/home (xfs) guestmount: /dev/centos/root (xfs) guestmount: /dev/centos/swap (swap) [root@vmhost02 images]# guestmount -a cpanel-vm.qcow2 -m /dev/centos/root /mnt/temp libguestfs: error: mount_options: /dev/centos/root on / (options: ''): mount: mount /dev/mapper/centos-root on /sysroot failed: Structure needs cleaning guestmount: '/dev/centos/root' could not be mounted.
I am unsure of how to repair this as I can only use guestmount to my knowledge to access the partition but that is failing?