Article View: comp.os.linux.help
Article #18534 files missing from /dev! (was: ext2fs filesystem died)
From: Tim Benham
Date: Sat, 16 Jul 1994 23:52
Date: Sat, 16 Jul 1994 23:52
52 lines
3734 bytes
3734 bytes
Good news! I have my system booting again. Bad news: no fewer than 9
block special and 25 character special files (including /dev/null)
has disappeared from /dev. In their place I have a whole swag of files
in /lost+found with cool names like #20205.
My question is, what the heck am I supposed to do about this? Should
I mv the files back to /dev? should I create new special files?
Tim Benham (bentj93@cserve.cs.adfa.oz.au) wrote:
: Recently I made the mistake of mke2fs-ing my remaining 57MB MSDOS
: partition. Despite doing everything as I had been told - umounted
: the dos partition, mke2fs'd it, edited /etc/fstab to suit - it
: never mounted correctly during system boot. Instead the error message
: shown at exhibit A was always displayed. Running fsck against /dev/hda1
: would always 'fix' the problem, but the error message remained the
: same. I edited /dev/hda1 out of /etc/fstab so as not to be continually
: reminded of the fact I had 57M of unusable disk.
: A few days later things went from bad to worse. It crashed during an
: X windows session (as it has always been wont to do) and now cannot
: be booted. Now it prints the error message shown at exhibit B ad nauseam.
: Needless to say this is very distressing, particularly as all my
: research work is on the partition in question. Any suggestions as
: to what might be the problem and, better, what might be the solution
: would be much appreciated. In the meantime I am trying to procure a
: boot floppy.
: ---------------- Exhibit A ----------------
: Parallelizing fsck version 0.5 (28-Mar-94)
: /dev/hda3 is clean, no check.
: /dev/hda1 is clean, no check.
: Remounting root device with read-write enabled.
: EXT2-fs error (device 3/1): ext2_check_blocks_bitmap: Wrong free blocks count for group 6, stored = 7930, counted = 0
: Remounting filesystem read-only
: EXT2-fs error (device 3/1): ext2_check_blocks_bitmap: Wrong free blocks count in super block, stored = 55497, counted = 47567
: Remounting filesystem read-only
: /dev/hda1 on /a type ext2 (rw)
: ---------------- Exhibit B ----------------
: ext2_fs error (device 3/3): ext2_find_entry: bad directory entry: rec_len%4!=0
: offset=540, inode=20205, rec_len=4373, name_len=4369
: --
: People who like this sort of thing
: will find this the sort of thing they like.
: Tim J.Benham bentj93@cs.adfa.oz.au
--
People who like this sort of thing
will find this the sort of thing they like.
Tim J.Benham bentj93@cs.adfa.oz.au
Technical Details
Message-ID:
<1994Jul16.235251.27564@sserve.cc.adfa.oz.au>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!news.kei.com!yeshua.marcam.com!charnel.ecst.csuchico.edu!psgrain!quagga.ru.ac.za!munnari.oz.au!newshost.anu.edu.au!sserve!duh.cs.adfa.oz.au!timReferences:
<1994Jul16.010625.25751@sserve.cc.adfa.oz.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100b1f,63a90abd77711821 X-Google-Attributes: gid100b1f,public X-Google-Thread: 102983,63a90abd77711821 X-Google-Attributes: gid102983,public X-Google-Thread: 10a997,63a90abd77711821 X-Google-Attributes: gid10a997,public X-Google-ArrivalTime: 1994-07-16 17:30:50 PST Newsgroups: comp.os.linux.help,aus.computers.linux,alt.uu.comp.os.linux.questions Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!hookup!news.kei.com!yeshua.marcam.com!charnel.ecst.csuchico.edu!psgrain!quagga.ru.ac.za!munnari.oz.au!newshost.anu.edu.au!sserve!duh.cs.adfa.oz.au!tim From: tim@duh.cs.adfa.oz.au (Tim Benham) Subject: 34 files missing from /dev! (was: ext2fs filesystem died) Message-ID: <1994Jul16.235251.27564@sserve.cc.adfa.oz.au> Followup-To: comp.os.linux.help,aus.computers.linux,alt.uu.comp.os.linux.questions Sender: news@sserve.cc.adfa.oz.au Organization: Australian Defence Force Academy, Canberra, Australia X-Newsreader: TIN [version 1.2 PL2] References: <1994Jul16.010625.25751@sserve.cc.adfa.oz.au> Date: Sat, 16 Jul 1994 23:52:51 GMT Lines: 52