Patch-ID# 122808-03

NOTE:
***********************************************************************
READ THE TERMS OF THE AGREEMENT ("AGREEMENT") IN THE LEGAL_LICENSE.TXT
FILE CAREFULLY BEFORE USING THIS SOFTWARE. BY USING THE SOFTWARE, YOU
AGREE TO THE TERMS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE
TERMS, PROMPTLY DESTROY THE UNUSED SOFTWARE.
***********************************************************************

Keywords: 
Synopsis: QFS 4.5 Solaris 10_x86 Patch
Date: Aug/31/2006


Install Requirements: NA                      
                      
Solaris Release: 10_x86

SunOS Release: 5.10_x86

Unbundled Product: QFS

Unbundled Release: 4.5

Xref: 

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 5027391 6312227 6320179 6326455 6330344 6356092 6364962 6368922 6369711 6372041 6374614 6377015 6378565 6379954 6380345 6380911 6381073 6382265 6382433 6382565 6383034 6384237 6385077 6386273 6386737 6386888 6388680 6389562 6389585 6391273 6391540 6391660 6393068 6393658 6394315 6395943 6396831 6398822 6399116 6399125 6400354 6401533 6402362 6402386 6407176 6409125 6410530 6410627 6411305 6411729 6417002 6420157 6420232 6423493 6425830 6425844 6426823 6427407 6427917 6429781 6436772 6436905 6438685 6441678 6442354 6442355 6444538 6446066 6446695 6447286 6450496 6452781 6461080

Changes incorporated in this version: 5027391 6312227 6380345 6381073 6399125 6401533 6402386 6426823 6429781 6436772 6436905 6438685 6441678 6442354 6442355 6444538 6446066 6446695 6447286 6450496 6452781 6461080

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

