mdadm: RAID5 Array crashed on reshape (shrink) due to file system error
by Konstantin92 from LinuxQuestions.org on (#5QS9N)
Hello there!
Unfortunately I messed up things when I attempted to shrink my RAID5 array. Originally this array had 5 x 16TB drives, which I wanted to downscale to a 4 x 16TB array. Therefore, I followed this doc: https://documentation.suse.com/sles/...id-resize.html
Dump as shit, I did not adjust the file-system before using mdadm, which broke the file-system apparently. The reshape process is stuck at 0% and the array is not mountable.
I tried some things like testdisk (which tells me, that "The harddisk (48 TB / 43 TiB) seems too small! (< 64 TB / 58 TiB)"
Code:dmesg said: Code:EXT4-fs (md1): bad geometry: block count 15627725312 exceeds size of device (11720793984 blocks)So: Is there a way to revert the reshape process? (Code:--update=revert-reshape does not work)
(linked to that:) Is there a way to extend the number of devices again? (so that the block count matches the device size)
Or is there a way to modify the file-system, so that reshape could continue?
Or is there a way to recover some of the data files?
Any suggestion is highly appreciated! Also, if you need more information, please let me know.
Unfortunately I messed up things when I attempted to shrink my RAID5 array. Originally this array had 5 x 16TB drives, which I wanted to downscale to a 4 x 16TB array. Therefore, I followed this doc: https://documentation.suse.com/sles/...id-resize.html
Dump as shit, I did not adjust the file-system before using mdadm, which broke the file-system apparently. The reshape process is stuck at 0% and the array is not mountable.
I tried some things like testdisk (which tells me, that "The harddisk (48 TB / 43 TiB) seems too small! (< 64 TB / 58 TiB)"
Code:dmesg said: Code:EXT4-fs (md1): bad geometry: block count 15627725312 exceeds size of device (11720793984 blocks)So: Is there a way to revert the reshape process? (Code:--update=revert-reshape does not work)
(linked to that:) Is there a way to extend the number of devices again? (so that the block count matches the device size)
Or is there a way to modify the file-system, so that reshape could continue?
Or is there a way to recover some of the data files?
Any suggestion is highly appreciated! Also, if you need more information, please let me know.