1. Patch SG0001379 Release Note
1. Patch_SG0001379_Release_Note
This release note describes patch SG0001379 to IRIX 5.3 with
XFS.
1.1 Supported Hardware Platforms
1.1 Supported_Hardware_Platforms
This patch contains bug fixes for all platforms supported by
IRIX 5.3 with XFS (IP5/7/9, IP12, IP17, IP19, IP20, IP22).
The software cannot be installed on other configurations.
1.2 Supported Software Platforms
1.2 Supported_Software_Platforms
This patch contains bug fixes for IRIX 5.3 with XFS (version
1021725920) and IRIX 5.3 Indy R5000 with XFS. The software
cannot be installed on other configurations.
Note: in order for this patch to work fully, Patches
SG0000529 and SG0000738, or their follow-on patches,
must also be installed. Also, the optional product
eoe2.sw.xlvplex should be installed (no license is
needed if plexing is not used). IF YOU HAVE MULTIPLE
RAIDS AND HAVE PATCH SG0000585 INSTALLED, PLEASE REMOVE
IT AND INSTALL PATCHSG0001379. ALSO, IF YOU HAVE RAIDS
ATTACHED TO A SECOND IO4, PLEASE UPGRADE TO PATCH
PATCHSG0001379.
1.3 Bugs Fixed by Patch SG0001379
1.3 Bugs_Fixed_by_Patch_SG0001379
This patch contains fixes for the following bugs in IRIX 5.3
with XFS and IRIX 5.3 Indy R5000 with XFS. Bug numbers from
Silicon Graphics bug tracking system are included for
reference.
o XLV was not handling the disk migration of a standalone
volume element or plex.
o Increased the number of opened volume headers file
descriptors the XLV utilities can have. The old limit
was 16.
o Added a create command to xlv_make(1m) for writing
newly defined objects out to affected disks without
exiting the tool. (bug #250074)
o Added three new commands to xlv_mgr(1m). The change
name command renames a xlv object. The change type
command changes the type of an object. The change
ve_start command changes start address of a standalone
volume element. (bug #331525)
o Don't allow xlv_mgr(1m) to change an active plex to
empty using the change online command. In order to
force a revive, the correct procedure is to issue a
change offline, followed by change online.
o Corrected misleading xlv_make(1m) error message
regarding missing block and/or character device node.
(bug #267257)
o Added a -h command line option to xlv_make(1m) so a
nodename can be specified. This option implies the -A
option to not automatically invoke xlv_assemble(1m).
(bug #312367)
o The xlv_shutdown(1m) -n option takes a comma separated
list of volume names so multiple volumes can be shut
down.
o Doing a selective xlv_shutdown (-n option) when there
are any volumes with log subvolumes could cause xlv
label corruption.
o Fixed a problem in xlv_shutdown(1m) which caused it to
fail with "out of memory" errors on large systems.
(bug #405757)
o Xlv_shutdown(1m) failed to shut down a volume when the
volume did not have any active volume elements.
o In two different windows, simultaneously using
xlv_shutdown(1m) and xlv_mgr(1m) to remove a volume can
cause the a system panic. (bug #382630)
o The -a option to xlv_assemble(1m) was broken in patch
1166 and 1314. New volumes could not be configured
into the kernel. (bug #389537)
o Changed xlv_assemble to exit with a non-zero exit
status if selective assemble can't assemble all of the
volumes specified on the command line. (bug #422453)
o The xlv_mgr(1m) script all did not correctly generate
the time of day. Sometimes the command caused a core
dump.
o xlv_labd(1m) is automatically started if a plex revive
request is issued and the xlv_labd does not exist.
o Losing a disk drive that is part of a root volume can
sometimes cause the system to hang. (bug #392195)
o A plexed root drive could be corrupted if one plex was
detached/attached, and the system was then cleanly
shutdown and rebooted. (bug #422798)
o Xlv_make(1m) failed to create a standalone plex or
volume element when the inter-mixing disk partitions of
types "xlv" and "xfs". (bug #422766)
o Xlv_mgr(1m) core dumps detaching a NULL volume element
from a standalone plex. (bug #426966)
o Only mark the target disk online after a revive if no
errors occured.
This patch also "rolls up" patch 1314 that fixes the bugs
listed below:
o Incorporated bug fixes from Irix 6.2 XLV.
o Added a -s option to xlv_assemble(1m) so a list of
logical volumes to assemble can be specified on the
command line. It is no longer necessary to assemble
all logical volumes at once. This option assists
failover procedures for the FailSafe Product. (bug
#311156 & bug #333694).
o This patch also fixes the problem where device nodes
were created even if the volume was incomplete,
possibly leading to the mistaken conclusion that the
volume was usable. (bug #294565)
o Xlv_assemble(1m) won't gratuitously initiate a plex
revive for a triple-plexed volume element when the
volume element was cleanly shutdown. (bug #341023)
o XLV displays the nodename assoicated with a volume.
(bug #290849)
o Xlv_mgr(1m) "detach" command has a new -force option so
a missing plex or volume element can be removed. This
allows broken disks to be easily replaced.
o Xlv_mgr(1m) "show kernel" command displays plex revive
progress. The mapping of the subvolume open_flag value
has been corrected. A volume name can be specified so
that only information pertaining to that kernel volume
is displayed.
o Xlv_make(1m) and xlv_mgr(1m) have a new -c option for
specifying input on the command line instead of the
interactive interface.
o Xlv_shutdown(1m) complains and fails with a exit code
of 1 when an invalid volume name is specified with the
-n option. (bug #323922)
o The system can sometimes panic when a subvolume goes
offline. (bug #355237 & bug #357554)
o Fixes a kernel panic if plexing software is not
installed and an I/O error occurs on a RAID device.
(bug #363121)
o Fail over to an alternate controller on a dual
controller SGI RAID device only works on lun 0. Luns
other than 0 were not properly switched over to the
alternate path. (bug #370878)
This patch also "rolls up" patch 1120 that fixes the bugs
listed below:
o Fixed a problem in the multiple IO4 support code added
to the XLV driver in patch1072. It was possible for
the XLV driver to crash the system with a SEGV under
heavy use of logical volumes.
This patch also "rolls up" patch 1072 that fixes the bugs
listed below:
o This patch has the XLV component of the fix for Everest
system multiple IO4 support (bug #323277). For this
fix to be enabled, the 5.3/5.3xfs kernel rollup patch
1034 or later must be installed on the system,
otherwise this fix will be present but not enabled.
This fix is required only on EVEREST systems with
multiple IO4 boards installed.
This patch also "rolls up" patch 1050 that fixes the bugs
listed below:
o A stale xlv label can cause xlv to incorrectly mark a
volume element offline. (bug #324913)
o Now xlv_assemble(1m) only assembles local volumes by
default. To assemble all volumes, the "-a" command
line option must specified. Set the environment
variable XLV_ASSEMBLE_ARGS to "-a" to change the
default behavior to assemble all volumes. (bug
#325276)
o The script /etc/init.d/xlv now starts xlv_plexd(1m)
with the "-w 1" option. (bug #325277)
This patch also "rolls up" patch 881 that fixes the bugs
listed below:
o Running xlv_assemble(1m) when there are missing disks
can cause the system to panic. (bug #312001)
o Xlv can be fooled into making an old, stale|offline
volume element active by removing a disk and invoking
xlv_assemble(1m), and later adding the disk back and
invoking xlv_assemble(1m). (bug #313419)
o XLV should not try to open the disks of an offline
volume element when opening a logical volume. (bug
#309593)
o XLV must be able to open volumes which have a disk
missing from its configuration as long as the missing
disk is mirrored. (bug #317333)
o Xlv_labd(1m) fails to find the volume element to be
marked offline when any of the volume element's disk is
missing. (bug #304543)
o Xlv_labd(1m) fails to update all volume elements of a
particular volume when any write to a disk volume
header fails. (bug #301346)
o Xlv_make(1m) is incorrectly looking for partition 0
when generating disk volume header pathname thus
possibly preventing the creation of an object. (bug
#302856)
o Xlv_admin(1m) fails to detach the last volume element
of a mirrored plex. (bug #311546)
o For root volumes, XLV does not correctly convert
external scsi controller numbers to internal numbers.
This is only a problem when the root disk is not on the
native IO board. (bug #311634)
o Xlv_admin(1m) is confusing when it shows missing volume
elements as "empty" volume elements. (bug #313385)
o XLV disk migrations are logged to SYSLOG. (bug #249441)
o Xlv_assemble(1m) returns to the user before the
configuration changes are completed. (bug #310902)
o When there are mirrored volumes, xlv_assemble(1m) looks
for xlv_plexd(1m) and exits if xlv_plexd(1m) is not
found.
o XLV generates ALERT instead of WARN or INFO messages
when volume elements are going offline. (bug #314237)
o The system panics with a XFS meta data error when a
plex is lost while there is heavy IO actvity in
progress. (bug #316751)
This patch also "rolls up" patch 779 that fixes the bugs
listed below:
o Do a full revive (xlv_assemble -f) during init so the
root volume can be revived.
o With a root volume, running xlv_assemble(1m) and
xlv_admin(1m) at the same time can cause the system to
panic. (bug #299898)
o xlv_make(1m) checks for a stripe unit size that exceeds
the partition size.
o Xlv_make(1m) fails to make a volume element when the
disk used in the ve does not have a device node for its
partition 0. (bug #302856)
o Xlv_shutdown(1m) cannot shut down the root volume, but
it should update the timestamp so a stale plex can be
detected. (bug #301305)
o Xlv_shutdown(1m) forcefully shuts down opened XLV
volumes when the -f option is used.
This patch also "rolls up" patches 603 and 703 that fix the
bugs listed below:
o When booting off a degraded plexed root volume, the
system can boot off the underlying disk instead of the
volume. If this happens, the root filesystem is no
longer a volume. This only occurs for plexed root
volumes with one and only one surviving plex and that
plex is not the first plex. (bug #294741)
o Running xlv_assemble(1m) multiple times or
configuration changes via xlv_admin(1m) can cause
xlv_labd(1m) to go into an infinite loop. This prevents
xlv label updates and in turn breaks some xlv
administration commands. (bug #285135)
o Xlv_plexd(1m) loses queued requests when there are more
than 15 volumes. (bug #286367)
o Invoking xlv_assemble(1m) multiple times or creating
volumes using multiple calls to xlv_make(1m) causes
unnecessary plex revives of plexed volumes. (bug
#290169)
o XLV does not deal correctly with devices attached to a
second IO4 board (bug #292107).
o XLV exits prematurely when it encounters a missing disk
device node, without assembling any volumes, and
without an error message (bug #289180).
o XLV gives no indication of duplicate volume names (bug
#290852).
o On a system with more than one RAID, it is possible
that SP's belonging to different RAID's will be
considered as belonging to the same RAID (this is
because the serial numbers on the RAIDs are not
necessarily unique, contrary to the specifications).
THIS IS A SERIOUS PROBLEM AND CAN CAUSE DATA
CORRUPTION! This patch, a replacement for Patch
SG0000585, fixes this problem (bug #283850). Also, the
limitation on the number of volumes has been raised to
250.
o XLV would return ENOSPC on reads of the entire volume,
as when backing up the volume (bug #282197). This
patch fixes this bug, and otherwise is identical to
patch 320 (which it replaces).
o The XLV Volume Manager did not understand about
multiple I/O paths to disks, nor fail over
automatically when an I/O error occurred. With this
patch, XLV will be able to detect when a dual
controller SGI RAID device is part of a volume,
configure such a volume appropriately, and to mask
failures along one path to the RAID by switching to an
alternate controller. (bug #261815)
o After xlv_assemble(1m) assembles all the logical
volumes and generates a configuration data structure,
xlv_assemble(1m) removes all incomplete volume from the
data structure. Part of the removal process involved
compacting the data structure. The compaction was
incorrectly done and resulted in the wrong information
being passed to the XLV driver. Future volume accesses
can panic the system. (Bug #260842)
o xlv_admin(1m) can fail to delete an used (no file
system mounted) volume. This can happen when the
volume being deleted does not have a log subvolume.
(Bug #260906)
o xlv_admin(1m) can core dump with a segmentation
violation when deleting an incomplete volume. (Bug
#261390)
o When appending a standalone volume element to a plex,
xlv_admin(1m) incorrectly sets the "end_block_no" of
the new volume element. The size of the current last
volume element was used in the end_block_no calculation
instead of the size of the new volume element. (Bug
#261675)
1.4 Subsystems Included in Patch SG0001379
1.4 Subsystems_Included_in_Patch_SG0001379
This patch release includes these subsystems:
o patchSG0001379.eoe1_sw.unix
o patchSG0001379.eoe2_sw.xlv
o patchSG0001379.eoe2_sw.xlvplex
1.5 Installation Instructions
1.5 Installation_Instructions
Because you want to install only the patches for problems
you have encountered, patch software is not installed by
default. After reading the descriptions of the bugs fixed in
this patch (see Section 1.3), determine the patches that
meet your specific needs.
If, after reading Sections 1.1 and 1.2 of these release
notes, you are unsure whether your hardware and software
meet the requirements for installing a particular patch, run
inst.
Patch software is installed like any other Silicon Graphics
software product. Follow the instructions in your Software
Installation Administrator's Guide to bring up the miniroot
form of the software installation tools.
Follow these steps to select a patch for installation:
1. At the Inst>prompt, type
install patchSGxxxxxxx
where xxxxxxx is the patch number.
2. Select the desired patches for installation.
3. Initiate the installation sequence. Type
Inst> go
4. You may find that two patches have been marked as
incompatible. If this occurs, you must deselect one
of the patches.
Inst> keep patchSGxxxxxxx
where xxxxxxx is the patch number.
5. After completing the installation process, exit the
inst program by typing
Inst> quit
To remove a patch, use the versions remove command as you
would for any other software subsystem. The removal process
reinstates the original version of software unless you have
specifically removed the patch history from your system.
versions remove patchSGxxxxxxx
where xxxxxxx is the patch number.
To keep a patch but increase your disk space, use the
versions removehist command to remove the patch history.
versions removehist patchSGxxxxxxx
where xxxxxxx is the patch number.
No Requirements Information Available.
These checksums help to provide a 'signature' for the patch inst image which can be used to authenticate other inst images. You can obtain this kind of output by running sum -r on the image (from the command line):
53005 7 patchSG0001379 07849 53 patchSG0001379.eoe1_sw 34413 69 patchSG0001379.eoe2_man 57490 3064 patchSG0001379.eoe2_sw 57609 15 patchSG0001379.idb
The following lists the files which get installed from each subsystem in the patch:
The size of the patch is 2Mb.
Installation instruction.