Re: Software RAID1

2005-09-15 Thread Andrea Venturoli

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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Jason King
The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?

Jason
 
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.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Norberto Meijome
 
Andrea Venturoli wrote:



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.


Hi Jason:
1) please do NOT top post (i.e., don't reply @ the top of the email, it 
makes hell of understanding the thread). I've reordered this reply.



Jason King wrote:
 The instructions say to use ad0 and ad1 as the /dev names but those
 devices don't exist on my server. The device names are da0 and da1.

if you have scsi drives, it'll be da# (direct access #), S/PATA drives = 
 ad# .


Hence you *seem* to be using the right command.

I'd
 be glad to post anything you wish, but I don't know what the dmesg is,
 or how I get it. Can you tell me where I can get that information?

 Jason

2) man dmesg

and, btw, the steps in that howto definitely work...as a guide, just 
like any how to. there are always tweaks here and there to be done, 
which is why you should understand the steps rather than following them 
blindly and expecting them to work in your situation (although the 
gmirror bootstrap guide you refer to is actually pretty good).


Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Software RAID1

2005-09-15 Thread Gayn Winters
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jason King
 Sent: Thursday, September 15, 2005 5:16 AM
 To: freebsd-questions@freebsd.org
 Subject: Software RAID1
 
 
 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.
 
 Jason
 ___

Those instructions work fine, but you have to be very careful following
them.  (See below)

An alternate way to use gmirror for software mirroring as is described
in

http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/

These work fine as well.

Ralf's instructions, which you quote above, have the advantage of not
needing to go into Fixit mode using the 5.4 boot CD (hence it can be
executed remotely); however, it takes more typing and more reboots.  

If you use the latter, note that Ralf uses ATA drives ad0 and ad1, while
it looks like you may have da0 and da1.  You need to make the
appropriate transliteration ad -- da very carefully, especially in the
line for the boot loader where ad(1,a) -- da(1,a).

This latter paper also outlines how to mirror at the slice, rather than
the disk, level.

One final hint:  if you are playing around with gmirror on the same
disks, you can get into a situation where one attempt has left gmirror
information on the last sector of your disks.  This will confuse
gmirror, and you will have to load and use gmirror to clear it out.  (or
zero the entire disk with dd if=/dev/zero.) Read the man pages on
gmirror in any case!!!

Best of luck,

-gayn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Jerry McAllister
 
 The instructions say to use ad0 and ad1 as the /dev names but those
 devices don't exist on my server. The device names are da0 and da1. I'd
 be glad to post anything you wish, but I don't know what the dmesg is,
 or how I get it. Can you tell me where I can get that information?

ado, ad1adnn are IDE devices.   da0, da1dann are SCSI devices.
Use whichever you have.

jerry

 
 Jason
  
 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.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Jason King
So can I assume that these instructions will work with any device? I
realized that I didn't double check this:

especially in the
line for the boot loader where ad(1,a) -- da(1,a).

I didn't double check that. I'll follow through the instructions again
and make the correct change this time and we'll see what happens. I
don't have a problem until I have to reboot. That is when the
instructions want you to dd the first disk then add the first disk to
the gm0 mirror. Both commands give me errors. THe dd command right after
reboot gives command not allowed. And the gmirror add command give
can't access provider. I'll try again and let the list know what happens.

Jason

Jerry McAllister wrote:

The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?



ado, ad1adnn are IDE devices.   da0, da1dann are SCSI devices.
Use whichever you have.

jerry

  

Jason
 
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Jason King
Ok, I made the correction and I'm still getting these errors:

mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79
dd: /dev/da0: Operation not permitted
mail# gmirror configure -a gm0
mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

You can see from the above what section I am working on. It doesn't make
sense to me. I'm following the instructions verbatim. I only created one
slice and one partition. Any other ideas?

Jason

Jerry McAllister wrote:

The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?



ado, ad1adnn are IDE devices.   da0, da1dann are SCSI devices.
Use whichever you have.

jerry

  