/etc/fs/samfs/mount
/etc/init.d/samfs.shared
/etc/opt/SUNWsamfs/startup/sampkgchk
/etc/opt/SUNWsamfs/startup/samsyschk
/etc/sysevent/config/SUNW,SUNWsamfs,sysevent.conf
/kernel/drv/amd64/samaio
/kernel/drv/amd64/samioc
/kernel/drv/amd64/samst
/kernel/drv/samaio
/kernel/drv/samaio.conf
/kernel/drv/samioc
/kernel/drv/samioc.conf
/kernel/drv/samst
/kernel/fs/amd64/samfs
/kernel/fs/samfs
/opt/SUNWfsmgr/samqfsui/WEB-INF/lib/fsmgmtjni.jar
/opt/SUNWfsmgr/samqfsui/WEB-INF/lib/fsmgr.jar
/opt/SUNWfsmgr/samqfsui/js/fs/stage.js
/opt/SUNWfsmgr/samqfsui/jsp/fs/FSDClusterPagelet.jsp
/opt/SUNWfsmgr/samqfsui/jsp/fs/FSDetails.jsp
/opt/SUNWfsmgr/samqfsui/jsp/fs/SharedFSDetails.jsp
/opt/SUNWfsmgr/samqfsui/jsp/fs/Stage.jsp
/opt/SUNWfsmgr/samqfsui/jsp/fs/StageGotoDirectory.jsp
/opt/SUNWfsmgr/samqfsui/jsp/fs/StagePopup.jsp
/opt/SUNWfsmgr/samqfsui/jsp/fs/SunPlexManagerPagelet.jsp
/opt/SUNWsamfs/bin/samchaid
/opt/SUNWsamfs/bin/sdu
/opt/SUNWsamfs/bin/setfa
/opt/SUNWsamfs/bin/sfind
/opt/SUNWsamfs/bin/sls
/opt/SUNWsamfs/client/lib/libsamrpc.so
/opt/SUNWsamfs/client/src/client/Makefile
/opt/SUNWsamfs/client/src/client/sam_attrtoa.c
/opt/SUNWsamfs/client/src/client/samfs_clnt.c
/opt/SUNWsamfs/client/src/client/samrpc.c
/opt/SUNWsamfs/client/src/xdr/Makefile
/opt/SUNWsamfs/client/src/xdr/sam_xdr.c
/opt/SUNWsamfs/examples/defaults.conf
/opt/SUNWsamfs/examples/hosts.shsam1
/opt/SUNWsamfs/examples/hosts.shsam1.local.client
/opt/SUNWsamfs/examples/hosts.shsam1.local.server
/opt/SUNWsamfs/examples/mcf
/opt/SUNWsamfs/examples/samfs.cmd
/opt/SUNWsamfs/examples/sendtrap
/opt/SUNWsamfs/include/lib.h
/opt/SUNWsamfs/include/samrpc.h
/opt/SUNWsamfs/include/stat.h
/opt/SUNWsamfs/include/version.h
/opt/SUNWsamfs/lib/amd64/libsam.so
/opt/SUNWsamfs/lib/libdb.so.1
/opt/SUNWsamfs/lib/libfsmgmt.so
/opt/SUNWsamfs/lib/libsam.so
/opt/SUNWsamfs/lib/libsamapi.so
/opt/SUNWsamfs/lib/libsamcat.so
/opt/SUNWsamfs/lib/libsamfs.so
/opt/SUNWsamfs/lib/libsamrft.so
/opt/SUNWsamfs/lib/libsamsanergy.so
/opt/SUNWsamfs/lib/libsamut.so
/opt/SUNWsamfs/man/man1/sdu.1
/opt/SUNWsamfs/man/man1/setfa.1
/opt/SUNWsamfs/man/man1/sfind.1
/opt/SUNWsamfs/man/man1/sls.1
/opt/SUNWsamfs/man/man1/squota.1
/opt/SUNWsamfs/man/man1m/backto.1m
/opt/SUNWsamfs/man/man1m/fsmadm.1m
/opt/SUNWsamfs/man/man1m/fsmgmtd.1m
/opt/SUNWsamfs/man/man1m/mount_samfs.1m
/opt/SUNWsamfs/man/man1m/qfsdump.1m
/opt/SUNWsamfs/man/man1m/qfsrestore.1m
/opt/SUNWsamfs/man/man1m/sam-fsd.1m
/opt/SUNWsamfs/man/man1m/sam-sharefsd.1m
/opt/SUNWsamfs/man/man1m/sambcheck.1m
/opt/SUNWsamfs/man/man1m/samchaid.1m
/opt/SUNWsamfs/man/man1m/samcmd.1m
/opt/SUNWsamfs/man/man1m/samd.1m
/opt/SUNWsamfs/man/man1m/samexplorer.1m
/opt/SUNWsamfs/man/man1m/samfsck.1m
/opt/SUNWsamfs/man/man1m/samfsconfig.1m
/opt/SUNWsamfs/man/man1m/samfsinfo.1m
/opt/SUNWsamfs/man/man1m/samfstyp.1m
/opt/SUNWsamfs/man/man1m/samgrowfs.1m
/opt/SUNWsamfs/man/man1m/sammkfs.1m
/opt/SUNWsamfs/man/man1m/samncheck.1m
/opt/SUNWsamfs/man/man1m/samquota.1m
/opt/SUNWsamfs/man/man1m/samquotastat.1m
/opt/SUNWsamfs/man/man1m/samsharefs.1m
/opt/SUNWsamfs/man/man1m/samtrace.1m
/opt/SUNWsamfs/man/man1m/samu.1m
/opt/SUNWsamfs/man/man1m/samunhold.1m
/opt/SUNWsamfs/man/man1m/set_admin.1m
/opt/SUNWsamfs/man/man3/intro_libsam.3
/opt/SUNWsamfs/man/man3/intro_libsamrpc.3
/opt/SUNWsamfs/man/man3/qfs_listio.3
/opt/SUNWsamfs/man/man3/sam_advise.3
/opt/SUNWsamfs/man/man3/sam_lstat.3
/opt/SUNWsamfs/man/man3/sam_setfa.3
/opt/SUNWsamfs/man/man3/sam_stat.3
/opt/SUNWsamfs/man/man3x/intro_libsam.3x
/opt/SUNWsamfs/man/man3x/intro_libsamrpc.3x
/opt/SUNWsamfs/man/man3x/sam_closerpc.3x
/opt/SUNWsamfs/man/man3x/sam_initrpc.3x
/opt/SUNWsamfs/man/man3x/sam_lstat.3x
/opt/SUNWsamfs/man/man3x/sam_setfa.3x
/opt/SUNWsamfs/man/man3x/sam_stat.3x
/opt/SUNWsamfs/man/man4/defaults.conf.4
/opt/SUNWsamfs/man/man4/hosts.fs.4
/opt/SUNWsamfs/man/man4/hosts.fs.local.4
/opt/SUNWsamfs/man/man4/mcf.4
/opt/SUNWsamfs/man/man4/samfs.cmd.4
/opt/SUNWsamfs/sbin/HAStoragePlus_samfs
/opt/SUNWsamfs/sbin/amd64/samtrace
/opt/SUNWsamfs/sbin/backto
/opt/SUNWsamfs/sbin/clientmgmt
/opt/SUNWsamfs/sbin/fsmadm
/opt/SUNWsamfs/sbin/fsmgmtd
/opt/SUNWsamfs/sbin/i386/samtrace
/opt/SUNWsamfs/sbin/sam-sharefsd
/opt/SUNWsamfs/sbin/samcmd
/opt/SUNWsamfs/sbin/samcrondump
/opt/SUNWsamfs/sbin/samcronfix
/opt/SUNWsamfs/sbin/samd
/opt/SUNWsamfs/sbin/samexplorer
/opt/SUNWsamfs/sbin/samfsconfig
/opt/SUNWsamfs/sbin/samquota
/opt/SUNWsamfs/sbin/samquotastat
/opt/SUNWsamfs/sbin/samsharefs
/opt/SUNWsamfs/sbin/samtrace
/opt/SUNWsamfs/sbin/samu
/opt/SUNWsamfs/sbin/samunhold
/opt/SUNWsamfs/sbin/set_admin
/opt/SUNWsamfs/sc/bin/scqfs_fini
/opt/SUNWsamfs/sc/bin/scqfs_init
/opt/SUNWsamfs/sc/bin/scqfs_monitor_check
/opt/SUNWsamfs/sc/bin/scqfs_monitor_start
/opt/SUNWsamfs/sc/bin/scqfs_monitor_stop
/opt/SUNWsamfs/sc/bin/scqfs_postnet_stop
/opt/SUNWsamfs/sc/bin/scqfs_prenet_start
/opt/SUNWsamfs/sc/bin/scqfs_probe
/opt/SUNWsamfs/sc/bin/scqfs_start
/opt/SUNWsamfs/sc/bin/scqfs_stop
/opt/SUNWsamfs/sc/bin/scqfs_update
/opt/SUNWsamfs/sc/bin/scqfs_validate
/opt/SUNWsamfs/sc/etc/SUNW.qfs
/usr/lib/devfsadm/linkmod/SUNW_samaio_link.so
/usr/lib/fs/samfs/amd64/fsck
/usr/lib/fs/samfs/amd64/libsamconf.so
/usr/lib/fs/samfs/bcheck
/usr/lib/fs/samfs/fsck
/usr/lib/fs/samfs/fstyp
/usr/lib/fs/samfs/i386/fsck
/usr/lib/fs/samfs/libsamconf.so
/usr/lib/fs/samfs/mkfs
/usr/lib/fs/samfs/ncheck
/usr/lib/fs/samfs/qfsrestore
/usr/lib/fs/samfs/sam-fsd
/usr/lib/libfsmgmtjni.so
/usr/lib/libfsmgmtrpc.so
/usr/lib/locale/C/LC_MESSAGES/SUNWsamfs
/usr/sfw/bin/notify
/usr/sfw/bin/tapealert_log
/usr/sfw/bin/tapealert_trap
/var/snmp/mib/RFC-1215.txt
/var/snmp/mib/RFC1155-SMI.txt
/var/snmp/mib/RFC1213-MIB.txt
/var/snmp/mib/SNMPv2-CONF.txt
/var/snmp/mib/SNMPv2-MIB.txt
/var/snmp/mib/SNMPv2-SMI.txt
/var/snmp/mib/SNMPv2-TC.txt
/var/snmp/mib/SNMPv2-TM.txt
/var/snmp/mib/SUN-SAM-MIB.mib
/var/svc/manifest/application/management/fsmgmt.xml

