NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Unable to fsck 4.5TB FFSv2 fs



On Thu, 25 Sep 2008, Christos Zoulas wrote:

On Sep 25, 12:15pm, netbsd%precedence.co.uk@localhost (Stephen Borrill) wrote:
-- Subject: Re: Unable to fsck 4.5TB FFSv2 fs

| ** /dev/rld1d
| ** Last Mounted on /usr/backup
| ** Phase 1 - Check Blocks and Sizes
| cannot alloc 4294967292 bytes for inoinfo

that is 0xfffffffc which looks very fishy. This patch adds overflow detection,
can you test it?

** /dev/rld1d
** Last Mounted on /usr/backup
** Phase 1 - Check Blocks and Sizes
too many inodes 18446744073709551615

Here's what dumpfs says about it, BTW:

endian  little-endian
location 65536  (-b 128)
magic   19540119 (UFS2) time    Thu Sep 25 03:54:30 2008
superblock location     65536   id      [ 48d94b7e 4e61a217 ]
cylgrp  dynamic inodes  FFSv2   sblock  FFSv2   fslevel 5
nbfree 134663289 ndir 146039 nifree 299740341 nffree 57545
ncg     6424    size    1220733440      blocks  1201821134
bsize   32768   shift   15      mask    0xffff8000
fsize   4096    shift   12      mask    0xfffff000
frag    8       shift   3       fsbtodb 3
bpg     23757   fpg     190056  ipg     46848
minfree 5%      optim   time    maxcontig 2     maxbpg  4096
symlinklen 120  contigsumsize 2
maxfilesize 0x000800800805ffff
nindir  4096    inopb   128
avgfilesize 16384       avgfpdir 64
sblkno  24      cblkno  32      iblkno  40      dblkno  2968
sbsize  4096    cgsize  32768
csaddr  2968    cssize  106496
cgrotor 0       fmod    0       ronly   0       clean   0x04
flags   none
fsmnt   /usr/backup
volname         swuid   0

--
Stephen



Home | Main Index | Thread Index | Old Index