> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
> boun...@opensolaris.org] On Behalf Of Ivan Rodriguez
> Dear list,
>  I'm about to upgrade a zpool from 10 to 29 version, I suppose that
> this upgrade will improve several performance issues that are present
> on 10, however
> inside that pool we have several zfs filesystems all of them are
> version 1 my first question is is there a problem with performance or
> any other problem if you operate a zpool 29 with zfs filesystems
> version 1 ?
> Is it better to upgrade zfs to the latest version ?
> Can we jump from zfs version 1 to 5 ?
> Is there any implications on zfs send/receive with filesystem's and
> pools with different versions ?

You can, and definitely should, upgrade all your zpool's and zfs
filesystems.  The only exceptions to think about are rpool.  You definitely
DON'T want to upgrade rpool higher than what's supported on the boot CD.  So
I suggest you create a test system, boot from the boot CD, create some
filesystem, check to see which zpool and zfs version they are.  Then,
upgrade rpool only to that level (just in case you ever need to boot from CD
to perform a rescue).  And upgrade all your other filesystems to the latest.

You will also need to update the system where you perform the zfs receive.

zpool upgrade is instantaneous.
zfs upgrade takes time depending on how much stuff you have in your
filesystem, but it's much faster than something like find, or scrub.

These upgrades fix many performance, reliability, and other bugs.  They also
add many new features.  You should definitely do it.

In some cases, the command syntax for things like "zfs list" and so forth
have changed.  So if you have any scripts that use zpool or zfs commands,
you should test them to see if the scripts need to be updated.

You should also be aware:  In some cases, you need to "installgrub" after
performing the zfs upgrade or zpool upgrade.  I don't know if your system is
affected, and I don't know how to tell if it will be affected.  If you need
the installgrub and neglect to do it, then you'll think you successfully
upgraded, until the next time you try to reboot, and the system won't come
up.  So I recommend simply doing it unconditionally.  The syntax is like
installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t0d0s0
You should do this for each of the disks in your rpool.

zfs-discuss mailing list

Reply via email to