Problem Description:

6461080 ECONNREFUSED when sending ArchReq from arfind to archiverd
6452781 Direct I/O timed out errors causing sam-stagerd_copy procs to hang.
6450496 arfind hung after scanning files to unarchive
6447286 samfsck core dumps with a SIGSEGV when file size in inode is larger than theoretical maximum
6446695 access to offline file marked "stage -n" via NFS never completes and sam-stagerd loops
6446066 mcf(4) man page shows incorrect blocksize for T10000/Titanium (ti) drives.  Should be 2MB
6444538 patch backout does not work for the File System Manager GUI
6442355 Stager daemon leaks memory eventually aborting with fatal error
6442354 Number of shared drives used for archiving and staging degrades over time.
6441678 linux: race in get_new_inode--two I_NEW inodes for same file
6438685 Archiving files to ms-md file system fails with missing copies if disk archive FS fills up.
6436905 lseek to EOF sometimes seeks to BOF on shared client
6436772 enhance samexplorer mdb command for S10 to print function args
6429781 rwlock Deadlock sam_rename_inode and sam_remove_name
6426823 sam_set_lease_response should use sam_check_cache
6402386 samfsrestore leads to a recursive rw_enter panic on T1000/T2000 hardware
6401533 linux26: inode lookups in sam_get_ino can race, both can send rpc
6399125 RFE modify the message queueing system so that the server/clients aren't waiting in sam_read_sock
6381073 mm_stripe not balancing metadata across mm devices
6380345 ECONNREFUSED when sending ArchReq from sam-arfind to sam-archiverd for scheduling
6312227 SamFS is just aware of 32 bit time handling
5027391 RFE: Eliminate need for waiting thread in some instances of messages
 
