When I rebooted the machine I got a "giving up on xx buffers" message and all filesystems marked dirty. After rebooting the system background fsck run and left one filesystem dirty - "unexpected softupdate inconsistency". Then the system died within 20 seconds. After that I rebooted into single user mode started fsck manually:
matrix010# fsck -y /jail ** /dev/vinum/vinum0 ** Last Mounted on /jail ** Phase 1 - Check Blocks and Sizes fsck_ufs: cannot alloc 3221471004 bytes for inoinfo I got the same result when I run fsck_ufs with several alternate super blocks: matrix010# fsck_ufs -b 376512 /jail Alternate super block location: 376512 ** /dev/vinum/vinum0 ** Last Mounted on ** Phase 1 - Check Blocks and Sizes fsck_ufs: cannot alloc 3221471004 bytes for inoinfo matrix010# uname -a FreeBSD matrix010.matrix.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue May 25 03:40:04 CEST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MATRIX010 i386 matrix010# dumpfs /dev/vinum/vinum0 magic 19540119 (UFS2) time Thu May 27 10:17:07 2004 superblock location 65536 id [ 40859745 eb777bda ] ncg 638 size 60026571 blocks 58138046 bsize 16384 shift 14 mask 0xffffc000 fsize 2048 shift 11 mask 0xfffff800 frag 8 shift 3 fsbtodb 2 minfree 15% optim time symlinklen 120 maxbsize 16384 maxbpg 2048 maxcontig 8 contigsumsize 8 nbfree -263168101 ndir -268234373 nifree -255231657 nffree -268263 900 bpg 11761 fpg 94088 ipg 23552 nindir 2048 inopb 64 maxfilesize 140806241583103 sbsize 2048 cgsize 16384 csaddr 3000 cssize 10240 sblkno 40 cblkno 48 iblkno 56 dblkno 3000 cgrotor 468 fmod 0 ronly 0 clean 0 avgfpdir 64 avgfilesize 16384 flags unclean soft-updates fsmnt /jail volname swuid 0 The filesystem held about 1.3 million files, softupdates enabled. Is there any other way recover this filesystem on the fly? Thanks! ch -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x941B6B0B OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
pgp8si6qJ3NBN.pgp
Description: signature