So, I was attempting to resize a large filesystem from 36T -> 50T. The raid expansion completed successfully. Extending the lvm partition went without error and running the fsck and the resize2fs commands completed without error.
Attempting to mount the filesystem fails with the following entry in dmseg output:
[4109179.786298] EXT4-fs (dm-0): no journal found
Code:
nas ~ # mount /dev/vg1/videos /mnt/videos -v
mount: wrong fs type, bad option, bad superblock on /dev/mapper/vg1-videos,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
nas ~ #
nas ~ # fsck.ext4 /dev/vg1/videos
e2fsck 1.42.12 (29-Aug-2014)
ext2fs_check_desc: Corrupt group descriptor: bad block for inode table
fsck.ext4: Group descriptors look bad... trying backup blocks...
Superblock has an invalid journal (inode 8).
Clear<y>? no
fsck.ext4: Illegal inode number while checking ext3 journal for videos
videos: ***** FILE SYSTEM WAS MODIFIED *****
videos: ********** WARNING: Filesystem still has errors **********
Any advice on next steps (without loosing data)? Should I allow the fsck to clear the block and continue the check?
Possible to roll back the resize operation so I can mount the filesystem?
Executing resize again shows nothing to do message:
Code:
nas ~ # resize2fs /dev/vg1/videos -p
resize2fs 1.42.12 (29-Aug-2014)
The filesystem is already 13670806528 (4k) blocks long. Nothing to do!
dmesg output entries from detecting disk capacity.
Code:
[sdd] 78118891520 512-byte logical blocks: (39.9 TB/36.3 TiB)
[sdd] 78118912000 512-byte logical blocks: (39.9 TB/36.3 TiB)
[sdd] 109366456320 512-byte logical blocks: (55.9 TB/50.9 TiB)
Thanks for any input.