We have a freebsd 3.2 system and had to reboot it. Afterwards it could
not fine the following:
swapon: /dev/da0s1b: No such file or directory
swapon: /dev/da2s1b: No such file or directory
Automatic reboot in progress...
Can't stat /dev/da0s1a: No such file or directory
Can't stat /dev/da0s1a: No such file or directory
/dev/da0s1a: CAN'T CHECK FILE SYSTEM.
/dev/da0s1a: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
it seems that the above devices disappeared in /dev (See fstab file
below)and goes into maintenance mode.
_How do I recover the devices from my fstab file?? Why would they
suddenly disappear if there was no disk failure??
_There is no scsi errors and did a disklabel to check partitions and
everything looks good (see below):
# disklabel da0
# /dev/rda0c:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2212
sectors/unit: 35551782
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
#size offsetfstype [fsize bsize bps/cpg]
a: 40960004.2BSD 1024 819216 # (Cyl.0 - 25*)
b: 1048576 409600 swap# (Cyl. 25*- 90*)
c: 355517820unused0 0 # (Cyl.0 -
2212*)
e: 1638400 14581764.2BSD 1024 819216 # (Cyl. 90*- 192*)
f: 614400 30965764.2BSD 1024 819216 # (Cyl. 192*- 230*)
g: 409600 37109764.2BSD 1024 819216 # (Cyl. 230*- 256*)
# disklabel da1
# /dev/rda1c:
type: SCSI
disk: da1s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2212
sectors/unit: 35551782
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
#size offsetfstype [fsize bsize bps/cpg]
c: 355517820unused0 0 # (Cyl.0 -
2212*)
e: 1843200004.2BSD 1024 819216 # (Cyl.0 -
1147*)
f: 8192000 184320004.2BSD 1024 819216 # (Cyl. 1147*-
1657*)
# disklabel da2
# /dev/rda2c:
type: SCSI
disk: da2s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 2212
sectors/unit: 35551782
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
#size offsetfstype [fsize bsize bps/cpg]
b: 10485760 swap# (Cyl.0 - 65*)
c: 355517820unused0 0 # (Cyl.0 -
2212*)
e: 8192000 10485764.2BSD 1024 819216 # (Cyl. 65*- 575*)
f: 26311206 92405764.2BSD 1024 819216 # (Cyl. 575*-
2212*)
DMESGS:
Rebooting...
Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS drive E: is disk3
FreeBSD/i386 bootstrap loader, Revision 0.7 638/65532kB
([EMAIL PROTECTED], Tue May 18 03:22:02 GMT 1999)
Loading /boot/defaults/loader.conf
/kernel text=0x1d4631 data=0x1e380+0x22460 syms=[0x4+0x27610+0x4+0x27383]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [kernel]...
BIOS basemem (638K) != RTC basemem (640K), setting to BIOS value
BIOS extmem (65532K) != RTC extmem (65535K)
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
FreeBSD 3.2-RELEASE #0: Fri May 19 11:29:47 EDT 2000
[EMAIL PROTECTED]:/usr/src/sys/compile/FWNAU110
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (686-class CPU)
Origin = "GenuineIntel" Id = 0x652 Stepping=2
Features=0x183fbff>
real memory = 536870912 (524288K bytes)
avail memory = 518815744 (506656K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee0
io0 (APIC): apic id: 0, version: 0x00170011, at 0xfec0
Preloaded elf kernel "kernel" at 0xc0366000.
Probing for devices on PCI bus 0:
chip0: rev 0x02 on
pci0.0.0
chip1: rev 0x02 on pci0.4.0
ide_pci0: rev 0x01 on pci0.4.1
chip2: rev 0x02 on pci0.4.3
chip3: rev 0x02 on pci0.7.0
fxp0: rev 0x02 int a irq 16 on
pci0.8.0
fxp0: Ethernet address 00:a0:c9:ea:fe:f7
fxp1: rev 0x02 int a irq 17 on
pci0.9.0
fxp1: Ethernet address 00:a0:c9:e9:4e:6b
ahc0: rev 0x01 int a irq 19 on
pci0.10.0
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
vga0: rev 0x45 on pci0.13.0
Probing for devices on PCI bus 1:
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
fe0 not found at 0x300
atkbdc0 at 0x60-0x6f on motherboard
atk