UNSOLVED

EdRolison

updated

15 years ago

E

EdRolison

9 Posts

0

538

October 27th, 2011 01:00

Snap recreate on a 'failed' snap

This may be a fairly simple question to answer - it's just not one I can check easily.


I've got some snapshots that run and rotate on a daily basis.
Occasionally, the snap pool will fill - usually because someone does something they shouldn't.

What happens in this scenario, is that all my VDEVS become 'Failed' and cannot be 'recreated'.

I've restored to a 'fix this' script, that picks out all the 'failed' devices in a list, and does a terminate and create on them, using the same snap pool.

But I'm wondering - would symsnap recreate -force do what I want it to? E.g. recreate any Failed VDEVs.

  • LBM99

    1 Rookie

    •

    119 Posts

    249

    0

    Posted October 27th, 2011 09:00

    Hi,

    Recreate w/force will not work in this situation.  Terminate is required.

    Mike

  • PedalHarder

    4 Apprentice

    •

    465 Posts

    249

    0

    Posted October 27th, 2011 13:00

    Just need to be a little careful with a script that unconditionally terminates all failed sessions. If you happen to be doing a SNAP restore and the SAVE area gets full, you won't be wanting to TERMINATE the session that is involved in the restore, even though it may be in a FAILED state.