fsck of large volume with small memory
wojtek at wojtek.tensor.gdynia.pl
Sun Aug 19 06:12:03 PDT 2007
> Hi all
> Is there any possibillity to fsck a 1.2 TB 40% filled volume with a
> machine that has not that much memory, in this case only 1.5 GB.
> The fsck gives me a friendly
> # fsck /dev/da1
> ** /dev/da1
> ** Last Mounted on /fileserver
> ** Phase 1 - Check Blocks and Sizes
> fsck_ufs: cannot alloc 4290901164 bytes for inoinfo
> and quits.
quite a lot of memory. on i386 you simply can't allocate >4GB VM.
but i have larger volumes without problems.
what was your newfs options when creating it.
of course you did man fsck_ffs ? :) default options are NOT good,
overallocates inodes, and possibly needs that amount of ram because of
if your machine is 64-bit capable use amd64 not i386 version - no 4GB
More information about the freebsd-questions