Date: Thu, 1 May 2014 23:16:07 +0000 From: "Peel, Casey" <casey.peel@isilon.com> To: Garrett Cooper <yaneurabeya@gmail.com> Cc: "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, "bdrewery@FreeBSD.org" <bdrewery@freebsd.org> Subject: Re: Please provide process for small, targeted fixes in tools/regression Message-ID: <CF881F06.10136%casey.peel@isilon.com> In-Reply-To: <CAGHfRMAQR-KBrUKeTxOU1aZMSWD=m4bkwDRdXteB%2BwP2ndqkwQ@mail.gmail.com> References: <16437CC5729B5345AF77F816513376E820BAF854@MX103CL02.corp.emc.com> <5F1D5D49-5F39-4EAC-89D5-E4D10FB3B01E@freebsd.org> <16437CC5729B5345AF77F816513376E820BAFE8E@MX103CL02.corp.emc.com> <CAGHfRMAALMgFrGqQbRFpvRf9uCFQR-WH6uUS75GSn3VSE5_UBA@mail.gmail.com> <CF881B9C.10128%casey.peel@isilon.com> <CAGHfRMAQR-KBrUKeTxOU1aZMSWD=m4bkwDRdXteB%2BwP2ndqkwQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Knowing now what I knew then, it's probably one of the modifications > that was made to geom_mirror to be more robust by automatically Unlikely since this was failing well before we brought in our gmirror changes. # mdconfig -a -t malloc -s 10m -u 0 # mdconfig -a -t malloc -s 10m -u 1 # gmirror label mirror /dev/md0GEOM_MIRROR: Device mirror/mirror launched (1/1). # gmirror insert mirror /dev/md1 GEOM_MIRROR: Device mirror: rebuilding provider md1. GEOM_MIRROR: Device mirror: rebuilding provider md1 finished. # gmirror remove mirror /dev/md0GEOM_MIRROR: Device mirror: provider md0 destroyed. # gmirror remove mirror /dev/md1 gmirror: mirror: Can't remove the last ACTIVE component /dev/md1. -- Casey --=20 Performance Test Ninja casey.peel@isilon.com / 206.777.7945 On 5/1/14 3:53 PM, "Garrett Cooper" <yaneurabeya@gmail.com> wrote: >On Thu, May 1, 2014 at 3:44 PM, Peel, Casey <casey.peel@isilon.com> wrote: >>> but out of curiosity why are you >>> removing the geom remove testing in the geom_mirror testcases? Does >>> the test not work out of the box on vanilla FreeBSD? >> >> To be honest, I haven't tested on a stock FreeBSD system, but on our >> internal almost-but-not-quite FreeBSD-CURRENT system removing the last >> partition of a gmirror fails. To remove the last partition you have to >> destroy the gmirror. It should be easy to confirm this is still true on >> FreeBSD-CURRENT. That said, I have the gmirror tests entirely moved over >> to ATF so I'm not sure its worth messing with. > >Knowing now what I knew then, it's probably one of the modifications >that was made to geom_mirror to be more robust by automatically >rebuilding the mirrors with Isilon secret sauce. I wonder if turning >off the secret sauce (kernel bits, middleware) would allow the test to >pass without issue. > >Thanks! >-Garrett >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CF881F06.10136%casey.peel>