Patch-ID# 122640-05


Download this patch from My Oracle Support

Your use of the firmware, software and any other materials contained in this update is subject to My Oracle Support Terms of Use, which may be viewed at My Oracle Support.
For further information on patching best practices and resources, please see the following links:
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.

Keywords: zfs genesis
Synopsis: SunOS 5.10: zfs genesis patch
Date: Jul/24/2006


Install Requirements: After installing this patch on an active boot environment, the system will be in a potentially inconsistent state until a reconfigure reboot is performed. Unless otherwise specified in the Special Install Instructions below, it is normally safe to apply further patches prior to initiating the reboot due to the relatively small footprint of the patch utilities. Normal operations must not be resumed until after the reconfigure reboot is performed.

Solaris Release: 10

SunOS Release: 5.10

Unbundled Product:

Unbundled Release:

Xref: This patch available for i386 as patch 122641

Topic: SunOS 5.10: zfs genesis patch

Relevant Architectures: sparc

Bugs fixed with this patch:

Sun CR # Bug #
627693415268341
628066815269825
628599215271824
632200515286373
632220515286445
633537015291371
633808115292572
633838615292694
633865315292808
634142915293938
634360815294829
636510115303659
638134415310910
639229115315820
639300315316207
639344315316445
639567015317564
639604915317797
639662815318081
639707115318295
639726715318578
639817715318965
639838015319059
639862215319178
639866415319194
639871315319212
639927215319467
639930115319482
639976715319657
639989915319699
639991815319711
639993015319719
640074215320082
640238815320782
640256915320860
640259815320883
640329415321145
640500815321881
640695915322814
640736515323015
640736615323016
640736715323017
640737715323021
640744415323057
640763515323135
640779115323207
640784215323227
640848215323435
640992715323936
641037115324103
641069815324254
641070015324255
641070915324261
641071115324262
641083615324304
641178015324668
641312515325199
641357315325375
641373115325436
641610115326414
642092015328427
642256515329020
642304615329207
642440515329825
642632315330706
643570015334348


Changes incorporated in this version: 6435700

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch: 118833-17 (or greater)

Obsoleted by:

Files included with this patch:


Problem Description:

6435700 ZFS genesis patches are not alternate root compliant
 
(from 122640-04)
 
6426323 122641-02 causes systems to go into maintenance mode on reboot
 
(from 122640-03)
 
6423046 zfs_ereport_post() forgets terminating NULL for fm_payload_set()
6424405 zpool import destroyed_pool can damage existing pool using same devices
 
(from 122640-02)
 
6276934 ability import destroyed pools
6285992 JNI should make use of dm_inuse() when 6343802 is fixed
6343608 ZFS file range locking
6365101 zfs: copying from NFS to ZFS makes ksh response very sluggish
6392291 zdb needs to tell the entire goodness of the fat zap
6393003 System hung -- out of memory (kernel va) due to zil's itx_t's
6393443 Remove remaining txg_wait_synced() from zfs unmount path.
6396049 spa_sync_labels() should try all devices before giving up
6396628 zpool offline does not recognize c0d0 patten recently
6397071 persistently unavailable devices print extra newline
6398380 ASSERT: !vd->vdev_is_dirty, vdev.c:450, when running ziltest
6398622 'zfs backup > file' can get 'file too large' error on 32-bit systems
6398664 zpool detach: missing argument to error message causes core dump
6398713 don't sync config cache until root is mounted read/write
6399272 scrub seems constipated; needs ADVANCE_PRUNE juice
6399767 JNI: pools without root datasets are not modeled in JNI
6399899 change the default value of snapdir property to "hidden"
6402569 zfs requires 64-bit fmd schemes
6402598 'zfs destroy <fs>' can take a long time, stopping up the txg train
6280668 pluggable block allocation policy
6395670 Performance degradation while reading sequentially with large block size
6397267 assertion failed: (link->list_next == 0) == (link->list_prev == 0)
6398177 zfs: poor nightly build performance in 32-bit mode (high disk activity)
6399301 initial read of space maps is super slow
6399918 zfs backup/restore should be send/receive
6399930 want 'zpool upgrade' to control change of version number
6400742 'zpool destroy' not clean inuse tag that have to need '-f' to use them again
6402388 unclean reboot during 'zfs restore' results in maintenance mode
6403294 assertion failed: dn->dn_nlevels > level (0x1 > 0x1)
6405008 Reboot hung after a stress test
6406959 zones attribute mismatch in zfs genesis patch
6408482 64-bit system can't read some 32-bit dev_ts created on zfs
6407365 large-sector disk support in ZFS
6407366 ADVANCE_NOLOCK gathers MOS
6407367 three-way deadlock between db_mtx, dbuf_hash[], and ms_lock
6407377 spa_tryimport() is broken
6407444 unhandled i/o error from dnode_next_offset_level()
6407635 acl_fromtext() should look for numeric uid/gid first
6407791 bringover into ZFS results in s. files newer than extracted source
6407842 zfs panics when closing a file
6409927 failed DKIOCFLUSHWRITECACHE ioctls should not generate ereports
6410371 need to reserve more pool names
6410698 ZFS metadata needs to be more highly replicated (ditto blocks)
6410700 zdb should support reading raw blocks out of storage pool
6410709 ztest: spa config can change before pool export
6410711 intent log blocks don't get invited to pool parties
6410836 zfs umount hang during ZFS stress testing.
6411780 unhandled i/o error from dnode_sync_free() due to faulty pre-read logic
6413125 zvol_strategy() race can lead to on-disk corruption.
6413731 pathologically slower fsync on 32 bit systems
6413573 deadlock between fsflush() and zfs_create()
6416101 du inside snapshot produces bad sizes and paths
6420920 File truncate produces incorrect log record
6422565 Data corruption possible with range lock for dmu_sync()
 
