Unless specifically noted otherwise, this history of problems fixed for GPFS 3.4.x applies for all supported platforms.
Problems fixed in GPFS 3.4.0.14 [June 18, 2012]
- mmbackup will filter ANS1361E Session Rejected: The specified node name is currently locked error and will exit error.
- mmbackup will filter filename that contains unsupported characters by TSM.
- Fix a problem stealing buffers in a large pagepool after installing 3.4.0.11.
- Fix for the iP->i_count == 0 kernel assert in super.c. This problem onlyaffects Linux 2.6.36 and later.
- Fix a rare deadlock where a kernel process gets blocked waiting for afree mailbox to send to the GPFS daemon.
- Correct mmlsfileset output for junctions of deleted filesets in some cases.
- Fix a memory allocation problem when online mmfsck runs on a node with a heavy mmap workload.
- Prevent the cluster manager from being expelled as a consequence ofsome communication outage with another node.
- Fixes problem where the 'expelnode' callback indicates that the chosen node had joined the cluster first.
- Fix a problem with nBytesNonStealable accounting.
- Fixed message handler for filesystem quiesce which caused a GPFS assert when filesystemmanager failed while filesystem is been quiesced.
- Fix mmap operations to go through nsd server when direct accessto disks are no longer possible.
- Fix mmsetquota to handle numerical fileset names.
- Fix an error message in mmchattr command with -M/R/m/r option.
- Fix a problem that restripe failed in to an inifinite loop when sg panicked on the busy node.
- Fixed rare assert when deleting files in a fileset.
- Fixed rare hang problem during sg or token recovery.
- Fix deadlock when doing inode scan (mmapplypolicy/mmbackup) in small pagepool.
- getxattr for ACLs may ovewrite the kernel buffer if small buffer sizes (less than 8 bytes) are specified.
- When mmbackup shadow file is rebuilt by --rebuild or -q option, mmbackup will get CTIME information from TSM server,hence files modified after previous backup but before shadow is rebuilt will be backed up by consequent incremental backup.
- Fix a problem where certain errors from a pdisk, like media errors, caused RecoveryGroup open to fail. Change code to continue attempting to openthe RecoveryGroup and simply discount the pdisk(s) returning media errors and unexpected error codes.
- Prevent disks from being marked as 'down' when a node with the configuration option unmountOnDiskFail=yes receives an I/O error or loses connectivity to a disk.
- Fix an assert when copy the inode block to previous snapshot.
- When mmbackup can't backup files, the message is more informational.
- Fixed mailbox calls which can lead to deadlock during filesystem quiesce. The deadlockis most likely to happen on a extremely overloaded system.
- When backup fail (partially or entirely) due to error from TSM client,mmbackup will display error msg from TSM cleint for easy problem detection. But mmbackup will display the error msg only once for the same erroreven though multiple times occur.
- Make GPFS more resilient to sporadic errors during disk access. Upon an unexpected error during disk open, such as ERROR_INSUFFICIENT_BUFFER, GPFS now retries the call after a brief pause.
- When compesating shadow file takes long time because backup partially fail, mmbackup will show progress message.
- Added logic to reduce the chance of failure for "mmfsadm dump cfgmgr".
- mmbackup Device -t incremental and --rebuild is valid syntax and will work properly.
- Fix the problem that deldisk returned success even though if failed.
- handleRevokeM loops when a lease callback is not responded to.
- Fixed old bug in getSpareLogFileDA due to a typo.
- Fix assertion failure when multiple threads use direct I/O to write to the same block of a file that has data replication enabled.
- Fix daemon crash, during log recovery, when log file becomes corrupted.
- Avoid deadlock creating files under extreme stress conditions.
- Fix code to ensure E_ISDIR error get returned when FWRITE flag is used to open adirectory.
- Fix problems with using mmapped files after a filesystem has been forceunmounted by a panic or cluster membership loss.
- Fix quorum loss seen after a ppc64 node reboots.
- This update addresses the following APARs: IV19040 IV19164 IV20127 IV20299 IV20612 IV20617 IV20626 IV20629 IV20633 IV21510 IV21655 IV21751 IV21757 IV22013.
Problems fixed in GPFS 3.4.0.13 [April 27, 2012]
- Fixed mmap deadlock due to MML_FLUSH.
- Fix multi-cluster assert when using a common directory.
- Fixed slow file deletes. Now deletes are done in the background.
- When current backup has 3.2 format, mmbackup -t full will expire 3.2 format files from TSM server.
- When existing backup is 3.2 format, incremental mmbackup will keep the format.
- Avoid very rare deadlock while multiple nodes rename directories concurrently in a deep, shared tree when a snapshot is created.
- When part of back up failed during mmbackup process, the error msg will show more explanatory error message.
- Fix a window where a node failure at a particular time during an mmrestripefs or mmdeldisk command could cause the command to leave log files on a suspended or deleted disk. This could subsequently cause mount to fail due log recovery attempting to access logs on a deleted disk.
- Load and free symbols and GPFS memory address ranges for each dump to print proper traceback on Linux.
- mmbackup will exit 1 when auditlog file is not available for result analysis after backup transaction is done.
- Reload GPFS memory address ranges before each dump to print proper traceback on Linux.
- When mmbackup --rebuild exit with syntax/usage error, the error msg will be more accurate.
- Take whether a node is an NSD server into account as a new criteriain deciding which node to expel when two nodes cannot communicate. Also add new callback script to allow changing the original decision on which node to expel.
- Fix a deadlock in alloc protocol. This tends to occur in SNC cluster.
- Fixed mmfsck handling of duplicate address corruptions.
- Fixed inode inconsistency struc error problem due to lastBlockSubblocks not being set correctly after truncate.
- Fix to daemon failure ("sgiP->sgMgr == NONE_APPOINTED") after node loses and then regains quorum.
- Fix a race window that causes msync returns undocumented error EAGAIN on AIX.
- After NSD server nodes change, fix ReadReplicaPolicy choice of a local NSD server.
- Fix a long waiter problem during file system umount caused by incomplete cleanup of gpfs_prealloc on error exit.
- Fix an issue that could cause log recovery to fail if a node fails shortly after time-of-day on the node had be set backwards by more than a few seconds.
- Fixed rare hang problem with dynamic mailboxes and dmapi event wait mailbox handler.
- Fix a problem that can lead to SAMBA create/rename permission denied.
- Fix a deadlock if GPFS cannot get proper file lock or inode because inode is invalid at some time.
- Fixed a case where 3.2 filesystem is not resetting hasXAttr flag at file destroy timeCode.
- gpfsOpen asserts when getInodeStatus==INODE_DELETED but nLink!=0.
- Prevent hangs and crashes if a node fails immediately after running a snapshot create or delete command.
- Fix a deadlock between the last local restripe thread and remote helpers.
- mmbackup -t incremental will keep 3.2 backup format if existing backup was done with GPFS 3.2 or earlier version of mmbackup.
- Fix a problem that will cause the whole system unusable when wehit E_NOMEM. Also increase the shared segment hard limit 1GB to a value bases on physical memory and page pool size.
- No longer provides an improper warning message after an mmchdisk that doesn't actually change anything.
- Fix assert (callerSerialized == 0) OR (isAllocListChanging()).
- Files created from a Linux node via an AIX/NFSv4 server have bad mtimes.
- Exception in the AIX vattr_to_fattr3 routine.
- Support DW_CFA_val_offset(0x14), DW_CFA_val_offset_sf(0x15) and DW_CFA_val_expression(0x16) DWARF operation codes for traceback on Linux.
- Fix a window where a client node unmounting the file system at a particular time during an mmrestripefs or mmdeldisk command could cause the command to leave log files on a suspended or deleted disk. This could subsequently cause mount to fail due log recovery attempting to access logs on a deleted disk.
- mmbackup will not replace shadow file by .mmbackupShadow.*.old inadvertently.
- "Incorrect ACL entry" from mmputacl -i due to overlapping memcpy.
- mmbackup will check detail error code and preserve .mmbackupCfg data for debug.
- When backup partially fail, mmbackup continues to compensate shadow file even though there are multiple failed reported for the same file in auditlog file.
- Fix code that can leave filesystem in quiesced state on some nodes after filesystem manager node fails in the middle of a snapshot command.
- When existing backup is 3.2 format, mmbackup with multiple TSM server will exit with error.
- Fix calculation of the number of file systems managed by each node, which is used in deciding which node to expel.
- Fix a rare quota manager deadlock occurred when it needs to expand the last fragment of a quota file.
- Fix an FSErrSnapInodeModified error caused by copying quota files to snapshots.
- mmbackup without -S
will not consider a fileset that is deleted but remain as unlinked status in a snapshot as unlinked fileset. - When mmbackup fail even before actual backup processing start, it will exit with 2.
- Fix bad "bufP == NULL" assertion when downlevel nodes used to do a remote allocation.
- Added diskFailure event callback support, %fsName and %diskName can be used as parms for the callback script to indicate which disk is failed. This callback event is an local event and only be triggered on file system manager node.
- mmdelsnapshot was hanging in cleanupStaleNFS/kBegin when there was NFS activity.
- mmbackup will backup regular files or directories that happen to contain "mmbackup" in its path.
- CNFS: get the correct vlan interface name in SLES.
- mmbackup -S
will skip files that match to exclude criteria. - mmbackup -t full on 3.2 backup format will successfully expire 3.2 backup format files from TMS server.
- mmbackup will consider linked child fileset whose parent fileset is unlinked as unlinked fileset.
- mmbackup will exit 1 when incremental backup partially fail and shadow file compensation succeed.
- CNFS: Fix recovery with multiples VLANs in CNFS IP list.
- mmbackup will not stop processing even though there's no auditlog file if only expiration processing is done.
- mmbackup will display progress msg "Expiring files..." correctly if expiration transaction takes longer than 30 mins.
- mmbackup with multiple TSM clients will catch all error messages from dsmc command output.
- Fix printing of long fileset names in mmrepquota and mmlsquota commands.
- mmbackup can backup files/directories with long pathname as long as GPFS and TSM support.
- mmbackup will display backup/expiration progress message in every interval specified by MMBACKUP_PROGRESS_INTERVAL environment variable if specified. Otherwise, mmbackup will display backup/expiration progress message every 30 mins.
- This update addresses the following APARs: IV00000 IV16984 IV16990 IV17337 IV17341 IV17445 IV17454 IV17475 IV17494 IV17900 IV18090 IV18092 IV18095.
Problems fixed in GPFS 3.4.0.12 [March 15, 2012]
- Updated policy rule to scan only the directory and its dependants.
- AIX versions of libgpfs API returning errno in rc instead of seperately.
- Correct filesystem hang due to running out of mailboxes.
- Fix issue where writing to a file with O_DIRECT in the presence of snapshots could sometimes failed to preserve the old file content in the snapshot.
- Fix assert when many threads append at the beginning of the same file.
- Fix quota manager locking order causing long waiters.
- Unblock quota commands earlier in file system recovery.
- Fix AIX fatal page fault at 0xFFFFF00010000000.
- Fix a problem where writing to a previously read but not yet modified page in a memory-mapped file will sometimes fail after creating a snapshot.
- Fix an E_WOULDBLOCK assert which caused by mixed mmap/regular read write on multi nodes.
- Fix incomplete cleanup of a failed mmcrfileset command that could cause an assertion at file system close time.
- kBegin called on a duplicated KernelOperation.
- Mmbackup fails with DEBUG=1. Finding the snapshot root dir with "mmsnapdir" when DEBUG is set resulted in mmbackup failing to parse the debug output while looking for the snaproot. Recode the function to look for the specific output needed, and change to use tssnapdir instead of mmsnapdir. Fix a few spelling typos in comments and fix comparison of errorFileCount.
- Prevent problems after incomplete cleanup of failed snapshot create.
- Fix issue where certain workloads that include frequent updates to large extended attributes could cause deadlock.
- Fix a problem where a node may be incorrectly expelled from the active cluster in a scenario involving multiple node failures (including a change in cluster manager) and a TCP connection break.
- Skip renamed/deleted name entry during a Windows query directory call, which could lead to entire query directory call to fail.
- Fix cluster partition problem when a single-node cluster configured with a tiebreaker disk is expanded to multiple quorum nodes, and a network outage causes the cluster manager to lose contact with the other nodes.
- Avoid assert after I/O error following quorum loss.
- In some situations mmrepquota does not release all quota entry holds which prevents file system manager to migrate to another node.
- Mmbackup shadow file rebuild process can result in some files being expired from the wrong server. This happens when thereis a plurality of TSM servers and there remains queried inventory from a server reported in the QueryShadow file with path names lexicographically after all the current file pathnames in the live file system. The mmcmi rebuildshadow command is finishing processing the input files (QueryShadow and List) and when remaining data in the QueryShadow must be appended to the being-rebuilt new shadow file. Remedy by duplicating the code which replaces the QueryShadow values for iAggregate, iRule, etc with the data saved from the first line of the current list file and which contains a valid iAggregate and iRule value pertaining to this TSM server.
- Fix mmfileid to handle big disk addresses in 32 bit kernels.
- In mmbackup, check if unlinked fileset at the beginning and display correct error if -f is not specified.
- Fix assert that can be caused by truncating a file to less than one block in size and then expanding the file back to one block in size.
- Fix mmcheckquota command cleanup on failure that was impeding further invocation of the command.
- Mmbackup leaves audit log after success. Mmbackup needs to remove audit logs for each tsm server before running and after running each backup job.
- Fix race condition in prealloc path to avoid assert when one thread is doing prealloc and another is truncating the file.
- The change is in generating Policy Rule routine in tsbackup33 to add additional statement in where clause.
- Fix buffer length calculation so that there is room for the complete error message.
- Fixed segfault in SFSdmGetDirAttrsCode.
- When scanning through the errors in the audit log file, if mmbackups comes to the end of the list file then it has now made a "reduced copy" of the orginal list, so it closes the original list, closes the reduced copy and re-opens the reduced copy starting at the top and looking at this reduced copy as the "list file" to continue the search for failures to remove. It continues searching the audit failures out from the ever-reducing list file, until done. If it succeeds in finding all audit failures in the list, then it has successfully reduced the list to a proper "new shadow " file state and can exit with some measure of success (1).But if it fails to find all the audit failures in there, then it cannot update the shadow and record success. Repair this routine which reopens the reduced list to no longer discardthe first 5 lines of the top of the list file. Originally the intermediate shadow file would havehad a 5-line header but the usual 5-lines are not present in this list file anymore as it is in a full shadow database. Simple removal of the code that was discarding the 5 top lines fixes the problem.
- Fixed hang due to dmapi lock not being released.
- The Windows installation script (mmwininstall.sh) was changed to properly set the "setuid" and "setgid" bit on tsusercmd. This program is used to allow ordinary users access to commands like mmdf.
- Fix an issue where writing to a file with O_DSYNC did not correctly commit data if disk space for the file was pre-allocated via gpfs_prealloc().
- Moved ODM script from root part to usr part in packaging script.
- Support two more DWARF4 operation codes in GPFS traceback generation code.
- Avoid a deadlock lock when quorum loss happen in restripe is in progress.
- Permit interpreting O_NOATIME open flag on Linux to set the value placed in openInstance updateATime member. O_NOATIME prevents updating the atime on a file when reading its data on the opened descriptor. This is aimed at supporting the preservelastaccessdate option in TSM for backup. TSM backup/archive client uses the O_NOATIME open flag when this option is selected.
- Fix calculation and minor mistake in mmcmi rebuildShadow routine.
- Deadlock when quiesce sneaks in between an NFS close (either through nfsWatchKproc or cleanupStaleNFS) that has already done a kBegin and a subsequent cxiPutOSNode that ends up calling back into mmfs through delete_inode and does another kBegin. Pass a flag to CloseNFS() to allow releasing reservation before calling cxiPutOSNode.
- Fix a problem that, in certain rare instances, can cause a segfault when a filesystem manager fails or is migrating.
- Fix defect that a deleted session could reappear in session list, when this session registered for mount, mount might hang forever.
- Provide the nanosecond granularity support in gpfs_stat().
- Avoid double mutex release when SGMount fails to get the up-to-dateStripeGroupDesc information.
- The TSM inventory contains records with unprintable or newline embedded characters. These were rendered by dsmc q b on multiple lines and confused the query interpreter. As a short-term fix, just omit any such records from appearing in the QueryShadow.
- Fix cluster manager daemon hang when a tie-breaker disk is not used, and the daemon is restarting following a node crash which occurred right afterthe node had become the cluster manager.
- Avoid daemon crash when accessing snapshot files while other snapshots are deleted.
- This update addresses the following APARs: IV03071 IV13931 IV14312 IV14915 IV14917 IV14921 IV15097 IV15098 IV15296 IV15729 IV16015 IV16025 IV16026 IV16063.
Problems fixed in GPFS 3.4.0.11 [February 02, 2012]
- Fixed code to prevent daemon assert which can occur after file system panic due to disk failure.
- Fix a panic when gpfs shuts down.
- Improve GPFS log file diagnostics for disk commands.
- Run cbooP->occupancy callback when THRESHOLD(0,) or no THRESHOLD clause.
- Fixed the logging code which can caused GPFS daemon assert under some race condition.
- Reduce TSBuf lock contention.
- The code change fixes an race condition in the allocation code that could potentially cause a segment violation problem (SEGV) while online fsck is in progress.
- Fix a race condition when unlinking a fileset on linux.
- Fix error handling of tsapolicy if somehow a file rename fails, we print an error message. Also if buckslip/bucket inodescan completes with an error, but without an slave disconnect, we do up to 3 retries.
- Customers effected by this fix are GPFS 3.4 customers that have all nodes in their cluster upgraded to GPFS 3.4 and have upgraded their file system to GPFS 3.4 format so that the filesystem supports 64 bit inode numbers (older versions of GPFS did not support more than 2147483647 files in a single filesystem). Further for the assert to trigger the file being operated on must have a large inode number, larger than the older version of GPFS supported so an inode number larger than 2,147,483,647. This can occur for large filesystems (with more than 2,147,483,647) or customers that use filesets as the newer version of GPFS filesets can cause large inode numbers to be generated as that code leverages the 64 bit inode number space and can partition it for fileset use. The fix applies is for any GPFS node architecture (Linux, AIX, etc...).
- Fix to a sporadic kernel crash with "kSynch.C" in the stack trace, due to anassert in the GPFS kernel module, which may occur around the time the daemonterminates.
- Fixed problem in mmbackup that caused files larger than 100 GB to be backed up needlessly after rebuilding the shadow file.
- Fix a problem that old ea code path does not properly synchronization to log wrap.
- Fixed mmfsck handling of extended attribute corruption.
- Fix an assertion encountered during mmedquota command when the file system is not mounted.
- Updated gpfs.wxs with a ServiceControl entry to uninstall the mmautoload service.
- The distributed directory scan code in tsapolicy was augmented to limit the number of "request" messages that are allowed to be outstanding and unacknowledged.
- Check for stale mount (privVfsP == NULL) before calling kBeginVnopRd.
- Support relink operation of Linux Checkpoint-Restart feature.
- Fix potential kernel panic when dmapi mount event is waiting for response while daemon shutdown at the same time.
- Fix a problem that GPFS does not properly handle cxiUXfer failure.
- In some cases, in configurations where multiple NSD servers exist for a given NSD and none of the serverscan successfuly perform IO to that NSD, the client node can fail to take appropriate action due to being unable to write data to that disk. Fix this problem so that client now takes appropriate error handling action(s).
- Performance improvements for small concurrent reads and writes to a single file over NFS.
- Speed up recovery when the GPFS daemon terminates at the cluster manager node.
- Fix an assertion during umount caused by online checkquota that could leave filesets locked.
- Fix a deadlock problem when deleteing file.
- Fix a deadlock between the quota manager and inode prefetch in accessing quota files.
- Fix to a problem where, with a file opened with the O_DSYNC flag, the data may not be written to disk before the write() system call returns.
- Allow more prefetch and writebehind caching of sequential access files up to prefetchPct of the pagepool.- Option: stealFromDoneList=yes to prevent large sequentially accessed files from flooding the pagepool and stealing randomly accessed or small file buffers.Test:General regression of read/write sequential/random file IO with stealFromDoneList=yes and no.
- Fix a race condition. Mixed(mmap and regular) read-write same file on multi nodes could cause some mmap writes to be lost .
- Fix assert caused by concurrent mmap write and regular read/write.
- Fix problem in mmlsquota which could cause daemon to crash when there are more than 32 quota enabled file systems.
- The Windows installation script (mmwininstall.sh) was changed to properly set the "setuid" bit on mmcmdwrap. This program is used to allow ordinary user access to commands like mmdf.
- Unauthorized chown command was not rejected and setid bits were cleared.
- Fix to mmfsck to remove erroneous warnings about extended attribute overflow blocks not matching.
- This update addresses the following APARs: IV11661 IV12202 IV12326 IV12359 IV12901 IV12930 IV12932 IV12936 IV12937 IV13273.
Problems fixed in GPFS 3.4.0.10 [December 16, 2011]
- Fix a race between truncate and restripe that causes a E_HOLE error.
- Fixed a problem with the tie-breaker disk logic, where a cluster managerwould resign from its role because of a disk challenge coming from a nodewhich was no longer a quorum node.
- Fix a missing proper synchornization between the EA updates and logwrap.
- It fixed command parser for mmlsquota even although usage for mmlsquota is wrong.
- Fix a file system mount problem when quota files can not be created according to metadata replication factor.
- Do not allow NumNFSDataObjects increment if NFSKProc is terminated.
- Recognize new TSM error when file list aborted. TSM corrected their original mispelling and grammar error with a new one and it also must be recognized.
- Fix a segfault triggerred by mmaddcallback and daemon shutdown at the same time.
- Fix a deadlock problem when restripe the fs.
- Fix the directory code which can cause a rare deadlock during mkdir and link fileset. The deadlock could occur when GPFS can not write to all replica due to down disk.
- Avoid filesystem corruption in rare cases when issuing multiple administrative commands in parallel.
- Avoid a crash in rare cases involving creating files and snapshots while deleting disks and StripedLogs are enabled.
- StealNFS() incorrectly takes an object out of the NFSData list even when it does not actually close it (either because it is referenced or belongs to a different filesystem). Subsequently, the background NFS watchdog does not find the vinfo for reaping (but invalidates corresponding gnode). On delayed NFS close, the stale gnode has a connected vinfo. Put NFSData back on the list if close isn't called.
- Fix an rare assertion during a file system mount while opening file system disks the quorum is lost.
- The changes ensure that fileset related checks are not done for older filesystem format that do not support filesets. This ensures fsck does not generate false positves on corruption.
- Fix a resource leak problem when run mmfileid.
- Improve NFS performance.
- Fix a race condition between 'mmunlinkfileset -f' command and rename operation in AIX and Windows.
- Fix a completion race in the parallel inode traverse.
- Fix Linux fatal page fault at memcpy_c+0xb when running dsmmigrate.
- Fix duplicated dmapi session problem caused in cluster manager node takeover process.
- This update addresses the following APARs: IV10610 IV11351 IV11562.
Problems fixed in GPFS 3.4.0.9 [November 11, 2011]
- Fix to daemon assert when node is changed from a quorum to a non-quorum node.
- Fix for unexpected mmfsd daemon shutdown after "Socket operation on non-socket" error.
- Fix deadlock caused by some dmapi application running together with snapshot and fileset commands running at the same time.
- Update reconnect and paxos code to reduce delay in disk election which can cause quorum loss when multiple quorum nodes fail at same time.
- Fixed a group protocol problem which can cause daemon assert when communication link is down between two quorum nodes only.
- Fixed code in mount code path to check for quorum loss before getting mount disposition in order to generate mount event.
- Fix a rare problem which could cause mount to hang in "waiting for SG cleanup" after new FS manager takeover fails due to panic.
- Rare filesystem hang due SGPanic before setting filesystem uid.
- In an environment where a tie-breaker disk is used, fix problem where command mmexpelnode (primarily used in a DB2 cluster) may take more than 2 minutes to run if target nodes are rebooted but come back quickly after the reboot.
- Fixed assert caused due to having extended attributes in inode of a sparse file.
- Speed up mmexpelnode execution when multiple nodes fail.
- Separate audit logs into separate files for each TSM server. Make each loop that iterates over all TSM servers recoverable so that after an error that server's state is marked to indicate the error and the loop continues to the next server. Track shadow file updates, file backup errors, and general TSM command failures separately and compute the return code given to mmbackup.sh based on the degree of success attained over all TSM servers. Rewrite logic at beginning to obtain or recreate a shadow file for each TSM server depending on the command line arguments and state of shadow file. Track serverExits, serverFails, shadowUpdates all in hashes based on $server. Isolate all code for performing query from TSM server and execute this step when needed for missing shadow file from each server. Save query results into a file and refer to it later after file system scan if rebuild needed. Discard TSM messages that are warnings or information during inventory query. Recognize when TSM has nothing backed up yet for the specified file system and that this is not an error. Create new function mergeQuery() for use after file system scan to merge query data with file system scan data using mmcmi rebuildShadow. Eliminate use of lstat() during query rebuild of shadow file saving time. Create new function restoreShadow() to restore a single shadow file from TSM if it is in inventory. Permit rebuilding shadow files even without TSM present by use of --notsm switch. Support the --rebuild options from mmbackup.sh. Disallow use of -q and -t full at the same time. Corrected check of $? after close only of command pipes and not files.
- Fix a small window where truncating a file could cause restripe to fail.
- Fixed problem with i/o error handling on HSM file system that could leave locks on a file. The locked file would prev ent the file system from being unmounted.
- Fix deadlock when the cluster configuration manager fails around the time the file system manager is being re-assigned.
- Add hardlink to /usr/lpp/mmfs/win/gpfs.dll from /usr/lpp/mmfs/bin.
- Fix assertion occurred during clone file deletion in dmapi enabled file systems.
- Fix timer tick calculations to avoid AIX times() bug when running on LPARS in shared processor mode (not dedicated processors).
- Fix log migration code to prevent long waiter during mmdeldisk. The long waiter can occur while deleting working disk with other down disks present.
- Leave vattr untouched when there is a failure collecting the attributes.
- We can change fs data replica to max data replica even if its higher than max metadata replica.
- Fix read code which caused errno to be incorrectly set to EAGAIN even when O_NONBLOCK is used. This problem only occurs when reading past end of file.
- Fix problem that quorum reached event could be triggered twice for one event occurrance during node shutdown.
- Added new log mesasge to indicate when a sync user callback script finishes.
- Ensure the presence of excluded disks is always reflected in the mount options string.
- When a tie-breaker disk is not present, fix delay in completing mmexpelnode when multiple nodes fail and are the targets of the command.
- Fix an assertion encountered in gpfs_prealloc when the file system panics.
- Call ridSurplus irrespective of filesize==0. In the case where filesize is less than 1 block (DMAPI) it will also get rid of indirect blocks.
- Fix hung dmapi dm_release_rights api call in DeclareResourceUsage.
- Install this fix if you want to move progress messages to STDOUT.
- NFS performance improvement for workloads that fit in the cache.
- Added conditional compilation statement so that no error messages will appearwhen compiling GPL layer on SuSE 10 SP1.
- Fix a condition that was causing mmsnmpagentd to terminate abnormally.
- Improve NFS performance when file is already in the cache.
- Fix quota file checksum errors caused by using wrong byte-ordering.
- rmdir sets errno to EPERM when erroneously applied to a fileset junction.
- Ensure the sg is not panicked before we trigger a logassert in updateDataBlockDiskAddr.
- Fixed gpfs rpm dependence problem so that no error message will appear if rpm -ivh gpfs* is used.
- Avoid deadlock in recovering from certain error conditions in mmlinkfileset.
- Add mmapBufstructs configuration setting to allow more page requests which may avoid vmmiowait deadlock.
- Fix a rare compatibility problem that can lead to file system corruption. The problem only occurs in the rare case where number of allocated inodes is not a multiple of inodes per inode block.
- Fix a rare compatibility problem that can lead to file system corruption. The problem only occurs when certain file system with odd number of inodes was migrated to 3.4 format.
- Ensure REMOVE, RMDIR and RENAME operations are committed to disk with 'nfssync' mount option specified.
- Avoid assert when deleting a very large directory from multiple nodes.
- Fix performance of directIO that has to go to NSD server.
- File struct cleared during reclock revoke handler UNLCK.
- This update addresses the following APARs: IV07043 IV07777 IV08201 IV08411 IV08731 IV08733 IV08734 IV08737 IV08980 IV08994 IV09017 IV09018 IV09023 IV09055.
Problems fixed in GPFS 3.4.0.8 [October 06, 2011]
- Fix a race condition between creating a fileset snapshot in a node and mounting file system in another node which the file system was internal mounted.
- Fix gpfs.base RPM to prevent errors during install when install_initd is not available.
- Errors in an off-line hierarchical storage manager will result in errors when trying to access the data from the on-line "stub" file. The on-line operation will fail with the return code from the off-line hierarchical storage manager. Deleting an on-line "stub" file, which has a snapshot that also references the off-line data, requires that the off-line data be recalled on-line so that it may be captured in the snapshot. If the off-line error is due to a permanent data loss, then all retries will also obtain the same error resulting in the user being unable to delete the on-line file. This change allows the on-line file to be deleted when there are permanent errors in the off-line storage. The snapshot file remains on-line, but access to the lost file data will result EIO errors to indicate the data loss.This fix requires the most recent version of IBM Tivoli Storage Manager for Space Management.
- Fix an assertion caused by expanding a quota file fragment.
- Fix code which can cause daemon assert when mmdelfs was immediately followedby mmcrfs command with same FS name.
- Attempt to restore a missing shadow file before resorting to rebuilding it from query data in all cases. The former behavior was inconsistent with -t full or -t incremental.
- Invalid assertion in SFSCreateMetaFile.
- Workaround ksh issue causing spurious command failure in RHEL6 x86_64.
- Fix code which can cause deadlock when mmdeldisk running with a truncate operation on the helper node.
- Fixed mmdelsnapshot not allowning non root user to delete globalsnapshots.
- Fix a double free problem when doing restripe.
- Prevent quorum loss at the cluster manager when quorum nodes are being added or deleted in an environment where tie-breaker disks and persistent reserve are used.
- mmsdrserv should not result in connection failure when multiple clients query the server simultaneously.
- Fix NULL ptr exception in aioComplete.
- In kSFSGetattr(), the check for pcache fileset needs to account for OpenFile being compact.
- Don't print out "GPFS Deadman Switch timer has expired" in the system error log if there are no outstanding IOs.
- OpLock token revoke can cause deadlock on cacheObjMutex.
- Add debug statement in exec script to detail expire errors. Restore lost progress indication for every 30mins to output Backing up files. Limit error messages about policy nonzero return status to occur only for policy errors. In full backup plus query mode preserve the restored shadow file in .mmbackupShadow*.old. Repaired message formatting for TSM failed with RC... message. Repaired message formatting indicating Audit log missing info. Elide decorating double quotes from audit log lines while comparing file names to shadow file. This fixes most common problem with quotation marks in file names when usingthe TSM 6.3.0 client (enhanced now at least print the correct path). Change exit status from tsbackup33 when all errors have been corrected to be "4" instead of $worstTSMrc.
- Take note of any "severe" class error message from dsmc commands and count them. If a severe error occurs, or if ANS1999E message occurs indicating processing of a file list was aborted, then keep old shadow file.
- Fixed rare deadlock during token recovery.
- Fix mmfsck to use correct calucation of max number disk addr allowed in inode to avoid false header corruption report.
- Fix mmapplypolicy ... --choice-algorithm=fast.
- Prevent a node from being added to the cluster a second time under a different name.
- Fix code to enforce that FILESET type quota entries belong to FILESET_ROOT.
- Fix an assertion during "mmlsfs -Q" and the file system recovery has failed.
- Fix mmstartpolicy to accept all valid low disk space event names.
- Fix for segfault in mmapplypolicy under low or no space conditions.
- Avoid very unlikely chance of errors after failed mmcrsnapshot command.
- free kernel buffer upon exit from kxWinOps.
- Handle CNFS interface on vlan tagging devices.
- Dynamicaly update callbacks that allow restricting to a particular nodeclass when the nodeclass's member nodes change.
- Fix problem that file is unnecessarily recalled before it is deleted. Should not recall file if there is no more snapshots.
- Avoid very rare asserts in fileset and snapshot delete commands.
- Fix a race condition between creating a fileset snapshot in a node and mounting file system in another node which the file system was internal mounted.
- Fixed the broken "sync" mechanism when kernel version is greater than 2.6.31.
- Avoid problems accessing files in snapshots while running the mmunlinkfileset and mmdelsnapshot commands.
- Fix invalid mmlsquota command syntax error causing signal 11.
- Work around posix_unblock_lock() prototype changes in later linux kernel.
- This update addresses the following APARs: IV03588 IV03589 IV05690 IV06271 IV06329 IV06333 IV06438 IV06830 IV07501 IV07717.
Problems fixed in GPFS 3.4.0.7 [July 29, 2011]
- Reference any user handle passed to the kernel using the correct access mode and security check.
- Fix code which can lead to assertion in a very rare case.
- Sovled rare race condition which may lead to a kernel crash for 64bit AIX boxes when starting GPFS and unloading GPFS kernel extension concurrently.
- Fix deadlock involving fcntl locking operations that can occur on on Linux systems with 2.6.18 based kernels under memory pressure.
- Fix a problem in libmmantras that was causing application core dump.
- Fixed a problem found when reading alloc sum file.
- Fixed mmexpelnode to avoid 'Failed to locate a working cluster manager' errors.
- Fixed bad assertion in InodeLkObj::token_revoke.
- Fixed remount code that caused mmmount to still show success after remount failed.
- Fix for a rare race condition when GPFS startup and shutdown race each other, resulting in a spurious assert.
- Fix to allow policy rules files with extremely long files, such as those that may be generated by a program or a script. A viable workaround would be to just insert a few newline characters to break long lines.
- Command mmlsquota with option -d only allows one option among -u, -g, -j.
- Fix 'unknown opcode 0x20' warning message in trace back of linux on x86_64.
- Add protection to filesystem name in preUnmount event callback to prevent kernel panic.
- Call putECred on exit from kxWinOps and kxSetTimes.
- Fix to possible deadlock situation after a node which is the primaryNSD server fails while I/O requests are being handled by that NSD server. Threads may be waiting for "Change SG desc".
- Correct disk usage problem in recent Linux kernels with certain LANG setting.
- Fix long waiters caused by error handling in mmpmonNodeListRequest message handler.
- Serialize creation of grace period thread.
- Fix log code which can cause filesystem cleanup to get stuck, which could then prevent other GPFS commands from executing.
- Remove extra IOs when closing a sequentially written file that is larger than the writebehindThreshold.
- Fix rare kernel memory race condition doing AIX IO when the disk max_transfer setting is smaller than the GPFS blocksize.
- Address an issue of mmrestoreconfig in mix version cluster.
- Added new api to restripe a very big file in chunks.
- Fix GPFS RDMA ibv_reg_mr error 12.
- Fix segfault in tsapolicy due to destructor being called twice.
- Fix code that can cause mmdefragfs to never finish. This could occur only when all disks are almost full.
- Fix UTF8 encoding check routine to return correct path name length.
- Based on number of clients that can connect simulteneosly, if correct value is set for socketMaxListenConnections, connection failure will not be observed by clients attempting to connect at the same time.
- Fix to mmexpelnode to avoid indefinite blockage when a network partition is present and the target node is the cluster manager.
- Fix EA limit calculation when metablock size is smaller than 64KB.
- Fix mmapplypolicy in a mixed AIX/Linux cluster AND using the --sort-buffer-size option.
- Fixed windows node assert using gpfsSetAllocFileSize on a datareplicated file system.
- Fix mmrepquota to show human readable form instead of scientific notation for negative number.
- Fixed a problem during quorum type change and when tiebreaker type is set to callback.
- Permit mmbackup to analyze audit log even if "Failed" messages are not detected in STDOUT from dsmc selective command. Should help in rare cases where TSM runs out of space and exits rc=12 without emitting any of the usual failure messages.
- Fix problem in enable fastea path when some other file system error happens at the same time, which interrupted enable fast ea operation.
- Fix exception in GetReturnAddr following a cNFS grace period.
- Fix large inDoubt left unclaimed problem after running chgrp command.
- Add checking code to make sure sgID and inode number passed by dmapi handle are valid.
- Prevent intermittent not-found errors when looking up snapshot pathnames while other snapshots are being deleted.
- Change allocation code to prevent a deadlock that could occur when rebalance disks. This problem could only occur if there are large number of disk (over 32) and most of them 100% full.
- Fix to a problem where when a file is opened with O_DIRECT, but there are other processes with the same file opened without this flag, the writes to the file do not get immediately updated on the disk.
- Fix AIX crash or EINVAL error when calling gpfs_get_winattrs_path.
- HoldDaemonSeg before referencing configuration flags in the segment.
- Install this fix is you are using mmapplypolicy ... -i pathlist -g something ...
- Eliminate possible FSSTRUCT error when accessing snapshots.
- Restore quota file record size shortened by mistake in 3.4 and fix possible quota file checksum errors introduced by wrong record size.
- This update addresses the following APARs: IV01082 IV01136 IV01138 IV01793 IV02033 IV02055 IV02253 IV02277 IZ99707.
Problems fixed in GPFS 3.4.0.6 [June 01, 2011]
- Fix the mmchpolicy code which caused daemon assert after fail with E_NOENT error.
- Fix a quota manager assertion where it could be caching invalid quota file inode after restripe.
- Simplify expel cmd execution when multiple nodes including clmgr is specified in the cmd.
- When TSM mangles path names, always leave the old shadow database in place and indicate an error by returning 12. Suggest next mmbackup be run with -q to synchronise shadow file to TSM.
- Fix assert "!ofP->destroyOnLastClose" or apparent hang under certain workloads with concurrent directory updates from multiple nodes.
- Fix for a rare race condition involving simultaneous mounts of different file systems that could lead to conflicting tokens being issued.
- mmtracectl --off will now reset all trace config variables.
- replace mhAclStore assert when stale ACL data is discovered.
- Made the Windows code more robust in validating various GPFS handles and data structures before making GPFS internal calls. An inflight shutdown can race and cause various GPFS data structures to go invalid.
- Modify the reporting of various file system allocation units in terms of GPFS sub-blocks. This forces the Windows Explorer to round up the disk usage for files to the nearest sub-block, which is consistent with the actual allocation size reported for files.
- Fix a long waiter problem where the quorum is lost while the update mtime handler is already waiting for node recovery.
- Fix for ProbeClusterThread waiting indefinitely for outbound connect during startup (problem occurs mainly on Windows nodes).
- Add functionality to suspend write operations on a filesystem.
- tsdbfs: avoid displaying Inode's wide address fields on narrow disk address filesystems.
- Disallow immutable flag setting on narrow da fs.
- Performance improvement in mmdf.
- Persistent Reserve fix for database clusters where the nsd are directly-attached with many paths.
- Clean up exit code reporting throughout. Add date/time stamp on exit. If tssnapdir command fails, add output to explain failure. Modify count of failed files to include skipped files in audit log. Permit failure exit if count of errors does not match count of Failed and Skipped files in audit log. Skip over pathnames in audit log if mangled. Permit shadow file update to record progress if all the failed pathnames can be elided properly even if mangled ones were skipped.
- Wait recovery to finish before deldisk.
- Fix long mmstartup delay on AIX after mmshutdown --force.
- Fix code that could cause rare filesystem panic during sync.
- Windows maximum shared segment size was increased from 256 MB to 1 GB and the maximum TM memory limit was increased from 1 GB to 128 GB.
- Avoid extremely rare assert during unmount.
- Replace portmap with rpcbind on SLES11 for CNFS.
- Disable expiration time setting on narrow da file system.
- Speed up node failure recovery for configurations with large values for maxFilesToCache.
- Fix the Windows codepaths to call gpfsMmap specifying a valid byte-range.
- Get rid of spurious "approaching limit for the maximum number of inodes" when a new FS manager takes over.
- Ensure sdr server is not running on old configuration servers after rebooted.
- Corrrectly set the list of registered RPC programs after restart portmap.
- Fix CNFS failover problem with SLES11 or later.
- Fix a deadlock that may occur in the presence of node failures.
- Fix a GPL build break on RHEL 4.X when LINUX_KERNEL_VERSION=2060900.
- Fix the allocation code which caused signal 11 under certain error condition.
- Speed up traceback dumping on Linux by saving the symbol table the first time it is read.
- Improve the fairness of the outbound RPC message queue, so that unlucky reply threads will not be stuck indefinitely under heavy communications loads.
- Rare race condition causing spurious ENOSPC error when creating files.
- Change the GPFS code for handleing the conversion of file handle to dentry to ESTALE to NFSD since ESTALE this the valid return code for file not found.
- Change the SIGTERM and SIGINT signal handler and the methods it invokes so that all methods are "signal-safe", invoking only library calls that are Posix, specified as signal-safe. This code is still responsible for removing temporary files that tsapolicy creates.
- There was a race/synchronization problem in the relatively new gpBS (buck slip) protocol that was introduced into rel 3.4 on 2011/02/25. This was fixed by adding code to synchronize of new flag p_beg2_sent, so that we are sure every session is bracketed by a begin... fini sequence.
- Fix thread traceback stopping early and not translating some addresses to symbols.
- Performance improvement in snapshot copy-on-write.
- Fixed an invalid condition check that asserts the deamon instead of doing a proper cleanup while a filesystem manager takeover happens during quota check or fsck operation.
- Fix problem when writing replicated data with direct-IO, where GPFS recovery after a node failure could interfere with concurrent updates to the same file from other nodes.
- Prevent GPFS from starting when registering the pagepool to infiniband fails.
- Make multi-threaded execution procedure local static constructors and/or destructors thread safe by adding code to avoid multiple execution.
- Improve handling of symbolic links in mmbackup.
- Improve error handling in mmbackup.
- Prevent a rare FSSTRUCT error accessing large directory in a snapshot from multi-threaded application on AIX.
- Fix a memory leak when getting extended attributes of a file.
- Performance improvement in snapshot copy-on-write.
- On 64 bit big endian architectures with 64 bit (void*) type and 32 bit (unsigned int) type, an old incorrect ccListVector::append() method stores the uint in memory such that a subsequent vec[i] access method retrieves 0000 instead of the stored value. A first attempted fix did not work due to a bug in the optimizing compiler (did work at level -O0), so a final fix was made to ts/pc/fc/cclistvect.h on 2011/05/06 using an explicit union type instead of "funky" casting.
- Cleanup mmnfsmonitor monitor process after remove CNFS node.
- Found TSM command exit codes were being discarded by execscript due to missing escape slash before $rc.
- When exec script returns nonzero and mmapplypolicy returns EBADF(9) just print message and allow cleanup code to discern whether failure is fatal or not.
- Change variable name to badPathCnt as itrepresents path names mangled by TSM, not files that were "skipped" by TSM because they were busy. Eliminate use of lstat() in determining this and simply see if backupDir is a common root of the failed path. If badPathCntis nonzero, will have to fail the backup.
- Upgraded the Windows build environment to WiX 3.5, which includes an updated DifxApp.
- Fixed regression caused by token management performance improvements.
- Re-bury the --choice-algorithm=fast, so that program behaviour defaults to the old "exact" with sort choice algorithm. Also, fix the choice-algorith option propagation bug.
- This update addresses the following APARs: IZ98687 IZ98699 IZ98702 IZ98771 IZ98981 IZ99353 IZ99355 IZ99356.
Problems fixed in GPFS 3.4.0.5 [April 07, 2011]
- Avoid showing 'unknown' version in mmfslog.
- Fix assignment causing unaligned access warning in Linux for IA64.
- Fix logging recovery when data replication is enabled and metadata replication is not, or following a node failure.
- Stop internal mount for lsquota command.
- Change "mmwindisk initialize" to create the GPFS data partition with a 16MB alignment.
- Allow a node which cannot externally mount a file system, due to page size restrictions, to still serve as file system manager.
- Fix immutability flags being lost after a file is restored from TSM restore program.
- Fix Signal 8 (divide by zero) error when processing a deleted inode for prefetch.
- Write new filesystem device name to all disks to avoid the unwanted warning messages.
- Added a post-install script in GPFS for Windows that runs "mmautoload postinstall".
- Create gpfs init lock file on system startup. This ensures GPFS shutdown will be called during system shutdown on RHEL distributions.
- Fix fileset metadata files with inode numbers outside the reserved range being handled as orphans.
- Fix file system stopping with an assert on structure error related to an invalid number of disk pointers stored in the inode.
- Fix quota file block expansion code resulting in an 'oldDiskAddrP == NULL' assert.
- Allow user space attributes to be set by user commands.
- Fix an inodeScan interface clean up error that could cause long waiters during unmount.
- Fix panic in cxiStartIO when disk device drivers are configured for 1024 scatter gather lists.
- Fix mmbackup failing to backup file with "NONE" in pathname.
- Fix a fcntl retry message arriving and being processed before the original gpfs_v_lockctl operation completes. This could have resulted in the lock operation referencing the sleepElement after the message handler had freed it.
- Rework the handling of options for mmapplypolicy to accept blank characters arguments.
- Fix mmdeldisk allowing deleting a disk without moving existing data off the disk first. This would only have occured on file systems with metadata replication enabled (-m 2), strict allocation enforced (-K always; the default is "whenpossible"), when running mmdeldisk shortly after creating a new snapshot, and if the only disks remaining are in a single failure group.
- Performance improvements to mmdelsnapshot.
- Disallow the colon character in a filename during create/open from Windows. The Unix nodes can still create filename that have a colon. Such files can be accessed on Windows using their 8.3 names.
- Fix excessive acquires on TcpConnTab mutex. Every five seconds, every receiver threads checks for broken connection timeout, when only one is needed.
- Fix an bug in the log recovery code that was forcing a filesystem panic while offline fsck is in progress.
- dump functions now dump regionsPerPass for each storage pool.
- Fix fsck code so that it is able to recover data from a filesystem with a fatal root inode which is a candidate for delete.
- Fix problem where mmdf would not allow specifying more than one of the -d, -m and -F options.
- Fix when using EXTERNAL POOL EXEC 'script' rules with an external storage manager that supports "premigration", such as TSM/HSM, mmapplypolicy mistakenly invoked the rules' EXEC 'script' with the subcommand MIGRATE instead of PREMIGRATE for files that should be pre-migrated.
- Fix for a bug where small synchronous writes to a block pre-allocated usinggpfs_prealloc may be lost.
- Fix isStoragePoolIndexValid(poolIndex) asserts after a storage pool has been deleted.
- This update addresses the following APARs: IZ94724 IZ95818 IZ95819 IZ95821 IZ95855 IZ96323 IZ96325.
Problems fixed in GPFS 3.4.0.4 [February 17, 2011]
- Update mmtracectl to have --format and --noformat flags which allow one greater control over whether to format traces.
- Fix rare race between flushBuffer and mergeInode updating lastDataBlock.
- Fix a problem when RDMA connecting between two clusters where the IB networks are not connected.
- Fix an assertion at daemon startup on 32 bit linux nodes when prefetchThreads and worker1Threads configuration variables are set too high.
- Fix a bug in mmchdisk caused by premature loop exiting if a metadta disk and a data disk are found.
- Add a make parameter "LINUX_DISTRIBUTION" for non-standard Linux distributions. e.g. make LINUX_DISTRIBUTION=REDHAT_AS_LINUX Autoconfig.
- Fix race between nfsWatchdog and delsnapshot.
- Fix the allocation code which caused an assert on filesystem manager node after encounter I/O error.
- Fix code in displaying of cmd "mmlsfileset dev -L -p". Let this command show all the fileset status.
- Fix a bug in mmwindisk utility (called from mmdevdiscover, for instance) that could cause the program to fail when the Windows node has certain uncommon storage devices attached.
- Fix cxiIsNFSLock erroneously returning FALSE for NFSv4 lockctl calls.
- Detect and skip the continuously repeated lines (from pgalloc), enable the MaxLoopCheck_dumpBufQueue and set it's default value to be 2, so it will not impact performance greatly.
- Fix allocation code causing delete disk to fail when deleting last disk of a failure group.
- Fix copyInodeBlock to not try to copy data block if it is EOF.
- Fix Windows code to handle, or enable access on, all Unix filesystem object such as a block device, fifo, socket, symlinks. All such objects will be listed as 0 byte files on Windows. No other operation such as read/write/delete/modify will be allowed from Windows.
- Fix code which caused long waiters and daemon shutdown on leaseloss.
- Fix sublock to disk sector conversion routines handling invalid disk addresses. This is done by returning E_INVAL back to the caller during fsck scan.
- Fix a race condition which can cause daemon shutdown when adding/deleting disk from the file system and when the inode prefetch thread is hitting a tiny time window.
- Improve performance of file system metadata scan phases of mmrestripefs.
- Add gpfs_set_times() and gpfs_set_times_path() API.
- Avoid assert when a snapshot is created immediately after deleting a large file.
- Fix subblock size not keeping consistency among the cluster.
- Fix mmrestripefs or mmdeldisk command, after being killed, background activity continueing for a significant time.
- Fix code which could cause daemon assert and segmentation fault during filesystem takeover.
- Include mount event disposition in dm_get_disp() call.
- Fix invalid assert in fcntl lock token relinquish path.
- Fix lost quota code when calling tslsquota -j with fully qualified device name specified.
- Prevent GPFS from starting while certain admin commands are running.
- Fix assertion in mmcheckquota when it encounters quota entries with invalid fileset ids.
- GPFS for Windows now disables SMB2 on the node during installation.
- Fix unnecessary work during mmrestripefs and mmdeldisk commands.
- Fix quorum formation when the /var/mmfs/gen/BallotFile file is too small.
- Fix a longwaiter problem caused by and infinite loop in mmdefragfs.
- Fix kernel assert in gotVinfoLock when doing read/write mmap.
- Fix a workload that continuously invokes operations that require exclusive inode locks, such as chmod or chown, could prevent mmrestripefs or mmdeldisk commands from making progress.
- Fix rsh/rcp failing in mmcrcluster when the second interface is being used to create a node and the hostname interface does not have permission.
- Fix connecting to server, when running mmsdrcli, in cluster with daemon and admin on two different interfaces.
- Do not return windows attributes blindly for gpfs_fgetattrs() API.
- Fix file creates and deletes being blocked for a long time after a node failure, especially in file systems with a large number of inodes.
- Fix allocation code to prevent an assert that could occur while trying to delete/replace disk.
- Fix the fsck block compare method to support variable data / metadata block size routines failing and resulting in asserts during the fsck compare operation.
- Fix file system policy information obtained by mmsnmpagentd.
- Fix mmsdrfs generation changed event in events exporter.
- Ensure the scope of remaining configuration parameters is not changed as a result of a delete operation on a configuration parameter.
- Always refresh session list that registered for mount. This avoids a mount failure scenario where the session could be deleted or added while another node is processing the mount event.
- Improve GPFS admin commands initiated on a daemon down node, forcing the execution to run on an active node, in a large cluster.
- Fix IcQueryDirectory implementation for FILE_ID_BOTH_DIR_INFORMATION and FILE_ID_FULL_DIR_INFORMATION to correctly assign the file ID field.
- Fix performance when sequentially overwriting an existing file in contiguous sector-aligned pieces that are less than the block size, do not read or prefetch any data.
- Add GPFS mount options nfsHashName and nonfsHashName. If nfsHashName is in effect, the NFS FH will include the hash value of the file name. This option will improve performance but is off by default. Turning it on might cause some ENOENT error with NFS.
- Fix ACL garbage collector delete auto-generated Window SID mappings.
- Fix race condition starting too many mmkprocs when using many mmapped files.
- Change the allocation code to prevent looping when migrating blocks after a disk's failure group assignment, data type or storage pool has changed.
- Use seqDiscardThreshhold for determining if a buffer stays in pagepool after it has been consumed by a reader, or after it has been flushed by a writebehind thread. This allows setting a large seqDiscardThreshhold to cache most files below that size. Setting a low writebehindThreshold will start flushing sequentially written files so that a large pagepool does not fill up with dirty buffers.
- Improve performance of snapshot, copy-on-write in particular, immediately after the snapshot is created and a large number of files are updated from multiple nodes in the cluster.
- Fix gpfsInodeCache slab (and cpu) usage high due to NFS anon dentry allocations.
- Improve sync performance when many dirty buffers.
- Fix race condistion when performing extensive AIO on a node.
- Add padding variable to SGPoolDataStored structure to prevent data misalignment.
- Update gpfs_fcntl.h copyright statement.
- Fix code in initializing a dummy super block "shutdownSuperP", which may cause kernel crash in some of the Linux kernel versions.
- This update addresses the following APARs: IZ90535 IZ90866 IZ92310 IZ92316 IZ92318 IZ92320 IZ92325 IZ92330 IZ92413 IZ92427 IZ92467.
Problems fixed in GPFS 3.4.0.3 [January 06, 2011]
- Fix assert happening in setCachedRecAddr when the cached disk address is NULL while the disk address read from disk is a real disk address. Modify the assert to allow this kind of change. And, update the cached address locally.
- Fix a potential metadata allocation problem where wrong disk may be selected-occurs in selectRandom code branch when invoked in getRandomTargetDisk.
- Fix repeated RDMA connection attempts due to IBV_EVENT_PORT_ERR.
- Fix AIX crash caused by kxFreeAllSharedMemory.
- Fix code, when value of the option "-p" for cmd mmcrfileset is invalid, returning misleading error message, "InvalidOption".
- Fix mmbackup of fs with no changes sending files to TSM.
- Fix mmbackup migration from straight TSM, older backup format (3.2), or recovery when shadow file not present would cause full backup.
- Avoid very rare assert (BaseFilesetMetadataRecord) during restripe operations such as mmdeldisk.
- Fix a deadlock between the tsdeldisk and the inode expansion.
- Fix: An additional characteristic of pathnames with special characters present is they can cause TSM to exit with rc=4. Sometimes this was being mis-handled in mmbackup because the highest and "net status" error code from all the runs of TSM was not recorded/provided.
- Permit TSM install to be in "bin64" for AIX and find needed config file (dsm.opt) there. Provide enhanced debugging in tsbackup33 using DEBUGmmbackup bits.
- Add new functions to carefully split file list lines and notice if the split char is showing up in the file name as well.
- Fix the allocation code which can cause a filesystem to panic with "Too manydisks are unavailable" when running out of disk space.
- Fix a rare race condition where a file system manager failure during a disk status change could cause temporary loss of file system access.
- Fix kernel assert when dmapi event generator is accessing null sgP pointer.
- Fix mmcheckquota showing confusion error message when scanning large fs. This was due to insufficient memory.
- Provide inode space expansion during directory entry creation if new inode number is out of range.
- Fix an erroneous assert check in fsck cleanup path.
- Fix rare deadlock that occurs if NSD server fails during mmcrfs cmd.
- Fix mmapplypolicy having an internal error. Or, as a workaround, avoid using -i and -g and -N together.
- Provide support for recognizing DSM_CONFIG env variable in mmbackup.
- Fix mmimgbackup failing when rebooting another node. Keep tsapolicy exit code at 0 when recoverable or expected errors occur. Important for scripted usage of mmapplypolicy depending on mmapplypolicy exit code to be 0-even during multi-node operation, or when one or more "helper" nodes fail.
- Fix FSErrValidate error in ACL GC while inode expansion is also running.
- Provide a --block-size option for the mmlssnapshot and mmlsfileset commands.
- Fix race condition between two remove threads removing same file.
- Fix deleting a snapshot containing sparse files that could, in some rare cases, cause temporary loss of file system access.
- Fix race condition between deferred deletions and policy file creation.
- Fix assert "aceLength > 0" in tsgetacl for default ACL on a dir in a remote fs.
- Fix a rare problem in mmrestorefs error code path- CHECK_CONTINUE_ON_ERROR was starting the next inode without advancing inode block buffer to next inode buffer pointer.
- Fix asserts in fsck while trying to fix corrupt directories.
- Fix deadlock preMount callback invokes mm commands.
- memcmp now defined in rtnetlink.
- Fix permitting FSET snap handles inappropriately modifying the fssnap->magic number prior to a tsfattr(GPFS_SYNC_FS).
- Fix for quote error in the m4 command invocation when running mmapplypolicy.
- Relocate mmbackup related temporary files from root to
/.mmbackupCfg/. - Fix sort->$sort.
- Permit recovery after non-fatal TSM error codes.
- Improve GPFS mmstartup time & other GPFS commands in adminMode=allToAll cluster.
- mmexpel --wait command aborts the wait in case of quorum loss.
- Avoid structure error assert after mmdelsnapshot when cached files in other snapshots are accessed.
- Fix buffer length calculation for dmapi user event returned by dm_get_events call.
- Fix dm_handle_to_path so that it can look up the directory name by its own handle.
- Fix rare assert in fsync code path.
- Fix problem of disk going off line with error 733.
- Fix mmrestoreconfig failing. This occurs when quota command returns E_NO_QMGR while file system is being closed but, has not completely closed yet.
- Fix problem of disk going off line with error 735.
- Fix return code of appendOnly file checking routine.
- Improve mmdeldisk progress time.
- Add additional exmaple files, tspgrep and tsprm, to samples/ilm.
- Fix a remote cluster not always picking a local NSD server when readReplicaPolicy=local is set.
- Fix a startup synchronization issue that prevented GPFS autoload from working on some Windows systems.
- Fix to fputattrs to restore/clear xattrs and to fputattrs_withpathname to not overwrite pathname once copied into the kernel. Users of IBM Tivoli Storage Manager Backup Archive Client and GPFS storage pools with policy RESTORE rules for data placement should apply this fix before restoring data to the GPFS file system.
- Improve performance of small writes (< 32k) over NFS to a file opened with with O_DIRECT on the NFS client.
- Fix Linux crashing in cxigetinodenum on lockd call.
- Fixed mmchfs code path that is leaving filesystem mounted internally.
- Add support for RHEL 4.X x86_64.
- Fix mmlssnapshot with -d option not showing data and metadata usage.
- mm commands now display conflicting messages when the command is waiting to run, due to a conflicting program running, instead of after it has finished.
- mmapplypolicy now suppresses progress messages if a non-interactive device is being used.
- Fix the fsck block compare operation that results in a SEGV due to buffer overrun.
- Reduce message traffic when writing a file with NFS.
- Fix synchronization of dmapi destroy event thread and dmapi event response thread.
- Fix assert in dmapi event timeout handlers.
- Fix forced unlink of a fileset (mmunlinkfileset -f) on Linux causing temporary loss of file system access if there were deleted files still open in the fileset at the time it was unlinked.
- Use TRCBUFSIZE environment variable for trace buffer size and ensure it is not overwritten by config parameter.
- Fix some 64 bit counters in GPFS SNMP.
- Properly restore windows attributes.
- Improve performance of mixed random read/write workloads on large files over NFS.
- Fix an invalid conditional assert in the fsck orphan management code.
- Fix mmrestoreconfig failing, with tsdefquotaon failed rc=245, if quota command returns E_NO_QMGR while file system is being closed, but has not completely closed yet.
- Avoid asserts and deadlock by having mmlsfileset and mmlssnapshot commands wait while mmcrsnapshot command runs.
- Fix logAssertFailed: rmr1 != rmr2 when using GPFS RDMA.
- Fix enabling fs with diskea and overflow block feature.
- Fix a startup synchronization issue that prevented GPFS autoload from working on some Windows systems.
- Fix a SEGV problem in mmlsquota when printing user quotas for a fileset.
- Fix a case in mmchfs which leaves the FS internally mounted for a small time period after mmchfs is over.
- Initialize filesetNameP.
- Fix deadlock issue for flushing mmapped files.
- FILESET_CMD_PERM for mmchfileset on Windows has been temporarily disabled.
- Fix a startup synchronization issue that prevented GPFS autoload from working on some Windows systems.
- Fix Linux mmdelacl returning E_OPNOTSUPP for files in a "-k nfs4" fs.
- Add useDIOXW configuration variable to avoid Direct IO token thrashing when using some IO requests that match the GPFS blocksize.
- On SLES11, a privileged user is now not allowed to create a file in a remote filesystem even though root squashing is enabled because the DAC_OVERRIDE capability was specified in the credential.
- Fix mmbackup recording failed files incorrectly.
- Update unlinked fileset handling code to properly cull paths from a new (3.4)-style shadow file and sort by inode number into the updated list file. Exempts the unlinked fileset contents from being expired from TSM.
- Fix duplicate session id returned by dm_create_session due to clock out of sync problem.
- Speed up snapshot creation and unmount on systems with a large amount of dirty data in the cache.
- Suppress implicit file time updates after an explicit set time operation was perform on the same handle-these semantics only apply to Windows systems.
- Allow dmapi clients to acquire access rights to a file that is being destroyed.
- Add two new API's which can be used to improve performance for applications that make many API calls on Linux.
- Tweak TSM Query code to recover files more accurately when doing shadow file reconstruction, including file names with break chars in the name.
- Improve performance of random updates to a large file from a single node, if that file was previously accessed by another node.
- Fix an assert during multiple instances of restripe running in parallel.
- Fix a surplus indirect block not being processed during restripe.
- Fix that could cause some files to become unreadable when running mmrestripefs on a system with small page pool or a workload that causes high demand for page pool buffers.
- Speed up the reclaim of unused GPFS inodes on Linux.
- Do not allow GPFS internal extended attributes to be set using the gpfs_fputattrs API. Require root authority to set DMAPI external attributes or external namespace attributes other than "user."
- Avoid problems preventing upgrading v3.3 filesystems with snapshots.
- Fix problem of restoring EA of pre 3.4 file system without fastea enabled.
- This update addresses the following APARs: IZ86550 IZ87150 IZ87153 IZ88685 IZ88701 IZ88704 IZ88745 IZ88747 IZ88748 IZ88749 IZ88752 IZ88828 IZ88900 IZ88904.
Problems fixed in GPFS 3.4.0.2 [October 07, 2010]
- FSCK checks log file inodes even if they have log group number set to -1.
- gpfsInodeCache slab (and cpu) usage high due to NFS anon dentry allocations.
- Fix rare occurrence of file fragment expansion happening during file sync that can cause the assert failure related to GETSUBBLOCKSPERFILEBLOC.
- If node cannot do cNFS recovery for a failed node then commit suicide so another node can do the takeover for both nodes.
- Prevent FGDL kernel memory fault caused by very narrow race condition during directory lookup.
- Fix assert related to RCTX.REPLIED, TSCOMM.C that occurs on the FS manager node if the FS manager is running GPFS release 3.2, and a release 3.3 client tries to mount the filesystem.
- Linux IO: check mm_struct before pinning pages.
- Improve performance of stat operations on Linux under certain multi-node access patterns.
- Fixed an incompatibility between GPFS for Windows and the Interop Systems software bundles. This incompatibility caused Interop Systems bundle installation failure.
- Fix hang between node join thread and events exporter request handler thread.
- This update addresses the following APARs: IZ81230 IZ83798 IZ84008 IZ84016 IZ84039 IZ84041 IZ84045 IZ84145 IZ84161.