Re: State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-12 Thread Greg 'groggy' Lehey
On Thursday, 12 May 2005 at 17:16:59 +0200, Matthias Buelow wrote:
> Peter Orlowski wrote:
>
>>> At this point, I'm thinking that as far as S/W RAID goes in FreeBSD, the
>>> "R" is pretty meaningless
>>
>> Well, "R" does not mean "redundant" but "realtime backup" ;-(.
>
> BTW., what is the status of RaidFrame on FreeBSD?  I remember some time
> ago people were working on integrating it into 5.x or so?  I have good
> experience with Raidframe on NetBSD, and less good with vinum on FreeBSD
> so I'd be delighted if Raidframe could make it into FreeBSD (and work
> equally well, of course).

RAIDFrame was introduced to FreeBSD some years ago, but died during to
lack of love.

Greg
--
See complete headers for address and phone numbers
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-12 Thread Matthias Buelow
Peter Orlowski wrote:

>>At this point, I'm thinking that as far as S/W RAID goes in FreeBSD, the 
>>"R" is pretty meaningless
> 
> Well, "R" does not mean "redundant" but "realtime backup" ;-(.

BTW., what is the status of RaidFrame on FreeBSD?  I remember some time
ago people were working on integrating it into 5.x or so?  I have good
experience with Raidframe on NetBSD, and less good with vinum on FreeBSD
so I'd be delighted if Raidframe could make it into FreeBSD (and work
equally well, of course).

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


Re: State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-11 Thread Peter Orlowski
On Wed, May 11, 2005 at 11:42:02AM -0600, secmgr wrote:
> >
> >I had to erase the gmirror metadata on the intact disk to get it
> >to work again. 
> >
> What steps did you take to the gmirror the disk so you could get your 
> data back?

I took the physically intact disk and did a

gmirror clear /dev/ad4 .

Then I could fsck the filesystems on it and use it as plain
/dev/ad4, i.e. no longer as a mirrored disk. Probably I could
have started over with 

gmirror label m1 ad4

but I was reluctant to do that to a disk that had all the user data
on it. So I rather changed the fstab not to use the mirror any
more.

At some stage in that procedure I also lost the gmirror metadata 
on the gmirrored system disk. It's not clear to me how that
happened, but when I tried to boot the system after removing the 
physically broken SATA-disk, that is with only the "logically
broken" part of the data gmirror installed (before erasing the
gmirror metadata), it found only the
broken data gmirror (and did not want to use it), but the intact
gmirrored system disk had completely disappeared. That didn't
change when I tried to boot with the system disks alone. I had 
to boot a rescue system and tell fstab to use a plain disk as 
the system disk, too.


> 
> At this point, I'm thinking that as far as S/W RAID goes in FreeBSD, the 
> "R" is pretty meaningless

Well, "R" does not mean "redundant" but "realtime backup" ;-(.

Peter


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


Re: State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-11 Thread secmgr
Peter Orlowski wrote:
On Tue, May 10, 2005 at 11:24:12AM -0600, secmgr wrote:
 

Gabor Esperon wrote:
   

How reliable is the gmirror subsystem?
 

gmirror seems fine as best as I can tell.  I've been running it for a 
few months on sata drives.
   

I had gmirror running on two IDE drives for system and two SATA
drives for user data. That was RELENG_5_3. When one of the SATA 
drives broke (later I got errors like 

ad4: FAILURE - READ_DMA status=51  

on fscking) the whole system just stopped. I could switch
consoles but nothing else. Nothing in the logs either. I believe
it had lost all it's file systems.
After power cycling, both mirrors were found but marked as broken.  
Gmirror chose the defective SATA disk as the intact one and started
rebuilding the mirror from that - but fscking the mirror failed,
obviously, so I ended up with one disk that was broken, but marked intact
by gmirror and one disk the other way round.

I had to erase the gmirror metadata on the intact disk to get it
to work again. 

I'd say gmirror will save your data but it won't save you from some
downtime...
Greetings,  Peter
 

What steps did you take to the gmirror the disk so you could get your 
data back?

At this point, I'm thinking that as far as S/W RAID goes in FreeBSD, the 
"R" is pretty meaningless

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


Re: State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-11 Thread Peter Orlowski
On Tue, May 10, 2005 at 11:24:12AM -0600, secmgr wrote:
> Gabor Esperon wrote:
> >
> >How reliable is the gmirror subsystem?
> 
> gmirror seems fine as best as I can tell.  I've been running it for a 
> few months on sata drives.

I had gmirror running on two IDE drives for system and two SATA
drives for user data. That was RELENG_5_3. When one of the SATA 
drives broke (later I got errors like 

ad4: FAILURE - READ_DMA status=51  

on fscking) the whole system just stopped. I could switch
consoles but nothing else. Nothing in the logs either. I believe
it had lost all it's file systems.

After power cycling, both mirrors were found but marked as broken.  
Gmirror chose the defective SATA disk as the intact one and started
rebuilding the mirror from that - but fscking the mirror failed,
obviously, so I ended up with one disk that was broken, but marked intact
by gmirror and one disk the other way round.

I had to erase the gmirror metadata on the intact disk to get it
to work again. 

I'd say gmirror will save your data but it won't save you from some
downtime...

Greetings,  Peter



-- 
Peter Orlowski  
Institut für Theoretische Physik
Technische Universität Berlin

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


Re: State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-10 Thread secmgr
Gabor Esperon wrote:
How reliable is the gmirror subsystem?
gmirror seems fine as best as I can tell.  I've been running it for a 
few months on sata drives.

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


Re: State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-10 Thread secmgr
Edwin Brown wrote:
All:
I've been asked to setup a RAID-5 server using software raid. I've not
worked with gvinum or vinum for that matter. I know from following the
mailing lists there have been some concerns over gvinum in the
5.3-RELEASE. How are things working today?
The plan would be use a 40GB ATA/100 Drive for the system and 4 SATA
drives for the RAID-5 array. Will gvinum be happy with this kind of
arrangement?
Well, you want to stay away from vinum in 5.x.  Under 5.3 gvinum and 
raid 5 was not robust, and I could kill a system and corrupt the array 
by pulling a drive.  I haven't tried lately, but i'd definitly want to 
do some serious testing before putting that into production.  If you 
really need raid 5, I'd look into a H/W based solution.

and yes, I filed PR's that so far have not been answered.
jim
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


State of gvinum RELENG_5 or RELENG_5_4 ?!

2005-05-10 Thread Edwin Brown
All:

I've been asked to setup a RAID-5 server using software raid. I've not
worked with gvinum or vinum for that matter. I know from following the
mailing lists there have been some concerns over gvinum in the
5.3-RELEASE. How are things working today?

The plan would be use a 40GB ATA/100 Drive for the system and 4 SATA
drives for the RAID-5 array. Will gvinum be happy with this kind of
arrangement?

Thanks in advance


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