(from 122640-01)
 
6338653 Integrate ZFS
6322205 Enable disk write cache if ZFS owns the disk
6322005 support for persistent offline
6335370 RFE: Need generic file system observability (e.g., fsstat)
6338081 ZFS/FMA phase 1
6338386 need persistent error log
6341429 aclfromtext(3SEC) can return a pointer containing multiple entries with the same uid and/or gid
6381344 'zpool clear'


Patch Installation Instructions:
--------------------------------
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-10 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.


Special Install Instructions:
-----------------------------
 
NOTE 1:  Reboot system after patch installation is complete.
 
NOTE 2:  If you're planning to set up Zones on this system, please make
         sure to install the following patch which fixes bugid 6216195
         (zone installation confused by UPDATE=yes in pkginfo(4) file.)
 
         119254-06 (or greater)  Install and Patch Utilities Patch
 
NOTE 2:  To get the complete zfs feature please also install the following
         patches:
 
         118833-08 (or greater)  kernel patch
         118925-02 (or greater)  unistd header file patch
         119578-20 (or greater)  FMA Patch
         119681-08 (or greater)  wanboot patch
         119982-05 (or greater)  ufsboot patch
         120986-04 (or greater)  mkfs and newfs patch
         121133-02 (or greater)  zones library and zones utility patch
         122172-02 (or greater)  swap swapadd isaexec patch
         122174-02 (or greater)  dumpadm patch
         122644-01 (or greater)  zfs header file patch
         122650-01 (or greater)  zfs tools patch
         122652-01 (or greater)  zfs commands & utilities patch
 
NOTE 3:  To obtain the complete fix for zfs feature fixes, please
         install the following patches:
 
         118833-10 (or greater)  kernel patch
         122650-02 (or greater)  zfs tools patch
         122652-02 (or greater)  zfs commands & utilities patch
 
NOTE 4:  To obtain the complete fix for zfs utility and debugging tool 
         fixes, please install the following patches:
 
         118833-11 (or greater)  kernel patch
         122652-02 (or greater)  zfs commands & utilities patch

NOTE 5: To get the complete fix for zfs genesis patch changes, please add
        the following patch:

        122660-07 (or greater)   zones jumbo patch

NOTE 6:  To avoid a rare issue where reslivering may stop before completing,
         please also install the following patch:

         150400-10 (or greater)  kernel patch

         For more details, see Service Alert Document 1602469.1:

         https://support.oracle.com/rs?type=doc&id=1602469.1


NOTE: The list of 'patches required with this patch' (above) has been
modified from the list specified at patch creation time. The reason for
the modification is that one or more of the required patches was
either never released or withdrawn after its release. The following
substitutions (which are guaranteed to satisfy the original requirements)
were therefore made:

118833-17 replaces 118833-12




README -- Last modified date: Friday, May 8, 2015