solaris 10-U4 から利用しているzfsストレージプールをアップグレードした。
まず、Upgradeする必要があるか確認する。
zpool statusで”Upgrade the pool using ‘zpool upgrade’.”となっていればUpgradeする必要あり。Upgradeしなくても問題なく利用可能だが、新しい機能が使えないだけ。
ちなみに、Upgrade前のzfsバージョンは”4″となっている。
# zpool status
pool: raidbox
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.
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
raidbox ONLINE 0 0 0
c3t0d0 ONLINE 0 0 0
c3t0d1 ONLINE 0 0 0
c3t0d2 ONLINE 0 0 0
c3t0d3 ONLINE 0 0 0
c3t0d4 ONLINE 0 0 0
c3t0d5 ONLINE 0 0 0
c3t1d0 ONLINE 0 0 0
c3t1d1 ONLINE 0 0 0
c3t1d2 ONLINE 0 0 0
c3t1d3 ONLINE 0 0 0
c3t1d4 ONLINE 0 0 0
c3t1d5 ONLINE 0 0 0
errors: No known data errors
# zpool upgrade
This system is currently running ZFS pool version 10.
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
— ————
4 raidbox
Use ‘zpool upgrade -v’ for a list of available versions and their associated
features.
mother# zpool upgrade -v
This system is currently running ZFS pool version 10.
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
For more information on a particular version, including supported releases, see:
http://www.opensolaris.org/os/community/zfs/version/N
Where ‘N’ is the version number.
# zpool upgrade -a
This system is currently running ZFS pool version 10.
Successfully upgraded ‘raidbox’
zfsのupgardeが完了。
# zpool upgrade
This system is currently running ZFS pool version 10.
All pools are formatted using this version.
で、すべてのプールがupgrade出来ていることを確認できる。