[OpenIndiana-discuss] Recovering from power loss on USB ZFS pool?

Michael Stapleton michael.stapleton at techsologic.com
Fri Mar 28 16:42:59 UTC 2014

looks like we are running into :


On Fri, 2014-03-28 at 08:33 -0700, Reginald Beardsley wrote:

> I'm referencing a rather different situation.    Dropping power to a drive while you're writing to it is quite different from breaking a mirror and moving the disk to another machine.  I've done this a couple of times, once because the wall wart was on the wall rather than on a power strip and got bumped.  This time it was on a power strip that was hard to access and even harder to see what I was doing.  So I unplugged the wrong one.
> I've not had a problem dropping power to the system when it wedges, but I have long standing nervousness about forcing systems down in that fashion.  So a cleaner solution would be nice.
> First priority of course is to not pull the USB power until after the pool has been exported ;-)
> I'd be quite interested in how you handled the device naming problem.  I beat myself silly a couple of years ago trying to find a clean way to replicate a zfs pool based system image.  In the end I gave up and just did manual installs.
> --------------------------------------------
> On Fri, 3/28/14, Michael Stapleton <michael.stapleton at techsologic.com> wrote:
>  Subject: Re: [OpenIndiana-discuss] Recovering from power loss on USB ZFS pool?
>  To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org>
>  Date: Friday, March 28, 2014, 10:04 AM
>  I'm not sure when things changed, but
>  way back in the OpenSolaris days,
>  I had the root drive in my laptop mirrored to an external
>  USB drive.
>  I never had problems back then. I would do a demonstration
>  where I would
>  remove the USB drive while the laptop was up and running,
>  and then plug
>  the USB submirror into another laptop and boot from it.
>  Never had a problem. I could even reattach the USB drive to
>  my laptop
>  and it would resilver automatically. 
>  Is the problem ZFS or USB or FMA? no idea. But the was a
>  regression of
>  sorts.
>  I don't think Solaris11 suffers from this.
>  Mike
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss

More information about the OpenIndiana-discuss mailing list