> Error storing directory block information (inode=366740508, block=0, > num=406081): Memory allocation failed >
Try ``scratch_files`` https://manpages.debian.org/buster/e2fsprogs/e2fsck.conf.5.en.html 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 https://manpages.debian.org/buster/util-linux/mkswap.8.en.html https://manpages.debian.org/buster/mount/swapon.8.en.html 7TB seems like too much for one partition imho. Consider splitting it into the parts > >