Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Artem Kuchin
Martin Nilsson wrote: Artem Kuchin wrote: But i don't understand how and why it happened. ONly 6 hours ago (a night before) all those files were backed up fine w/o any read error. And now, right after replacing the driver and starting rebuild it said that there are bad sectors all over those

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Daniel O'Connor
On Tue, 21 Aug 2007, Artem Kuchin wrote: could get access to number of left reserved sector for remapping. Any idea about these two for 3ware controllers? Also, someone should mention, that while using raid MUST do verifies often. You can run smartmontools on disks behind 3ware controllers, eg

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Darren Pilgrim
Artem Kuchin wrote: That exactly was i was talking about. I don't acess to individual disks behind raid unit, so, i cannot doit. I don't know it controller VERIFY command does it right. If it doesm then i shoudl put it into a cron job and do it on weekly basis. Also, it would halpfull it i

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Rob MacGregor
Artem Kuchin unleashed the infinite monkeys on 20/08/2007 23:38 producing: ---SNIP--- But i don't understand how and why it happened. ONly 6 hours ago (a night before) all those files were backed up fine w/o any read error. And now, right after replacing the driver and starting rebuild it

RE: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Daniel Eriksson
While we are on the subject: What is the practical difference between VERIFY and REBUILD with regards to a RAID-5 array? My Highpoint RocketRAID 2320 and 2340 cards can be scheduled to perform either verify or rebuild. I currently have them set to verify the arrays weekly. Is that reasonably

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Artem Kuchin
Darren Pilgrim wrote: Artem Kuchin wrote: That exactly was i was talking about. I don't acess to individual disks behind raid unit, so, i cannot doit. I don't know it controller VERIFY command does it right. If it doesm then i shoudl put it into a cron job and do it on weekly basis. Also, it

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Artem Kuchin
You can run smartmontools on disks behind 3ware controllers, eg /dev/twe0 -d 3ware,0 -a -o on -S on -m [EMAIL PROTECTED] /dev/twe0 -d 3ware,1 -a -o on -S on -m [EMAIL PROTECTED] did this: smartctl /dev/twe0 -d 3ware,1 -a for each driver on another server. Two driver are pretty old, the driver

RE: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread David Schwartz
While we are on the subject: What is the practical difference between VERIFY and REBUILD with regards to a RAID-5 array? Verify should at a minimum read all the data. Ideally, it would read the checksum blocks too to make sure they are still valid, but it might not. Rebuild should read all

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Daniel O'Connor
On Tue, 21 Aug 2007, Artem Kuchin wrote: Now, what i don't understand is why Hardware_ECC_Recovered and Seek_Error_Rate are so hight. The first one is maybe relate to cabling problem. The driver are all in hot swap baskets of supermicro 2u case. Maybe backpanel is no so good?

Crashed gmirror, single disk marked SYNC and wont boot...

2007-08-21 Thread Johan Ström
Hi FreeBSD gw-1.stromnet.se 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #7: Tue Feb 13 18:24:34 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/ROUTER.POLLING i386 (ROUTER.POLLING is GENERIC + options DEVICE_POLLING and ALTQ, IPSEC, also pfsync and carp) This weekend I had a disk

Re: Crashed gmirror, single disk marked SYNC and wont boot...

2007-08-21 Thread Pawel Jakub Dawidek
On Tue, Aug 21, 2007 at 02:15:08PM +0200, Johan Ström wrote: Hi FreeBSD gw-1.stromnet.se 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #7: Tue Feb 13 18:24:34 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/ROUTER.POLLING i386 (ROUTER.POLLING is GENERIC + options DEVICE_POLLING and

Gathering entropy freeze on point-to-point

2007-08-21 Thread Rodney Gordon II
FreeBSD ghreen.sphere 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Aug 19 20:10:46 CDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GHREEN i386 Attached dmesg, attached kernel config. During bootup about 1 out of 5 times my box freezes right after it enters userland at the Gathering entropy: spot,

Re: Crashed gmirror, single disk marked SYNC and wont boot...

2007-08-21 Thread Johan Ström
On Aug 21, 2007, at 16:31 , Pawel Jakub Dawidek wrote: On Tue, Aug 21, 2007 at 02:15:08PM +0200, Johan Ström wrote: Hi FreeBSD gw-1.stromnet.se 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #7: Tue Feb 13 18:24:34 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/ src/sys/ROUTER.POLLING i386

Re: A little story of failed raid5 (3ware 8000 series)

2007-08-21 Thread Darren Pilgrim
Artem Kuchin wrote: Darren Pilgrim wrote: Artem Kuchin wrote: That exactly was i was talking about. I don't acess to individual disks behind raid unit, so, i cannot doit. I don't know it controller VERIFY command does it right. If it doesm then i shoudl put it into a cron job and do it on

pam_group vs. multiple group lines

2007-08-21 Thread Ulrich Spoerlein
Hi, I think I found a deficiency wrt. to pam_group (which also hits sudo(8) so this might be libc related instead). I found this while trying to migrate groups into LDAP, but you don't need LDAP to reproduce this, simply place the following in /etc/group wheel:*:0:root wheel:*:0:us % getent

Re: pam_group vs. multiple group lines

2007-08-21 Thread Chuck Swiger
On Aug 21, 2007, at 12:50 PM, Ulrich Spoerlein wrote: I found this while trying to migrate groups into LDAP, but you don't need LDAP to reproduce this, simply place the following in /etc/group wheel:*:0:root wheel:*:0:us That's a misconfiguration. From man 5 group: The group field is the

Re: pam_group vs. multiple group lines

2007-08-21 Thread Richard Foulkes
Ok, so how are you supposed to control membership of the wheel group via ldap? Ok, you COULD remove the local wheel entry in /etc/group, but this would probably be a bad idea if the ldap server were unavailable. I've had a similar problem to this where group names are duplicated across

RE: pam_group vs. multiple group lines

2007-08-21 Thread Scott, Brian
Try: wheel:*:0:root,us It looks like pam was stopping at the first matching line as you would expect from the man page for the group file. If there is a bug it is in the more liberal interpretation by other software. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

NZ Daylight Savings changes.

2007-08-21 Thread Jonathan Chen
Hi, Would it be possible for a committer to take a look at: http://www.freebsd.org/cgi/query-pr.cgi?pr=115697 There's only about a month or so before the new daylight savings rule becomes effective, and it would be nice if -STABLE had the changes committed before then. Cheers. -- Jonathan

Re: pam_group vs. multiple group lines

2007-08-21 Thread Chuck Swiger
On Aug 21, 2007, at 2:02 PM, Richard Foulkes wrote: Ok, so how are you supposed to control membership of the wheel group via ldap? Ok, you COULD remove the local wheel entry in /etc/ group, but this would probably be a bad idea if the ldap server were unavailable. You've aptly summarized

Re: NZ Daylight Savings changes.

2007-08-21 Thread Edwin Groothuis
On Wed, Aug 22, 2007 at 11:38:21AM +1200, Jonathan Chen wrote: Would it be possible for a committer to take a look at: http://www.freebsd.org/cgi/query-pr.cgi?pr=115697 There's only about a month or so before the new daylight savings rule becomes effective, and it would be nice if

Re: NZ Daylight Savings changes.

2007-08-21 Thread Mark Andrews
On Wed, Aug 22, 2007 at 11:38:21AM +1200, Jonathan Chen wrote: Would it be possible for a committer to take a look at: http://www.freebsd.org/cgi/query-pr.cgi?pr=115697 There's only about a month or so before the new daylight savings rule becomes effective, and it would be nice