Subject: Re: BIG Problem
To: Bill Studenmund <wrstuden@nas.nasa.gov>
From: Grant Stockly <gussie@stockly.com>
List: port-i386
Date: 08/02/1999 19:03:52
>Do an ls -l /dev/*wd0* and look at what you see. I see something like:
>
>crw-r----- 1 root operator 3, 0 Dec 16 1997 /dev/rwd0a
>crw-r----- 1 root operator 3, 1 Dec 16 1997 /dev/rwd0b
>crw-r----- 1 root operator 3, 2 Dec 16 1997 /dev/rwd0c
>crw-r----- 1 root operator 3, 3 Dec 16 1997 /dev/rwd0d
>crw-r----- 1 root operator 3, 4 Jul 8 11:44 /dev/rwd0e
>crw-r----- 1 root operator 3, 5 Jul 8 11:44 /dev/rwd0f
>crw-r----- 1 root operator 3, 6 Feb 1 1999 /dev/rwd0g
>crw-r----- 1 root operator 3, 7 Dec 16 1997 /dev/rwd0h
>brw-r----- 1 root operator 0, 0 Dec 16 1997 /dev/wd0a
>brw-r----- 1 root operator 0, 1 Jun 4 15:24 /dev/wd0b
>brw-r----- 1 root operator 0, 2 Dec 16 1997 /dev/wd0c
>brw-r----- 1 root operator 0, 3 Dec 16 1997 /dev/wd0d
>brw-r----- 1 root operator 0, 4 Dec 16 1997 /dev/wd0e
>brw-r----- 1 root operator 0, 5 Jan 25 1999 /dev/wd0f
>brw-r----- 1 root operator 0, 6 Dec 16 1997 /dev/wd0g
>brw-r----- 1 root operator 0, 7 Dec 16 1997 /dev/wd0h
>^^ ^^^^
>
>The dates aren't important... Just the info in the indicated columns.
>
>boot single user and then mount /kern. If there's a /kern/rrootdev node,
>use it for fsck (fsck /kern/rrootdev).
>
>Good luck!
>
>Take care,
>
>Bill
Mine looks like this:
brw-r----- 1 root operator 0, 6 Jun 8 22:29 /dev/rwd0a
brw-r----- 1 root operator 0, 7 Jun 8 22:29 /dev/rwd0b
crw-r----- 1 root operator 3, 0 Jun 8 22:29 /dev/rwd0c
crw-r----- 1 root operator 3, 1 Jun 8 22:29 /dev/rwd0d
crw-r----- 1 root operator 3, 2 Ju 8 22:29 /dev/rwd0e
crw-r----- 1 root operator 3, 3 Jun 8 22:29 /dev/rwd0f
crw-r----- 1 root operator 3, 4 Jun 21 11:24 /dev/rwd0g
crw-r----- 1 root operator 3, 5 Jun 8 22:29 /dev/rwd0h
crw-r----- 1 root operator 0, 0 Jun 8 22:29 /dev/wd0a
crw-r----- 1 root operator 0, 1 Jun 8 22:29 /dev/wd0b
brw-r----- 1 root operator 0, 2 Jun 8 22:29 /dev/wd0c
brw-r----- 1 root operator 0, 3 Jun 8 22:29 /dev/wd0d
brw-r----- 1 root operator 0, 4 Jun 8 22:29 /dev/wd0e
brw-r----- 1 root operator 0, 5 Jun 8 22:29 /dev/wd0f
Do you know how it got all messed up and where wd0g/h went?
I mounted /kern using {mount -A} and aparently fixed my drive.
My only problem now is that a bunch of files were marked as bad...including
makedev.LOCAL (not sure if thats the right name...)
Can I type 'makedev' or something to remake all devices?
Thanks,
Grant