On 2013-12-12 14:38, Stephan Budach wrote:
If you manage to reproduce this trick in command-line and if it does
indeed help (and if you want to keep using this pool i.e. to help
the developers reproduce and fix the core problem) instead of just
remaking the pool, you might build on the (unbaked as of yet) scripts
and SMF manifests here:

http://wiki.openindiana.org/oi/Advanced+-+ZFS+Pools+as+SMF+services+and+iSCSI+loopback+mounts

I would go for that, but I don't know, if that'd be to any avail, since
I am still running S11.

At the very least, this should work. It is a pretty basic shell-script,
zpool/zfs and SMF functionality that should work anywhere since Solaris
10 probably.

This would enable you to code all this logic about setting and removing
the readonly bits from your pool around the import-as-a-service, so that
your system would "gracefully" import the pool, enable the dataset, etc.
and undo this upon proper shutdown.

//Jim


_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to