Error storing directory block information (inode=366740508, block=0, num=406081): Memory allocation failed
Try ``scratch_files``
This stanza controls when e2fsck will attempt to use scratch files to reduce the need for memory.
The system has 4GB of memory and a 8GB swap partition. The filesystem has 7TB. Is there a quick way to enlarge the swap space to help fsck.ext4 to finish the repair?
I do not have any unused partitions but have space for swap on other filesystems if that is possible.
You can create swap on any free partition, see
7TB seems like too much for one partition imho.
Consider splitting it into the parts