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 ? Thanks in advance Ivan
> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- > bounces at 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 this: installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c1t0d0s0 You should do this for each of the disks in your rpool.
2012-01-06 17:49, Edward Ned Harvey ?????:>> From: zfs-discuss-bounces at opensolaris.org [mailto:zfs-discuss- >> bounces at 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.I believe in this case it might make sense to boot the target system from this BootCD and use "zpool upgrade" from this OS image. This way you can be more sure that your recovery software (Solaris BootCD) would be helpful :) But this is only applicable if you can afford the downtime... //Jim
On Sat, 7 Jan 2012, Jim Klimov wrote:> I believe in this case it might make sense to boot the > target system from this BootCD and use "zpool upgrade" > from this OS image. This way you can be more sure that > your recovery software (Solaris BootCD) would be helpful :)Also keep in mind that it would be a grevious error if the zpool version supported by the BootCD was never than what the installed GRUB and OS can support. Bob -- Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
On Thu, Jan 5, 2012 at 7:17 PM, Ivan Rodriguez <ivanoch at gmail.com> wrote:> 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 ? >There is no problem to use a recent pool version with an old filesystem version.> Is it better to upgrade zfs to the latest version ? >Upgrade if you want the new filesystem features (e.g. case insensitivity, user accounting & quotas).> Can we jump from zfs version 1 to 5 ? >Yes.> Is there any implications on zfs send/receive with filesystem''s and > pools with different versions ? >Some filesystem versions require a corresponding pool version. E.g. fs version 4 (userquotas) requires pool version 15. So you can not send a version 4 filesystem to a pool that is version < 15. Also, you can not send a version X filesystem to a machine that does not understand that filesystem version. --matt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20120116/458ee6c8/attachment-0001.html>