ZFS, /etc/zfs/zpool.cache and suncluster

ZFS still a very young FS and many new features with every new Solaris update and ZFS patch

This blog talk about /etc/zfs/zpool.cache behind the sence of zpool The need of /etc/zfs/zpool.cache to speed up the import of ZFS may impact the HA-ZFS with Suncluster, the ZFS import happen before the Suncluster come to play. In the beginning ZFS was designed to panic a system in the event of a catastrophic write failure to a pool, since then zfs has introduce the failmode. PSARC 2007/567

The default behavior will be to “wait” for manual intervention before allowing any further I/O attempts. Any I/O that was already queued would remain in memory until the condition is resolved. This error condition can be cleared by using the ‘zpool clear’ subcommand, which will attempt to resume any queued I/Os. The “continue” mode returns EIO to any new write request but attempts to satisfy reads. Any write I/Os that were already in-flight at the time of the failure will be queued and maybe resumed using ‘zpool clear’. Finally, the “panic” mode provides the existing behavior that was explained above. The syntax for setting the pool property utilizes the “set” subcommand defined in PSARC 2006/577: # zpool set failmode=continue pool # zpool create -o failmode=continue pool ZFs and suncluster Sun alert Solution 245626 : ZFS Pool Corruption May Occur With Sun Cluster 3.2 Running Solaris 10 with patch 137137-09 or 137138-09

Resolution This issue is addressed in the following releases: SPARC Platform: * Solaris 10 with patch 139579-02 or later obsoleted by 139555-08 x86 Platform: * Solaris 10 with patch 139580-02 or later obsoleted by 139556-08 To avoid this problem, install Solaris 10 patch 139579-02 (for SPARC) or 139580-02 (for x86) immediately after you install 137137-09 or 137138-09 but before you reboot the cluster nodes. The latest Suncluster 3.2u2 patch for solaris 10 sparc 126106-30 x86 126107-30 There are some IDR patch for ZFS performance To boot the system without import any zpool boot -m milestone=none return to normal svcadm milestone all

About laotsao 老曹

HopBit GridComputing LLC Rockscluster Gridengine Solaris Zone, Solaris Cluster, OVM SPARC/Ldom Exadata, SPARC SuperCluster
This entry was posted in General. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s