bin/111146: fsck fails on 6Tfilesystem
Dan D Niles
dan at more.net
Mon Apr 9 16:30:10 UTC 2007
The following reply was made to PR bin/111146; it has been noted by GNATS.
From: Dan D Niles <dan at more.net>
To: Jan Srzednicki <w at wrzask.pl>
Cc: bug-followup at FreeBSD.org
Subject: Re: bin/111146: fsck fails on 6Tfilesystem
Date: Mon, 09 Apr 2007 11:27:10 -0500
On Sun, 2007-04-08 at 21:24 +0200, Jan Srzednicki wrote:
>
> If the values are all right, try running fsck with strace/truss and show
> the result.
>
I added a debugging print statement to fsck_ffs, and sent it a SIGINFO
every two seconds. Here is the tail of the output, and the tail of the
truss output.
It seems like it is allocation space for < 10k inodes at a time until it
fails. When it fails it is trying to allocate space for 1.5g inodes.
Is that normal?
/dev/da0: phase 1: cyl group 2223 of 33666 (6%)
Trying to calloc space for 2240 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 448 inodes
Trying to calloc space for 6208 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 768 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 448 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 448 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 448 inodes
Trying to calloc space for 4032 inodes
Trying to calloc space for 6208 inodes
Trying to calloc space for 1664 inodes
/dev/da0: phase 1: cyl group 2252 of 33666 (6%)
Trying to calloc space for 3584 inodes
/dev/da0: phase 1: cyl group 2253 of 33666 (6%)
Trying to calloc space for 448 inodes
Trying to calloc space for 3648 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 4352 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 5376 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 448 inodes
Trying to calloc space for 384 inodes
Trying to calloc space for 448 inodes
Trying to calloc space for 1572191256 inodes
fsck_ffs: cannot alloc 1993797728 bytes for inoinfo
919: break(0x22ab2000) = 0 (0x0)
1919: break(0x22ab3000) = 0 (0x0)
1919: lseek(4,0x6570640000,SEEK_SET) = 1885601792
(0x70640000)
1919: read(4,"\M-mA\^D\0\M-k\^C\0\0\M-j\^C\0\0"...,65536) = 65536
(0x10000)
1919: lseek(4,0x657bdf0000,SEEK_SET) = 2078212096
(0x7bdf0000)
1919: read(4,"\0\0\0\0U\^B\t\0004\^[\^EF\M-V\b"...,16384) = 16384
(0x4000)
1919: write(1,"Trying to calloc space for 448 i"...,38) = 38 (0x26)
1919: lseek(4,0x657bdf4000,SEEK_SET) = 2078228480
(0x7bdf4000)
1919: read(4,"\M-mA\^B\0\M-k\^C\0\0\M-j\^C\0\0"...,65536) = 65536
(0x10000)
1919: break(0x22ab4000) = 0 (0x0)
1919: lseek(4,0x657be04000,SEEK_SET) = 2078294016
(0x7be04000)
1919: read(4,"\0\0\0\0000\0\0\0000\0\0\0\0\0\0"...,65536) = 65536
(0x10000)
1919: lseek(4,0x65875b4000,SEEK_SET) = -2024062976
(0x875b4000)
1919: read(4,"\0\0\M-'\M-K,\M^H\M-:\M-Q*\^C\0"...,16384) = 16384
(0x4000)
1919: write(1,"Trying to calloc space for 15721"...,45) = 45 (0x2d)
1919: write(2,"fsck_ffs: ",10) = 10 (0xa)
1919: write(2,"cannot alloc 1993797728 bytes fo"...,41) = 41 (0x29)
1919: write(2,"\n",1) = 1 (0x1)
1919: exit(0x8)
1919: process exit, rval = 2048
More information about the freebsd-bugs
mailing list