Software RAID1

Jason King jking at informs.com
Thu Sep 15 10:31:27 PDT 2005


Here is the dmesg boot output

-----------------------------------------------

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005
    root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (651.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268173312 (255 MB)
avail memory = 252760064 (241 MB)
pnpbios: Bad PnP BIOS data checksum
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INTEL TR440BXA> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xef80-0xef9f irq 5 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge> at device 7.3 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xef00-0xef3f mem 0xfea00000-0xfeafffff,0xfebfa000-0xfebfafff irq 7 at device 12.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:d0:b7:1e:b6:80
fxp1: <Intel 82559 Pro/100 Ethernet> port 0xee80-0xeebf mem 0xfe800000-0xfe8fffff,0xfebf9000-0xfebf9fff irq 7 at device 13.0 on pci0
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:d0:b7:1e:b6:81
pci0: <display, VGA> at device 14.0 (no driver attached)
ahc0: <Adaptec 29160B Ultra160 SCSI adapter> port 0xe800-0xe8ff mem 0xfebfb000-0xfebfbfff irq 10 at device 15.0 on pci0
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
acpi_button0: <Sleep Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <floppy drive controller> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
orm0: <ISA Option ROMs> at iomem 0xcf800-0xd07ff,0xce800-0xcf7ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 651479500 Hz quality 800
Timecounters tick every 10.000 msec
acd0: CDROM <CD-224E/1.5A> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 3 lun 0
da0: <QUANTUM ATLAS10K3_36_SCA 020W> Fixed Direct Access SCSI-3 device 
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
da1 at ahc0 bus 0 target 4 lun 0
da1: <QUANTUM ATLAS10K3_36_SCA 020W> Fixed Direct Access SCSI-3 device 
da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C)
GEOM_MIRROR: Device gm0 created (id=2346568249).
GEOM_MIRROR: Device gm0: provider da1 detected.
GEOM_MIRROR: Device gm0: provider da1 activated.
GEOM_MIRROR: Device gm0: provider mirror/gm0 launched.
Mounting root from ufs:/dev/da0s1a
Pre-seeding PRNG:
 kickstart
.
Loading configuration files.
Entropy harvesting:
 interrupts
 ethernet
 point_to_point
 kickstart
.
swapon: adding /dev/da0s1b as swap device
Starting file system checks:
/dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s1a: clean, 16302862 free (67062 frags, 2029475 blocks, 0.4% fragmentation)
Setting hostname: mail.govdeals.com.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	options=8<VLAN_MTU>
	inet 192.168.1.165 netmask 0xffffff00 broadcast 192.168.1.255
	inet6 fe80::2d0:b7ff:fe1e:b680%fxp0 prefixlen 64 tentative scopeid 0x1 
	ether 00:d0:b7:1e:b6:80
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
add net default: gateway 192.168.1.1
Additional routing options:
.
Starting devd.
Mounting NFS file systems:
.
Starting syslogd.
NFS access cache time=2
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
Starting usbd.
Starting local daemons:
.
Updating motd
.
Configuring syscons:
 blanktime
.
Starting sshd.
Initial i386 initialization:
.
Additional ABI support:
 linux
.
Starting cron.
Local package initialization:
.
Additional TCP options:
.
Starting background file system checks in 60 seconds.

Wed Sep 14 14:02:41 EDT 2005
Sep 14 14:03:03 mail su: jking to root on /dev/ttyp0



Andrea Venturoli wrote:

> Jason King wrote:
>
>> I am having trouble with THESE instructions:
>> http://people.freebsd.org/~rse/mirror/
>>
>> I'm trying to create a RAID1 system with FreeBSD and the instructions
>> are not working. I'm getting this error:
>>
>> mail# gmirror insert gm0 /dev/da0
>> Cannot access provider da0.
>>
>> The command is trying to add the first disk /dev/da0 to the mirror gm0.
>> Has anyone else had success at creating a RAID1 mirror on FreeBSD. If
>> so, please let me know how you did it because these instructions are not
>> working at all.
>
>
> I used that tutorial on different machines and it has always worked.
> Maybe you have to substitute da0 with something else, that depends on
> your hardware. Can you provide a your dmesg at boot time?
>
>  bye
>     av.



More information about the freebsd-questions mailing list