Jason
 
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Jason King
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
[EMAIL PROTECTED]:/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=0x383f9ffFPU,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 
0xfea0-0xfeaf,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 
0xfe80-0xfe8f,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,0xc-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 0xa-0xb 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=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.1.165 netmask 0xff00 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=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 
  

Re: Software RAID1

2005-09-15 Thread Jason King
Also, I noticed that this command:

sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig /mnt/etc/fstab

Doesn't seem to do anything to the fstab file on the second disk. Isn't it 
suppose to be changing something?

Jason



Jerry McAllister wrote:

The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?



ado, ad1adnn are IDE devices.   da0, da1dann are SCSI devices.
Use whichever you have.

jerry

  

Jason
 
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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Software RAID1

2005-09-15 Thread Gayn Winters
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jason King
 Sent: Thursday, September 15, 2005 10:27 AM
 To: Jerry McAllister
 Cc: Andrea Venturoli; freebsd-questions@freebsd.org
 Subject: Re: Software RAID1
 
 
 Ok, I made the correction and I'm still getting these errors:
 
 mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79
 dd: /dev/da0: Operation not permitted
 mail# gmirror configure -a gm0
 mail# gmirror insert gm0 /dev/da0
 Cannot access provider da0.
 
 You can see from the above what section I am working on. It 
 doesn't make
 sense to me. I'm following the instructions verbatim. I only 
 created one
 slice and one partition. Any other ideas?
 
 Jason

Please post the relevant portions of dmesg so that we can see what
hardware (disks and controllers) you've got.

-gayn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Jason King
Appoligies:

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



Gayn Winters wrote:

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason King
Sent: Thursday, September 15, 2005 10:27 AM
To: Jerry McAllister
Cc: Andrea Venturoli; freebsd-questions@freebsd.org
Subject: Re: Software RAID1


Ok, I made the correction and I'm still getting these errors:

mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79
dd: /dev/da0: Operation not permitted
mail# gmirror configure -a gm0
mail# gmirror insert gm0 /dev/da0
Cannot access provider da0.

You can see from the above what section I am working on. It 
doesn't make
sense to me. I'm following the instructions verbatim. I only 
created one
slice and one partition. Any other ideas?

Jason



Please post the relevant portions of dmesg so that we can see what
hardware (disks and controllers) you've got.

-gayn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Software RAID1

2005-09-15 Thread Gayn Winters


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Jason King
 Sent: Thursday, September 15, 2005 10:37 AM
 To: Jerry McAllister
 Cc: Andrea Venturoli; freebsd-questions@freebsd.org
 Subject: Re: Software RAID1
 
 
 Also, I noticed that this command:
 
 sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig 
 /mnt/etc/fstab
 
 Doesn't seem to do anything to the fstab file on the second 
 disk. Isn't it suppose to be changing something?
 
 Jason
 
 
Yes, and you need to replace ad0 -- da0

-gayn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Jason King
Man I'm a moron. That sed command was what was screwing me up. I
couldn't see the ad0 until you pointed it out. Thanks so much. I think
that's got it...the synchronization is going onright now.

Jason

Gayn Winters wrote:

  

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jason King
Sent: Thursday, September 15, 2005 10:37 AM
To: Jerry McAllister
Cc: Andrea Venturoli; freebsd-questions@freebsd.org
Subject: Re: Software RAID1


Also, I noticed that this command:

sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig 


/mnt/etc/fstab
  

Doesn't seem to do anything to the fstab file on the second 
disk. Isn't it suppose to be changing something?

Jason




Yes, and you need to replace ad0 -- da0

-gayn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Software RAID1

2005-09-15 Thread Andrea Venturoli

Jason King wrote:

The instructions say to use ad0 and ad1 as the /dev names but those
devices don't exist on my server. The device names are da0 and da1. I'd
be glad to post anything you wish, but I don't know what the dmesg is,
or how I get it. Can you tell me where I can get that information?


Just run dmesg immediately after boot and report its output to the list.
This might however not be enough, but is a good starting point. You also 
forget to mention which os version you are running...


 bye
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]