(from 122808-02)
 
6427917 Data compare errors on direct I/O on shared client with dio_szero
6427407 Media: Blank page will display while clicking on Import button for direct attached library.
6425844 Stager copy process exits with Shutdown context: 0xfebf0000 first: 0x0.
6425830 Admin of log files by fsmgmtd: Multiple log entries for SAM-log in syslog.conf are not handled
6423493 stages remain "Pending" for long periods of time waiting for sam-stagerd_copy to become available
6420232 Media: Error alert is not displayed properly after VSN Import fails
6420157 Migration Toolkit failing
6417002 linux2.4: Panic in sam_find_ino_actor->get_new_inode->find_inode
6411729 SAIT WORM doesn't work
6411305 Drive intermittantly DOWNed failing to open /dev/rmt/ device. "Device busy /Failed to open the path"
6410627 deadlock between inode rwlock and page lock when multiple applications reading same file
6410530 Negative values in sam-recycler trace due to missing disk archive files
6409125 RFE: flock needs to be handled in linux kernels >= 2.6.9
6407176 removeable media file (request file) reads/writes may fail with ENODEV
6402362 samexplorer script change needed to change sam-log grep to -iv from grep -i
6400354 fsx detects non-zeroed data in sparse file on RH4U2 Linux client.
6398822 need to start the webserver after patch install
6395943 RFE: Control over unmounting FS w/ mounted clients desirable
6394315 Advisory file locks not released on RH4 after close of file
6391273 duplicate stage requests when offline files accessed via NFS or local with no wait
6389585 altix: fsx w/mmap results in zeroed data--part 2
6384237 sam-stagerd_copy stops responding; all other SAM-FS processes hang and will not respond to a kill -9
6382265 An incomplete list of VSNs is displayed in the "Import VSN" table.
6374614 altix: fsx w/mmap results in zeroed data
6326455 RFE: sharefs_thread processes contributing to load average on idle system
 
(from 122808-01)
 
6399116 linux2.4: inode lookups broken
6398822 need to start the webserver after patch install
6396831 Update the SAM/QFS README file
6393658 archiver.cmd states that examine = scan is the default under archive set scheduling
6393068 out-of-range mount parameter generates mount core dump
6391660 BAD TRAP:NULL pointer dereference with 32-bit samfs kernel
6391540 QFS 4.4 patch 120974-02 deletes some entries in /etc/inittab
6389562 sam-archiverd gets SEGV when two threads accessing diskvols database at the same time
6388680 FS Manager does not handle multiple vsn assignments for the same set correctly.
6386888 Qualify the C4 libraries with SAM-QFS
6386737 Shared 'reader' mount hangs
6386273 Group ID set to group ID of parent directory on Linux QFS
6385077 FS: mkfs on large slices hungs when it is started from fsmgmtd daemon.
6383034 Samfs archiver not archiving both copies of files.
6382565 linux2.4: deadlock between truncate thread and writer
6382433 cscope target should ignore object directories
6380911 staging with copy 1 disk archive offline marks copy damaged and re-uses same stagerd copy process
6379954 QFS: ms file system type: standalone file system can't be converted to shared file system
6378565 Fatal error during uninstall on RH4U2
6377015 patchrm fails with "prebackout script exited with return code 1" if fsmadm is running
6372041 RFE: Qualify the Titanium drive with SAM-QFS
6369711 linux2.4: sam_check_cache() and sam_get_ino() ill-behaved
6368922 sam-rftd connection not reused after dk archive path verification.  "Empty command, client drop..."
6364962 recycler should exclude vsn with U bit set
6356092 FS: SunPlex Manager link is missing in FS Details page for HA-QFS.
6330344 pkgchk fails after a patchrm
6320179 Invalid inodes after interrupting ACL test.

