Patch-ID# 113994-17 Keywords: svm dkiocgapart ioctl md_sp metaset diskset wan install svm Synopsis: SunOS 5.9_x86: md Patch Date: May/04/2004 Install Requirements: Install in Single User Mode Reconfigure immediately after patch is installed Solaris Release: 9_x86 SunOS Release: 5.9_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 113026 Topic: SunOS 5.9_x86: md Patch Relevant Architectures: i386 BugId's fixed with this patch: 4159866 4259149 4352265 4373671 4462054 4473583 4508010 4518313 4518317 4521998 4628758 4631270 4632281 4634737 4647352 4648067 4655532 4666299 4668224 4668960 4669927 4678627 4680610 4690701 4690983 4698878 4701093 4705486 4705513 4710390 4711136 4711969 4714648 4714923 4715369 4715443 4719744 4720138 4721112 4723547 4725693 4733518 4740375 4744248 4760182 4763631 4774716 4780601 4796430 4802281 4808079 4808489 4814438 4816898 4816970 4826191 4829703 4830061 4834259 4835153 4839268 4854233 4854410 4866715 4871258 4883796 4893952 4917281 4934706 4935923 4936591 4942378 4948693 4954374 5003251 Changes incorporated in this version: 5003251 Patches accumulated and obsoleted by this patch: 113997-01 114080-01 114425-01 114426-06 115507-01 116129-02 116131-01 116447-02 116449-01 Patches which conflict with this patch: Patches required with this patch: 112234-09 or greater 114419-02 or greater Obsoleted by: Files included with this patch: /kernel/drv/md /kernel/misc/md_hotspares /kernel/misc/md_mirror /kernel/misc/md_notify /kernel/misc/md_raid /kernel/misc/md_sp /kernel/misc/md_stripe /kernel/misc/md_trans /sbin/metadb /sbin/metadevadm /sbin/metainit /sbin/metarecover /sbin/metastat /usr/include/libsvm.h /usr/include/mdiox.h /usr/include/meta.h /usr/include/meta_basic.h /usr/include/metad.h /usr/include/metamed.h /usr/include/sys/lvm/md_convert.h /usr/include/sys/lvm/md_crc.h /usr/include/sys/lvm/md_hotspares.h /usr/include/sys/lvm/md_mddb.h /usr/include/sys/lvm/md_mdiox.h /usr/include/sys/lvm/md_mem.h (deleted) /usr/include/sys/lvm/md_mirror.h /usr/include/sys/lvm/md_mirror_shared.h /usr/include/sys/lvm/md_names.h /usr/include/sys/lvm/md_notify.h /usr/include/sys/lvm/md_raid.h /usr/include/sys/lvm/md_rename.h /usr/include/sys/lvm/md_sp.h /usr/include/sys/lvm/md_stripe.h /usr/include/sys/lvm/md_trans.h /usr/include/sys/lvm/mdio.h /usr/include/sys/lvm/mdvar.h /usr/include/sys/sysevent/domain.h /usr/include/sys/sysevent/env.h /usr/include/sys/sysevent/eventdefs.h /usr/include/sys/sysevent/svm.h /usr/lib/adb/md_link /usr/lib/adb/md_m_shared /usr/lib/adb/md_m_shared32 /usr/lib/adb/md_set /usr/lib/adb/mdc_unit /usr/lib/adb/mdc_unit32 /usr/lib/adb/mdi_unit /usr/lib/adb/mm_unit /usr/lib/adb/mm_unit32 /usr/lib/adb/mp_ext /usr/lib/adb/mp_unit /usr/lib/adb/mp_unit32 /usr/lib/adb/mr_column /usr/lib/adb/mr_column32 /usr/lib/adb/mr_unit /usr/lib/adb/ms_comp32 /usr/lib/adb/ms_row /usr/lib/adb/ms_row32 /usr/lib/adb/ms_unit /usr/lib/adb/ms_unit32 /usr/lib/adb/mt_unit32 /usr/lib/drv/config_md.so.1 (deleted) /usr/lib/drv/preen_md.so.1 /usr/lib/libmeta.so /usr/lib/libmeta.so.1 /usr/sbin/mdmonitord /usr/sbin/medstat /usr/sbin/metaclear /usr/sbin/metadb /usr/sbin/metadetach /usr/sbin/metadevadm /usr/sbin/metahs /usr/sbin/metainit /usr/sbin/metaoffline /usr/sbin/metaonline /usr/sbin/metaparam /usr/sbin/metarecover /usr/sbin/metarename /usr/sbin/metareplace /usr/sbin/metaroot /usr/sbin/metaset /usr/sbin/metastat /usr/sbin/metasync /usr/sbin/metattach /usr/sbin/rpc.metad /usr/sbin/rpc.metamedd /usr/sbin/rpc.metamhd /usr/snadm/lib/libsvm.so /usr/snadm/lib/libsvm.so.1 Problem Description: 5003251 11302[67] should not require 11346[45] (from 113994-16) 4719744 metastat on particular device shows additionally unrequested device 4934706 node panic's while delete disks from diskset 4942378 rpc.metamedd not responding WARNING even though it is running on the node 4935923 mdmonitord dumps core with many metadevices 4936591 raid panic with hs dead and metaset take 4954374 SVM failfast code is not complete (from 113994-15) 4917281 Using EFI disks in a diskset has problems. (from 113994-14) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u6 feature point patches 116129-02 and 116447-02. (from 113994-13) 4835153 SVM needs to support DKIOCPARTITION ioctl 4866715 Unable to perform metattach with active ufs snapshots (from 113994-12) 4159866 Cannot delete a diskset with no existing database 4760182 metaroot -c -k -v vs /kernel/drv/md.cf 4816898 metaroot fails if root is net mounted 4826191 invalid slice number for drive name (from 113994-11) 4829703 cannot manipulate disks in a diskset when there is a dead disk 4839268 BAD TRAP in mdmonitord while running test user_multisrc_4_02 on Sun-Fire-880 4883796 md_notify module allows itself to be unloaded prematurely 4854410 Mdmonitord can panic if mirror or raid resync in progress 4854233 Lock ordering problem in mddb can cause deadlock (from 113994-10) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u5 feature point patch 115507-01. (from 113994-09) 4808079 metastat output shows disks as Unavailable and not the maintenance state or flag (from 113994-08) 4628758 metainit -a creates overlapping soft partitions 4830061 metattach should fail with filesystem mounted on component of mirror 4834259 metaroot command should relax device validity checks if -k, -v and -c are used (from 113994-07) 4647352 BAD TRAP in mdmonitord while running TStrans tests (from 113994-06) 4352265 get rid of mdf_alloc 4721112 fi_wakeup_flg is redundant 4796430 kmem should provide non-thread-based dispensation to use pageout_reserve 4816970 md_trans:trans_error() reference to free memory (from 113994-05) 4711136 Can't add disk to metaset if its DID has the same name as an existing metadevice 4808489 metaname_common needs to check on component type (from 113994-04) 4690701 One node panics when running scate SDS functional test 4723547 Panic after disk failure on mpxio system 4802281 s10_25 crash dump fails on SVM mirrored swap 4814438 kernel/drv/md patch for both Sparc and X86 do not list dependent patch in README (from 113994-03) 4632281 Dirty region bit maps at shutdown can cause long mirror resyncs on next boot (from 113994-02) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update: S9U3 feature point patches: 114080-01 (from 113994-01) 4680610 SVM does not support DKIOCGAPART ioctl() for soft partitions (from 113997-01) 4710390 metaset cannot be manipulated with lost disks (from 114080-01) 4715443 Need to migrate mdnotify event logging to use 4373671 metastat reports nonexistent RAID5 as `Okay' 4714648 RCM/DR Module required for SVM 4462054 make _msg target needs to include rcm modules 4720138 Placeholder bug for PSARC/2001/311 MultiTeraByte SVM 4701093 Truncated field name in metastat output when concat/stripe built on SP 4711969 fmthard -n fails for softpartitions 4725693 libap and libintpos are unused and should be removed 4508010 metastat shows negative numbers/SVM/Beta 9 4698878 metastat displays corrupted output string for Concatenated devices 4678627 metadetach should not automatically resize the mirrors. 4715369 Assertion fails on debug kernel when removing raid on more than 10 softparts 4705513 md:free_dtree() panic: kernel heap corruption detected 4668960 Creation of filesystem on a metadevice, with soft-partition-mounts, should fail 4666299 libsvm must be made more robust 4690983 kadb macros needs for md_set, mdi_unit, etc. 4668224 delete libconfig 4631270 metaroot allows multi-way mirrors as a root device 4634737 metaroot command does not validate argument to -c command 4669927 metaroot: Segmentation Fault 4648067 md driver getinfo(9E) does not correctly support DDI_INFO_DEVT2INSTANCE 4655532 md's init/fini attach/detach not robust 4705486 use of strcpy() in metaset could cause buffer overflow 4714923 System hangs as threads block in page_lock() 4740375 Metadb corruption after state change of stripe meta devices 4733518 deadlock in RAID running dioarr test 4774716 metaroot returns "No such file or directory" 4780601 gavulin patch for S9U3 build 2 is incomplete (from 114425-01) 4715443 Need to migrate mdnotify event logging to use 4373671 metastat reports nonexistent RAID5 as `Okay' 4714648 RCM/DR Module required for SVM 4462054 make _msg target needs to include rcm modules 4720138 Placeholder bug for PSARC/2001/311 MultiTeraByte SVM (from 115507-01) 4259149 WAN-capable network boot/install 4744248 boot argument processing is broken on sparcv9 4763631 boot code could be cleaned up 4473583 boot: 64-bit stat on 32-bit kernels (from 116129-02) 4893952 jurassic panic'd in kstat_q_panic while panic'ing (from 116129-01) 4518313 Disksuite should use new buf flag B_FAILFAST for submirrors 4518317 SVM should provide faster cluster failover times when updating the mddb's (from 116447-02) 4948693 metaset creation fails and dumps cores (from 116447-01) 4521998 Project Springbank - PSARC 2002/451 - metassist type command (from 114426-06) This patch revision was generated to accumulate and obsolete the changes introduced in Solaris Update s9u6 feature point patches 116131-01 and 116449-01. (from 114426-05) 4159866 Cannot delete a diskset with no existing database (from 114426-04) 4839268 BAD TRAP in mdmonitord while running test user_multisrc_4_02 on Sun-Fire-880 4883796 md_notify module allows itself to be unloaded prematurely 4854410 Mdmonitord can panic if mirror or raid resync in progress 4854233 Lock ordering problem in mddb can cause deadlock (from 114426-03) 4830061 metattach should fail with filesystem mounted on component of mirror 4834259 metaroot command should relax device validity checks if -k, -v and -c are used (from 114426-02) 4647352 BAD TRAP in mdmonitord while running TStrans tests (from 114426-01) 4715443 Need to migrate mdnotify event logging to use 4373671 metastat reports nonexistant RAID5 as `Okay' 4714648 RCM/DR Module required for SVM 4462054 make _msg target needs to include rcm modules 4720138 Placeholder bug for PSARC/2001/311 MultiTeraByte SVM (from 116131-01) 4518317 SVM should provide faster cluster failover times when updating the mddb's 4518313 Disksuite should use new buf flag B_FAILFAST for submirrors (from 116449-01) 4521998 Project Springbank - PSARC 2002/451 - metassist type command 4871258 PSARC/2003/411 SVM auto-take disksets 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-9 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: To get the complete WAN-capable network boot/install feature, please install the following patches: 115686-01 (or newer) netstrategy patch 114262-01 (or newer) snoop patch 114421-02 (or newer) libadm.so.1 patch 115684-01 (or newer) header files patch 115023-03 (or newer) ufs_inode.h patch 113999-03 (or newer) libdevinfo.h patch 114350-02 (or newer) dhcpagent & libdhcputil.so.1 patch README -- Last modified date: Tuesday, May 4, 2004