Software RAID1

2005-09-15 Thread Jason King
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

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

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

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 @

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

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,

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

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

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:

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

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

Re: Software RAID1

2005-09-15 Thread Jason King
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

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

Re: Software RAID1

2005-09-15 Thread Jason King
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

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?