Date: Fri, 20 Jan 2012 10:56:56 +0100 From: Peter Maloney <peter.maloney@brockmann-consult.de> To: freebsd-fs@freebsd.org Subject: Re: sanity check: is 9211-8i, on 8.3, with IT firmware still "the one" Message-ID: <4F193A68.6050805@brockmann-consult.de> In-Reply-To: <4F192FDD.6090409@fuckner.net> References: <alpine.BSF.2.00.1201191604510.19710@kozubik.com> <4F192ADA.5020903@brockmann-consult.de> <4F192FDD.6090409@fuckner.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/20/2012 10:11 AM, Michael Fuckner wrote: > On 01/20/2012 09:50 AM, Peter Maloney wrote: > > > Hi all, > > >> The "hot pull test": >> -------------- >> dd if=/dev/random of=/somewhere/on/the/disk bs=128k >> pull disk >> wait 1 second >> put disk back in >> wait 1 second > > > this is way too fast- if a device is added or removed there is a > complete rediscovery on the SAS-bus which takes at least 15 seconds. Good point. But as a test, it was very reliable for me in determining that the SSD firmware version was the fault. And I think it is true that it takes about 15 seconds before the "zpool online ..." will work. So let's insert "wait 15+ seconds" before the "zpool online" command. And optionally change all waits to 15+ seconds, depending on what you want to prove (production-like environment vs. make no compromise to make it fail). > > In production environments this short span wouldn't happen, so this > test may produce segfaults, but it is not realistic. I am not sure if you are referring to my seg faults I caused, but FYI when the timeouts happened on their own, without hot pulling or issuing any commands to test it, I could always cause a seg fault minutes, hours or days later by running either: - gpart show or - gpart show da## and a panic by running: - gpart recover da## or - camcontrol reset 0:#:0 > > Regards, > Michael! > > > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" -- -------------------------------------------- Peter Maloney Brockmann Consult Max-Planck-Str. 2 21502 Geesthacht Germany Tel: +49 4152 889 300 Fax: +49 4152 889 333 E-mail: peter.maloney@brockmann-consult.de Internet: http://www.brockmann-consult.de --------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F193A68.6050805>