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, Sep 25, 2008 at 04:58:46PM +0100, Stephen Borrill wrote:
> 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

Just tried it at home on a -current i386 system as of early september.  As I
don't have a 4.5TB disk here used a plain file (-F) on an UFS2 file system (*1):

$ newfs -O 2 -f 4096 -b 32768 -I -F -s 9765867520 x3x
x3x: 4768490.0MB (9765867520 sectors) block size 32768, fragment size 4096
        using 6424 cylinder groups of 742.41MB, 23757 blks, 46848 inodes.
super-block backups (for fsck_ffs -b #) at:
192, 1520640, 3041088, 4561536, 6081984, 7602432, 9122880, 10643328, 12163776,
...............................................................................

$ fsck_ffs -F -f x3x
** x3x
** File system is already clean
** Last Mounted on
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
1 files, 1 used, 1201821133 free (13 frags, 150227640 blocks, 0.0% 
fragmentation)

Same result with newfs/fsck_ffs binaries from 4.0 running on -current.

Are you sure your device is >4TB clean?
Is there some magic using partition d (whole disk)?

(*1) Don't try this on a WAPBL file system -- removing this file will take
     eons and render the machine unusable.

-- 
Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)


Home | Main Index | Thread Index | Old Index