とりあえずOpen Indianaいれてみた
FeliciaにはOpen Solarisが入れてあるがOracleにSunが買収されたことによってOpen Solarisに未来はなくなったので、後継を目指してるっぽいOpen Indianaを入れてみた。
作業手順としては、Open Solarisのリポジトリとのひも付けを解除したうえでOpen IndianaのIPSリポジトリを最優先リポジトリとして登録してやり、アップデートをかける。コマンドにするとこんな感じ;
pfexec pkg set-publisher --non-sticky opensolaris.org pfexec pkg set-publisher -p http://pkg.openindiana.org/dev pfexec pkg set-publisher -P openindiana.org pfexec pkg set-publisher -m http://pkg.corp.it/oi_dev openindiana.org pfexec pkg uninstall entire pfexec pkg image-update
image-updateが使えるのでZFSないしZpoolのバージョンをあげない限りは元の環境にすぐ戻せる。
Open Solaris側はsvn134でイメージとしてのリリースが止まっていたので一気に内部リビジョンが上がった。ちなみにOpen Indianaは現状Open Solarisのsvn147相当。ZFSもZPoolも新しいバージョンができていた。こんな感じ;
$ zpool upgrade -v This system is currently running ZFS pool version 28. 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 For more information on a particular version, including supported releases, see the ZFS Administration Guide. $ zfs upgrade -v The following filesystem versions are supported: VER DESCRIPTION --- -------------------------------------------------------- 1 Initial ZFS filesystem version 2 Enhanced directory entries 3 Case insensitive and File system unique identifier (FUID) 4 userquota, groupquota properties 5 System attributes For more information on a particular version, including supported releases, see the ZFS Administration Guide.
zpoolはsvn134時点では22だったのでだいぶ上がることになる。しばらくOpen Indianaの様子を見て大丈夫そうならzpool・ZFS共にアップグレードを考えよう。