Patch Installation 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.
 
Notes and/or Special Install Instructions: 
----------------------------------------- 
 
- Possible installation messages:
  ------------------------------
  This patch provides fixes for packages SUNWqfsr, SUNWqfsu, 
  SUNWfsmgrr, and SUNWfsmgru.  If one or more of these packages 
  are not installed on the host system, the patchadd and patchrm 
  utilities will issue a message noting this (which may be safely
  ignored), and then continue to process the packages that are present.
 
- Special Note for Solaris Installations Running with SunCluster
  --------------------------------------------------------------------
  6395943 RFE: Control over unmounting FS w/ mounted clients desirable
 
   The umount(1M) command (and the underlying umount(2) samfs
   kernel function) has been changed so that unmounts of a shared
   file system metadata server that has mounted clients returns EBUSY.
   The unmount command itself checks after EBUSY is returned, and
   will issue a message indicating mounted clients in this case.
   If the unmount is truly desired, umount -f will forcibly unmount
   the file system.
 
   The umount(1M) command also supports an argument that is
   only meaningful on the metadata server of a shared file system,
   '-o await_clients=#', which will, if the host is the metadata
   server of a shared filesystem, and the file system has mounted
   clients, delay up to # seconds waiting for clients to
   unmount before issuing the unmount.  If all clients unmount
   before the specified time passes (or there are no mounted
   clients), the unmount proceeds immediately.  If the file system
   is not shared, or the host is not the server, or there are no
   mounted clients, the option is ignored.
 
   A new resource type registration file is also included in
   this update.  Customers running SunCluster with shared QFS
   can use scrgadm(1M) to update their shared QFS resource type.
 
   (1) Register the new version of the RT:
 
    # scrgadm -at SUNW.qfs
 
   (2) Upgrade any existing resources that use the 3.1 version
       to use the 3.2 version:
 
    # scrgadm -c -j <resource-name> -y Type_version=3.2
 
   (3) Once all resources have been upgraded, the 3.1 version
       can be deleted:
 
    # scrgadm -r -t SUNW.qfs
 
- Special Note: L1400 Library Now Supported
  ----------------------------------------------------------------------
  The L1400 library is now supported with SAM-QFS 4.5 Patch 02. The
  L1400 is supported both as a single library and as a partitioned
  library. In order for SAM-QFS to support more than one L1400 partition
  for the same SAM-QFS server, there must be a LUN defined for each
  partition. Here is an example of the /kernel/drv/samst.conf file for
  two partitions:
 
  # This line adds support for Fibre Channel Libraries
  name="samst" parent="fp" lun=0 fc-port-wwn="100000e0022317e2";
  name="samst" parent="fp" lun=1 fc-port-wwn="100000e0022317e2";
 
  Also, here are some mcf examples:
 
  /etc/opt/SUNWsamfs/mcf:
 
  # L1400 and 2 LTO3 drives
  /dev/samst/c5t100000E0022317E2u0 200    s9      y_L1400   on
  /dev/rmt/3cbn                   210     li      y_L1400   on
  /dev/rmt/1cbn                   220     li      y_L1400   on
 
  #L1400 and 2 SDLT drives
  /dev/samst/c5t100000E0022317E2u1 300 s9 L1400   on
  /dev/rmt/0cbn           301     lt      L1400   on
  /dev/rmt/2cbn           302     lt      L1400   on

Special Install Instructions:
0

README -- Last modified date:  Thursday, August 31, 2006

