Matjaz Kljun | 2 Jun 2005 16:07
Picon
Favicon

Why: device ad0 disconnected

Hi everybody!

I set up gmirror and the whole system is running flawlessly for four 
months.
As  I remember back then everything was ok. The other day I tried to 
list gmirror
and saw that ad0 is disconnected. I followed Ralf's instructions 
(http://people.freebsd.org/~rse/mirror/)
while  setting up gmirror and later added lescur 
kern.geom.mirror.debug=2 in /boot/loader.conf.

Has anyone a suggestion what to do in my case? Thx for the answers.

This are some infos about the problem

# less /var/log/messages
       ...
       May 26 16:44:23 lescur kernel: ad0: 76351MB <SAMSUNG 
SP0802N/TK200-04> [155127/16/63] at ata0-master UDMA100
       May 26 16:44:23 lescur kernel: ad2: 76351MB <SAMSUNG 
SP0802N/TK200-04> [155127/16/63] at ata1-master UDMA100
       May 26 16:44:23 lescur kernel: GEOM_MIRROR: Device gm0 created 
(id=3442036432).
       May 26 16:44:23 lescur kernel: GEOM_MIRROR: Device gm0: provider 
ad0 detected.
       May 26 16:44:23 lescur kernel: GEOM_MIRROR: Device gm0: provider 
ad2 detected.
       May 26 16:44:23 lescur kernel: GEOM_MIRROR: Device gm0: provider 
ad2 activated.
       May 26 16:44:23 lescur kernel: GEOM_MIRROR: Device gm0: provider 
(Continue reading)

Conrad Burger | 6 Jun 2005 12:39

Gmirror - need information and help

Hi all 

Hope someone can help me with the following problem(s).

The scenario: 2 system and 5 disks. Freebsd 5.3-p5 

I created a 3 member gmirror mirror on system1. 
Removed one member(disk) from system1. (Shut the system and removed disk)
Then inserted the disk in system2 and booted the system.

Now the problem is: on system1 I have a "2 member gmirror" and on system2 I have
a "1 member gmirror. And I can't add more members to the gmirror on system2.

System1's gmirror is in a degraded state. How do I "tell" gmirror to remove the
"removed disk" from its configuration and change its state to COMPLETE?

What do I need to do to be able to add a member to System2's gmirror?

Below are the output of how I tried to add another member to system2's gmirror
and the output of "gmirror list" on both systems.

Please help, I have been struggling with this problem for the last week. The
systems need to go into production!

Will provide more info per request...

Regards
Conrad 

Output of system2 (trying to add another member to gmirror(gm0))
(Continue reading)

FreeBSD bugmaster | 6 Jun 2005 13:01
Picon
Favicon

Current problem reports assigned to you

Current FreeBSD problem reports
Critical problems
Serious problems
Non-critical problems

S  Submitted   Tracker     Resp.       Description
-------------------------------------------------------------------------------
o [2005/03/26] kern/79251  geom        [2TB] newfs fails on 2.6TB gbde device

1 problem total.

Ken Gunderson | 6 Jun 2005 16:21

Re: Gmirror - need information and help

On Mon, 6 Jun 2005 12:39:30 +0200
"Conrad Burger" <conrad.burger <at> swistgroup.com> wrote:

> Hi all 
> 
> Hope someone can help me with the following problem(s).
> 
> The scenario: 2 system and 5 disks. Freebsd 5.3-p5 
> 
> I created a 3 member gmirror mirror on system1. 
> Removed one member(disk) from system1. (Shut the system and removed disk)
> Then inserted the disk in system2 and booted the system.
> 
> Now the problem is: on system1 I have a "2 member gmirror" and on system2 I have
> a "1 member gmirror. And I can't add more members to the gmirror on system2.
> 
> System1's gmirror is in a degraded state. How do I "tell" gmirror to remove the
> "removed disk" from its configuration and change its state to COMPLETE?
> 
> What do I need to do to be able to add a member to System2's gmirror?
> 
> Below are the output of how I tried to add another member to system2's gmirror
> and the output of "gmirror list" on both systems.
> 
> Please help, I have been struggling with this problem for the last week. The
> systems need to go into production!

"man gmirror" should give you most of what you need....  Basically you
need to tell system1 to "forget" about the provider you removed and you
need to clear the metadata on that disk. The metadata is written at the
(Continue reading)

Conrad Burger | 6 Jun 2005 16:34

RE: Gmirror - need information and help

************************************************************
Click here to view our e-mail legal notice: 
http://www.swistgroup.com/email.htm or call: +27 21 888 7920
************************************************************
Thanks for the reply. 

Just figured out "gmirror forget gm0" removes all the old "config stuff" and
puts the mirror in "COMPLETE" mode.

System1's mirror is happy and system2's mirror is busy syncing.

Now if someone could just help me get pgcluster 1.3 running I would be as happy
as a pig in mud, but that's for a different mailing list.

And Ken thanks for the time and effort... 

Cheers 
Conrad 

-----Original Message-----
From: owner-freebsd-geom <at> freebsd.org [mailto:owner-freebsd-geom <at> freebsd.org] On
Behalf Of Ken Gunderson
Sent: 06 June 2005 04:22 PM
To: freebsd-geom <at> freebsd.org
Subject: Re: Gmirror - need information and help

On Mon, 6 Jun 2005 12:39:30 +0200
"Conrad Burger" <conrad.burger <at> swistgroup.com> wrote:

> Hi all 
(Continue reading)

Tilman Linneweh | 7 Jun 2005 19:22
Picon
Favicon

Re: bin/78131: gbde "destroy" not working.

Synopsis: gbde "destroy" not working.

Responsible-Changed-From-To: freebsd-bugs-≥freebsd-geom
Responsible-Changed-By: arved
Responsible-Changed-When: Tue Jun 7 17:22:25 GMT 2005
Responsible-Changed-Why: 
over to GEOM Mailinglist

http://www.freebsd.org/cgi/query-pr.cgi?pr=78131
_______________________________________________
freebsd-bugs <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe <at> freebsd.org"

stephane renoux | 9 Jun 2005 14:44
Picon

gmirror over network

Hi,

I am currently trying to set up a gmirror on a machine, using two different 
ggate providers from 2 machines in the same local network... :
I export ad0s1g from two different machines, to a third one.

I then create ggate0 and ggate1 on this 3rd machine, and then set up a 
gmirror with this 2 ggatec

my question is, is this realistic?

Cause i encounter many various problems, at different moments, that don't 
seem to always happen...
like writing during a gmirror component is being synchronized sometimes 
cause the gmirror to be lost, and the computer on which it is created to 
freeze...

would this be because of my wrong geom use?

Thanks in advance,

Stephane
Eric Jungkurth | 10 Jun 2005 16:59
Picon

sparc64

Has anyone successfully configured gmirror or vinum on sparc64? I've 
had no luck on more than one V120 and a U60. If you've done it, please 
let me know how.

I suspect that some part of the process is writing to NVRAM somewhere 
outside of the label area, if that's the correct terminology. 
Specifically, the Forth interpreter will suddenly start auto-completion 
of commands, and will not accept common commands if it doesn't like 
them. For instance, when trying to boot from cdrom, the interpreter 
completes "boo" to "boot ", the only accepts "cd" after that, and does 
not accept any more characters after that, so when I try to enter "boot 
cdrom", I can only get to "boot cd", which of course isn't very 
helpful.

This condition can apparently be cleared by doing a reset-all, but not 
by doing set-defaults.

No matter what tack I've taken, I seemed to hit a dead end when it 
comes time to label the disks.

I'd appreciate any help anyone might give me, and I'm more than happy 
to help test. I'm comfortable making code changes or debugging, if that 
would help. I'd need some pointers, though.

Thanks,

Eric

FreeBSD bugmaster | 13 Jun 2005 13:02
Picon
Favicon

Current problem reports assigned to you

Current FreeBSD problem reports
Critical problems
Serious problems
Non-critical problems

S  Submitted   Tracker     Resp.       Description
-------------------------------------------------------------------------------
o [2005/02/26] bin/78131   geom        gbde "destroy" not working.
o [2005/03/26] kern/79251  geom        [2TB] newfs fails on 2.6TB gbde device

2 problems total.

Loren M. Lang | 16 Jun 2005 02:04

NetBSD/OpenBSD Disklabels

I have been working on patching geom_bsd to be able to read netbsd and
openbsd disklabels that I have on my quad boot system.  I currently have
it working, but I have a couple of questions about the proper way to do
this.  The two major changes I had to make to geom_bsd were to increase
the number of partitions from 8 to 16.  I did this by defining
MAXPARTITIONS before any of the header files were included.  The second
change was to fix the offset calculations of the partitions.  Since the
c and d partitions are done a little differently, I couldn't rely on
there offsets to detect the offset of the disklabels.  I decided to use
the a partition instead since that's starts at the beginning of the
slice 99% of the time.  The most correct answer might be to ask the MBR
label what it's offset is if there is an MBR label underneath.  The
logic in geom_bsd seems to be that all offsets are relative to disk
where the c partitions offset starts at the disklabel unless any
partition starts before c, then offsets are assumed relative to the
disklabel.

The patch I am using is:
http://www.tallye.com/~sttng359/unix/netbsd-dl.patch

--

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
(Continue reading)


Gmane