I build/install world last night after reboot, one of my filesystem is broken (it uses soft-updates)
when I run fsck on it, it said : cannot find filesystem superblock <cut> ** /dev/da0s3e LOOK FOR ALTERNATE SUPERBLOCKS? yes USING ALTERNATE SUPERBLOCK AT 32 numdirs is zero, try using an alternate superblock ***** FILE SYSTEM STILL DIRTY ***** </cut> I've tried alternative superblock (8193 and 16385) <cut> Alternate super block location: 8193 ** /dev/da0s3e UNDEFINED OPTIMIZATION IN SUPERBLOCK SET TO DEFAULT? yes IMPOSSIBLE MINFREE=842226459 IN SUPERBLOCK SET TO DEFAULT? yes cannot alloc 3779963748 bytes for blockmap ***** FILE SYSTEM MARKED DIRTY ***** </cut> <cut> Alternate super block location: 16385 ** /dev/da0s3e UNDEFINED OPTIMIZATION IN SUPERBLOCK SET TO DEFAULT? yes IMPOSSIBLE MINFREE=779380589 IN SUPERBLOCK SET TO DEFAULT? yes cannot alloc 2355957190 bytes for blockmap CANNOT WRITE BLK: 0 CONTINUE? yes THE FOLLOWING SECTORS COULD NOT BE WRITTEN: 0, ***** FILE SYSTEM STILL DIRTY ***** </cut> anyone got any idea how I can fix it ? did it mean that I have a bad sector ? -- int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\ o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} -- IOCCC 1984
msg41181/pgp00000.pgp
Description: PGP signature