I believe I resized an ext4 LVM volume incorrectly. It cannot be mounted anymore.[root@localhost mnt]# e2fsck /dev/fedora/homee2fsck 1.43.1 (08-Jun-2016)The filesystem size (according to the superblock) is 157286400 blocksThe physical size of the device is 136712192 blocksEither the superblock or the partition table is likely to be corrupt!Abort<y>? no/dev/fedora/home contains a file system with errors, check forced.Pass 1: Checking inodes, blocks, and sizesI had free space on the physical hard drive so I tried shrinking some partitions and extending others. Apparently I did something wrong.Before doing anything permanent, I randd if=/dev/fedora/home bs=4096 status=progress |gzip -c > ./dev_fedora_home.img.gzI doubt, but can't prove, the contents are OK aside from the block descriptors.  Fortunately, there is no encryption involved.  So, would running mke2fs -S /dev/fedora/home be an appropriate fix?Fedora release 25 (Twenty Five)NAME=FedoraVERSION=25 (Workstation Edition)ID=fedoraVERSION_ID=25PRETTY_NAME=Fedora 25 (Workstation Edition)ANSI_COLOR=0;34CPE_NAME=cpe:/o:fedoraproject:fedora:25HOME_URL=https://fedoraproject.org/BUG_REPORT_URL=https://bugzilla.redhat.com/REDHAT_BUGZILLA_PRODUCT=FedoraREDHAT_BUGZILLA_PRODUCT_VERSION=25REDHAT_SUPPORT_PRODUCT=FedoraREDHAT_SUPPORT_PRODUCT_VERSION=25PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicyVARIANT=Workstation EditionVARIANT_ID=workstationFedora release 25 (Twenty Five)Fedora release 25 (Twenty Five)Linux localhost.localdomain 4.8.6-300.fc25.x86_64 #1 SMP Tue Nov 1 12:36:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Need help recovering ext4
fedora;data recovery;ext4