OBSOLETE Patch-ID# 148076-18


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: security node panics metadb svm/zfs sunw_md_link.so rpc.metad disk configured hospare offline cfgadm volume efi disks random data
Synopsis: Obsoleted by: 148076-19 SunOS 5.10_x86: md patch
Date: May/12/2016


Install Requirements: Reboot after installing this patch to activate the changes delivered. An alternative may be specified in the Special Install Instructions.
Use Single User Mode (run level S) when installing this patch on an active boot environment. An alternative may be specified in the Special Install Instructions.

Solaris Release: 10_x86

SunOS Release: 5.10_x86

Unbundled Product:

Unbundled Release:

Xref: This patch available for SPARC as patch 150311

Topic: SunOS 5.10_x86: md patch

Relevant Architectures: i386

Bugs fixed with this patch:

Sun CR # Bug #
686647615579104
689334015597868
704389015714873
713242315767981
715613815780923
715669015781396
15986475
17272769
17375251
17468476
17482764
18967223
19208024
20816343
22065674
22126430
619198115235538
621627815243879
621932715245263
623266515250776
632595115287777
656324715400369
657991015409502
662780315437316
663228315440069
667637315465587
671526615487883
673624215500823
674176315504326
682201215551668
686115115576143
687175315582552
688113615589030
691462015613639
691504515613963
696389415651964
696775915654919
698120315666031
698407915668423
698489315669057
698991115673188
699061615673705
699100815674044
699432315676829
699562915677872
699608015678190
702764815702824
704184115713396
706294415726486
707090615731014
708865015740669
709877415746902
711087615754496
712660615763900
712662415763911
713217615767884
715558115780444
715572115780569


Changes incorporated in this version: 22065674

Patches accumulated and obsoleted by this patch: 138882-02 139469-01 140106-02 140123-03 142262-01 143118-01 144623-01 144652-01 144914-05 145900-15

Patches which conflict with this patch:

Patches required with this patch: 118855-36 127128-11 137138-09 141445-09 142910-17 (or greater)

Obsoleted by:

Files included with this patch:

/kernel/drv/amd64/md
/kernel/drv/md
/kernel/misc/amd64/md_mirror
/kernel/misc/amd64/md_sp
/kernel/misc/amd64/md_stripe
/kernel/misc/md_mirror
/kernel/misc/md_sp
/kernel/misc/md_stripe
/lib/libmeta.so.1
/sbin/metadevadm
/sbin/metastat
/usr/include/meta.h
/usr/include/meta_runtime.h
/usr/include/sys/lvm/md_mddb.h
/usr/include/sys/lvm/md_names.h
/usr/include/sys/lvm/mdio.h
/usr/include/sys/lvm/mdvar.h
/usr/lib/drv/preen_md.so.1
/usr/lib/lvm/metaclust
/usr/sbin/mdmonitord
/usr/sbin/metaimport
/usr/sbin/metaset
/usr/sbin/rpc.mdcommd
/usr/sbin/rpc.metad
/var/svc/manifest/network/rpc/mdcomm.xml

Problem Description:

22065674 S10U10/S10U11: metareplace corrupting metadb's. metadevadm -u ineffective
 
(from 148076-17)
 
17482764 SVM panic when importing diskset containing one LUN in PowerPath environement
20816343 SVM md shows 100% %b in iostat while underlying devices have low %b
22126430 use after free in mdrpc_devinfo_1_svc of metad_svc_subr.c:2396
 
(from 148076-16)
 
17468476 panic kstat_delete
 
(from 148076-15)
 
18967223 md BAD TRAP: type=31 panic running df -k against bad submirror
 
(from 148076-14)
 
17272769 unable to metaimport svm diskset with the error "No such file or directory"
17375251 writes to raw mirror slices will panic with kstat_q_exit: qlen == 0
19208024 IPv6 port-scanners cause rpc.mdcommd to retry and trigger SMF maintenance mode
 
(from 148076-13)
 
15767981 DiskSuite md shows 100% wait time while underlying devices have low %w
15781396 md floods console with messages causing cluster nodes to abort
 
(from 148076-12)
 
15597868 panic: kernel heap corruption detected on SVM while running metadevadm
 
(from 148076-11)
 
15714873 array index error in update_valid_replica()
 
(from 148076-10)
 
15579104 md - panic in md:getphysblk
15780923 kstat_q_exit: qlen == 0 panic from SVM
15986475 md -panic in md:readcopy whenever"Metaset -r" is executed corrupting SVM metadb
 
(from 148076-09)
 
        This revision accumulates generic Sustaining patch 145900-15
        into Solaris S10U11 update.
 
(from 148076-08)
 
        This revision accumulates generic Sustaining patch 145900-14
        into Solaris S10U11 update.
 
(from 148076-07)
 
        This revision accumulates generic Sustaining patch 145900-13
        into Solaris S10U11 update.
 
(from 148076-06)
 
        This revision accumulates generic Sustaining patch 145900-12
        into Solaris S10U11 update.
 
(from 148076-05)
 
        This revision accumulates generic Sustaining patch 145900-11
        into Solaris S10U11 update.
 
(from 148076-04)
 
        This revision accumulates generic Sustaining patch 145900-10
        into Solaris S10U11 update.
 
(from 148076-03)
 
7041841 corrupt mirror definition can lead to panic
7110876 mirror_snarf() may loop
 
(from 148076-02)
 
        This revision accumulates generic Sustaining patch 145900-08
        into Solaris S10U11 update.
 
