Popular Posts

Oct 13, 2019

solaris zpool zfs upgrade

Upgrading ZFS Storage Pools in Solaris 11.4

APPLIES TO :  Oracle SPARC Solaris

ISSUE :  The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable.

GOAL :  Upgrading ZFS Storage Pools in Solaris 11.4

SOLUTION :  Upgrade the zpool to latest version to avail all the features.

Prerequisites :   

               1. Check the zpool status to find the version.
                       root@JUDI-DEV-10:/root# zpool status
                         pool: rpool
                       state: ONLINE
                       status: The pool is formatted using an older on-disk format. The pool can
                               still be used, but some features are unavailable.
                       action: Upgrade the pool using 'zpool upgrade'. Once this is done, the
                               pool will no longer be accessible on older software versions.
                       config:
                               NAME                       STATE      READ WRITE CKSUM
                               rpool                      ONLINE        0     0     0
                                 mirror-0                 ONLINE        0     0     0
                                   c0t6000CCA02A507030d0  ONLINE        0     0     0
                                   c0t6000CCA02A507984d0  ONLINE        0     0     0
                       errors: No known data errors
                       root@JUDI-DEV-10:/root# 

               2. Check the servers zpool software installed version and zpool volume is configured in which version.
                       root@JUDI-DEV-10:/root# zpool upgrade
                       This system is currently running ZFS pool version 45.

                       The following pools are out of date, and can be upgraded.  After being
                       upgraded, these pools will no longer be accessible by older software versions.

                       VER  POOL
                       ---  ------------
                       44   rpool

                       Use 'zpool upgrade -v' for a list of available versions and their associated features.
                       root@JUDI-DEV-10:/root#

                      The Installed version of zpool version in OS is 45, The rpool volume is with version 44

               3. List of available versions and their associated features..
                       root@JUDI-DEV-10:/root# zpool upgrade -v
                       This system is currently running ZFS pool version 45.
                       The following versions are supported:
                       VER  DESCRIPTION
                       ---  --------------------------------------------------------
                       1   Initial ZFS version
                       2   Ditto blocks (replicated metadata)
                       3   Hot spares and double parity RAID-Z
                       4   zpool history
                       5   Compression using the gzip algorithm
                       6   bootfs pool property
                       7   Separate intent log devices
                       8   Delegated administration
                       9   refquota and refreservation properties
                       10  Cache devices
                       11  Improved scrub performance
                       12  Snapshot properties
                       13  snapused property
                       14  passthrough-x aclinherit
                       15  user/group space accounting
                       16  stmf property support
                       17  Triple-parity RAID-Z
                       18  Snapshot user holds
                       19  Log device removal
                       20  Compression using zle (zero-length encoding)
                       21  Deduplication
                       22  Received properties
                       23  Slim ZIL
                       24  System attributes
                       25  Improved scrub stats
                       26  Improved snapshot deletion performance
                       27  Improved snapshot creation performance
                       28  Multiple vdev replacements
                       29  RAID-Z/mirror hybrid allocator
                       30  Encryption
                       31  Improved 'zfs list' performance
                       32  One MB blocksize
                       33  Improved share support
                       34  Sharing with inheritance
                       35  Sequential resilver
                       36  Efficient log block allocation
                       37  LZ4 compression
                       38  Xcopy with encryption
                       39  Resilver restart enhancements
                       40  New deduplication support
                       41  Asynchronous dataset destroy
                       42  Reguid: ability to change the pool guid
                       43  RAID-Z improvements and cloud device support
                       44  Device removal
                       45  Lazy deadlists
                       For more information on a particular version, including supported releases, see the ZFS Administration Guide.
                       root@JUDI-DEV-10:/root# 

               4. Upgrade the zpool version from 44 to 45 (The latest zpool version)
                       root@JUDI-DEV-10:/root# zpool upgrade rpool
                       This system is currently running ZFS pool version 45.
                       Successfully upgraded 'rpool' from version 44 to version 45
                       root@JUDI-DEV-10:/root#

               5. Check the status of zpool version 
                       root@JUDI-DEV-10:/root# zpool upgrade
                       This system is currently running ZFS pool version 45.
                       All pools are formatted using this version.

                       root@JUDI-DEV-10:/root#







~Judi~










No comments:

Post a Comment

Popular Posts