> From: opensolaris-discuss-boun...@opensolaris.org [mailto:opensolaris-
> discuss-boun...@opensolaris.org] On Behalf Of Heinrich Rebehn
> 
> • Is  there any risk in upgrading zpool and zfs?

It's mostly pretty safe, but there are a couple of gotchas, you're wise to
ask.  ;-)

After the upgrade, you have to reinstall grub bootblocks.  I learned that
one the hard way.  Or else the system won't be able to boot afterward.

Also, once you upgrade, your disks will not be accessible by any older
system which does not support the more advanced version.  Of particular
interest, it's probably wise for you to find out what's the highest rev your
boot disc is able to support.  Because if you ever need to boot from the CD
into rescue mode ... Obviously it's a desirable feature that your rescue
mode is able to access your disks.

I would not consider that necessarily a show-stopper though.  If your
current boot media only goes up to zpool 15, perhaps you could just get a
later boot disc and use that instead, if necessary.  Or perhaps it's
acceptable for you to move your disks onto another system in the event of
rescue, or perhaps you're able to install another copy of the OS on
something like a USB disk, and able to boot from that instead....  Or
something like that.


> • Do the pool / datasets have to be offline while upgrading?

No problem staying online.  I personally do it during some expected idle
time...  But I don't know how much difference that makes.


> • How long will it probably take?

zpool upgrade is instantaneous.
zfs upgrade takes a long time depending on your data.  It won't take longer
than scrub.


> • What, if power fails during the upgrade?
> Of course, i have a backup of the data pool, but i have not yet rehearsed
a
> complete restore, so i want to keep risk at a minimum.

I don't know what happens if power fails, but I assume it's ok.
You don't need to rehearse a complete restore of your data pool - If you
rehearse a complete restore of rpool, then you know what you're doing.
Presumably much faster than a complete data restore, but rpool requires
extra steps (for example install grub bootblocks) so if you can restore
rpool, then you know everything you need to know, in order to restore data
pool.

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to