(from 148076-01)
 
        This revision accumulates generic Sustaining patch 145900-07
        into Solaris S10U11 update.
 
(from 145900-15)
 
7155721 I/O stalls observed during metainit usage with large number of devices
 
(from 145900-14)
 
6963894 rpc.mdcommd should use file locking semantics to protect the MCT
 
(from 145900-13)
 
7155581 md driver can unload with md_daemon() threads still alive
 
(from 145900-12)
 
6219327 total outage of the cluster when either SVM master or slave node loses total storage connectivity
6232665 creating mddb core dumps if mddb previously deleted with diskset(s) in existence
6632283 thread looping in md:mdmn_ksend_message()
7062944 several clusters with multi-owner disksets get read errors on the master replica
7088650 md: redo2dg/d541: MD_SP_ERR could not be set on all nodes
7126606 panic ksend_message failure: RESYNC_NEXT
7126624 SVM soft-partition error-handling can swamp set-owner node
7132176 SVM panics "with state database commit failed" during mirror_clean_rr_bits (no apparent I/O issue)
 
(from 145900-11)
 
6914620 SVM can panic system when attempting to access a damaged one-sided mirror
6991008 metadevadm -u panics system when device ID's are turned off
 
(from 145900-10)
 
6191981 ioctl(fd,DKIOCGVTOC,_) returns an incomplete-looking struct vtoc when run against metadevice on Solaris 9
 
(from 145900-09)
 
6995629 adding disks to an Oban diskset can take a long time if the configuration is large
 
(from 145900-08)
 
7098774 metaset core dumps with "Segmentation Fault" in S10U10
 
(from 145900-07)
 
6990616 multi-owner set replicas become inconsistent when deleting and recreating sets with different names
 
(from 145900-06)
 
7070906 caching mechanism in metarpcopen.c for SC scenario seems incorrect
 
(from 145900-05)
 
        This revision accumulates generic Sustaining patch 144914-05
        into Solaris S10U10 update.
 
(from 145900-04)
 
        This revision accumulates generic Sustaining patch 140106-02
        into Solaris S10U10 update.
 
(from 145900-03)
 
6216278 enable SVM device-id support for traditional diskset on Sun Cluster
6325951 SVM multi-owner set needs to support device id
6981203 metaclust step4 can timeout on large configurations with many soft-partitions
6984079 multi-owner metaimport: SC to SC incorrectly detects partial diskset
 
(from 145900-02)
 
        This revision accumulates generic Sustaining patch 144914-04
        into Solaris S10U10 update.
 
(from 145900-01)
 
6967759 reconfiguring cluster failfasts when rpc.metad cores during set removal
 
(from 144652-01)
 
        This revision accumulates generic Sustaining patch 144623-01
        into Solaris S10U10 update.
 
(from 144623-01)
 
6881136 2nd node panics when 1st node has metadb problems - SVM/ZFS mixed system
 
(from 140106-02)
 
7027648 metaclust: synchronization of user records panic during a cluster node reboot
 
(from 140106-01)
 
        This revision accumulates generic Sustaining patch 138882-02
        into Solaris S10U7 update.
 
(from 138882-02)
 
6676373 rpc.metad remote DoS due to crafted request
 
(from 138882-01)
 
6579910 adding hosts to shared metasets deletes set named link to the set number directory
 
(from 144914-05)
 
6984893 libmeta metarpcopen makes unnecessary calls causing slow performance of SVM commands
6989911 md_mirror driver should be hardened to avoid NULL dereferences for missing replica entries
6994323 SVM metarecover command errors with No such device or address
6996080 unable to create metadevices due to devfsadm reporting ENOMEM
 
(from 144914-04)
 
6861151 recreate soft partition on >1TB stripe fails with "overlapping extent specificed"
 
(from 144914-03)
 
6627803 SVM mirror upgrade still fails even after BugId 6601022 is fixed
6822012 race between stat(2) and /dev creation when running metaimport or metaset -t on a set
 
(from 144914-02)
 
        This revision accumulates generic Sustaining patch 140123-03
        into Solaris S10U9 update.
 
(from 144914-01)
 
        This revision accumulates generic Sustaining patch 140123-02
        into Solaris S10U9 update.
 
(from 140123-03)
 
6915045 second soft partition's metainit creates 2 duplicate entries in metastat and md.cf
 
(from 140123-02)
 
6715266 potential memory leak issue on SVM deamon (mdmonitord)
 
(from 140123-01)
 
        This revision accumulates generic Sustaining patch 139469-01
        into Solaris S10U7 update.
 
(from 139469-01)
 
6563247 disk configured to a hotspare can not be offline using the cfgadm
 
(from 143118-01)
 
6736242 volume names of autorepartitioned EFI disks consist of random data
6741763 metareplace panics in stripe_replace() due to ignoring error return from stripe_replace_dev()
 
(from 142262-01)
 
6871753 performance degradation of more than 10 percent of net reconfiguration time


Patch Installation Instructions:
--------------------------------
 
Please refer to the man pages for instructions on using 'patchadd'
and 'patchrm' commands provided with Solaris.
 
The following example installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/123456-07
 
The following example removes a patch from a standalone system:
 
       example# patchrm 123456-07
 
For additional examples please see the appropriate man pages. Any
other special or non-generic installation instructions should be
described below as special instructions.


Special Install Instructions:
-----------------------------
 
NOTE 1:  If after the patch is installed the current running copy of
         rpc.metad coredumps for any reason, SMF should restart the
         patched copy automatically.


README -- Last modified date: Wednesday, October 12, 2016