Skip to contentSkip to conversation

btrfsck is using far too much memory

DISCUSSION Christian Robert 1 participant 1 message Apr 26, 2014 Btrfs file system

lore
Share & tools
lore
#0 lore raw

btrfsck is using far too much memory !

I tryed a btrfsck on my /dev/md127 (13T) and had to kill it
because btrfsck used 7.8 Gigs of ram ( machine have 8 Gigs of ram, plus four Gigs on swap when I killed it)

btrfsck should not try to bring "in memory" the whole metadata, etc.

my 2 cents, (will reformat /dev/md127 tomorrow, actually saving what can be saved on the old readonly fs)

Xtian.