Patch Name: PHCO_23854

Patch Description: s700_800 11.00 cumulative fbackup(1M)/frecover(1M) patch

Creation Date: 01/04/05

Post Date: 01/04/05

Hardware Platforms - OS Releases:
	s700: 11.00
	s800: 11.00

Products: N/A

Filesets:
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP
	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP
	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP

Automatic Reboot?: No

Status: General Release

Critical: No

Category Tags:
	defect_repair hardware_enablement enhancement
	general_release

Path Name: /hp-ux_patches/s700_800/11.X/PHCO_23854

Symptoms:
	PHCO_23854:
	Enhancement request for Ultrium tape drive support.

	PHCO_19732:
	1. fbackup/frecover report a wrong volmue number in the
	on-line index file. User will see the volume number 0
	instead of 1.
	2. This patch also enables future support of JFS access
	control lists(ACL).

	PHCO_18397:
	1. The frecover command can not recover a file selectively
	if the file size is greater than 4GB. The user will
	see the following error message:
	frecover(1003): backup id does not match expected value

	2. fbackup does not save all directories when doing
	an incremental backup, and frecover can not restore
	parent directories from an incremental fbackup file
	if the parent directories have been deleted.
	The operator will see the following messages:
	frecover(1060): /XXXX not on media
	frecover(1017): cannot chdir to directory /XXXX

	PHCO_16405:
	1. fbackup/frecover does not have fast search capability
	on DLT tape devices.
	2. fbackup/frecover does not allow index file size >
	99999999.

	PHCO_14177:
	When a volume change is needed, frecover prompts the user
	and then reads from /dev/tty to receive the expected
	carriage return.  If there is no terminal associated with
	the frecover process, frecover aborts because it cannot
	open /dev/tty.

	PHCO_13494:
	fbackup and frecover did not work
	properly with 3480 and 3590 tape stackers
	and didn't recognize 3590 drives.

Defect Description:
	PHCO_23854:
	Enhancement request for ultrium tape drive support.

	Resolution:
	Add Ultrium tape drive support to fbackup/frecover.

	PHCO_19732:
	The fbackup command reports the volume number 0 in
	stead of 1. This is due to an incorrect conversion
	specification used when the sprintf(3S) is called.

	Resolution:
	A long long data type of the conversion specification
	is chosen when it is needed.

	PHCO_18397:
	1. The frecover command can not recover a file selectively
	if the file size is greater than 4GB. This is due to
	an incorrect data typecast from 64 bits to 32 bits.

	2. The logical condition to the directory files is
	ignored in the incremental backups.

	Resolution:
	1. A 64 bit data type variable is used without any
	incorrect data typecast.
	2. fbackup saves all directories as needed.

	PHCO_16405:
	1. fbackup/frecover currently does not have fast search
	capability on DLT tape devices.  This patch includes fast
	search capability, so that selective recovery time on DLT
	devices can be greatly reduced.  Since DLT does not have
	the advantage of setmarks as DDS does, you will not see the
	same performance gains as with DDS fast searching; DLT
	makes use of filemarks, which were already there for
	checkpointing.  You should get a measurable gain in
	performance over the file-by-file searching previously used
	on DLT devices, and that gain percentage only increases the
	further into the tape it has to go to find your file.
	Updated fbackup(1m) and frecover(1m) man pages are included
	in this patch.
	2. The current fbackup volume header allows only 8 digits
	for the index file size.  If your index file size is
	greater than 99999999, then when you try to recover the
	index file or the volume header information (frecover -I
	or -V), the index file size is truncated to 8 digits.
	With -I, this means the index file that is created is
	truncated.  With -V, this means the index file size that
	is reported is incorrect; it is the truncated value.

	Resolution:
	1. DLT fast search enhancement for selective recovery of
	files.  This enhancement includes a change to the format
	of the index file; it now contains file sizes.
	2. Fixed to support >= 100MB for the index file size.  It
	previously only supported 8 digits, or 99999999 bytes.  It
	now supports up to 20 digits.

	PHCO_14177:
	When a volume change is needed, frecover prompts the user
	and then reads from /dev/tty to receive the expected
	carriage return.  If there is no terminal associated with
	the frecover process, frecover aborts because it cannot
	open /dev/tty.  This is especially a problem for those
	who use a chgvol script when using -c <config_file>,
	where the operator may likely not leave open the
	window from which they started an frecover of a large
	number of volumes.

	Not reading from stdin is also a problem for those
	who run frecover from a script and use a here document
	from which they provide the expected carriage return.

	PHCO_13494:
	fbackup and frecover needed to recheck
	the tape drive several times before failing
	because of idiosyncratic behavior on the part
	of some 3480 stacker devices.

	Recognition for 3590 tape drives also needed
	to be added.

SR:
	8606164292 8606105483 4701427328 4701411835 1653294280
	1653240747 5003457515 5003423483 5003375626 5003403410

Patch Files:
	
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	/usr/share/man/man1m.Z/fbackup.1m
	/usr/share/man/man1m.Z/frecover.1m

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/lib/nls/msg/C/fbackup.cat
	/usr/sbin/fbackup
	/usr/sbin/fbackuprdr
	/usr/sbin/fbackupwrtr
	/usr/lib/nls/msg/C/frecover.cat
	/usr/sbin/frecover

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/sbin/frecover

what(1) Output:
	
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	/usr/share/man/man1m.Z/fbackup.1m:
		None

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/lib/nls/msg/C/fbackup.cat:
		None

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/fbackup:
		$Revision: 82.8.1.14 $
		PATCH_11_00: hpux_rel.o util.o main.o main2.o main3.
			o reset.o parse.o search.o inex.o pwgr.o fli
			st.o 01/04/05

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/fbackuprdr:
		$Revision: 82.8.1.14 $
		PATCH_11_00: hpux_rel.o reader.o 01/04/05

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/fbackupwrtr:
		$Revision: 82.8.1.14 $
		PATCH_11_00: hpux_rel.o util.o writer.o writer2.o ta
			pe.o rmt.o vdi.o 01/04/05

	OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	/usr/share/man/man1m.Z/frecover.1m:
		None

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/lib/nls/msg/C/frecover.cat:
		None

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/usr/sbin/frecover:
		$Revision: 82.4.1.11 $
		PATCH_11_00: main.o utilities.o files.o io.o volhead
			ers.o hpux_rel.o rmt.o vdi.o 01/04/05

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	/sbin/frecover:
		$Revision: 82.4.1.11 $
		$ PATCH/11.00:PHCO_19491  Aug  9 1999 09:51:13 $
		PATCH_11_00: main.o utilities.o files.o io.o volhead
			ers.o hpux_rel.o rmt.o vdi.o 01/04/05

cksum(1) Output:
	
	OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	119928789 13662 /usr/share/man/man1m.Z/fbackup.1m

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	2206632884 13974 /usr/lib/nls/msg/C/fbackup.cat

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	3365076222 86016 /usr/sbin/fbackup

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	2854063330 24576 /usr/sbin/fbackuprdr

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	745950207 73728 /usr/sbin/fbackupwrtr

	OS-Core.ADMN-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,
		v=HP:
	2042347555 8479 /usr/share/man/man1m.Z/frecover.1m

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	536273479 9718 /usr/lib/nls/msg/C/frecover.cat

	OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	218347651 106496 /usr/sbin/frecover

	OS-Core.UX-CORE,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP:
	2111583427 352256 /sbin/frecover

Patch Conflicts: None

Patch Dependencies:
	s700: 11.00: PHKL_22287 PHCO_19491 PHKL_17458 PHKL_19991
	s800: 11.00: PHKL_22287 PHCO_19491 PHKL_17458 PHKL_19991

Hardware Dependencies: None

Other Dependencies: None

Supersedes:
	PHCO_13494 PHCO_14177 PHCO_16405 PHCO_18397 PHCO_19732

Equivalent Patches: None

Patch Package Size: 00 KBytes

Installation Instructions:
	Please review all instructions and the Hewlett-Packard
	SupportLine User Guide or your Hewlett-Packard support terms
	and conditions for precautions, scope of license,
	restrictions, and, limitation of liability and warranties,
	before installing this patch.
	------------------------------------------------------------
	1. Back up your system before installing a patch.

	2. Login as root.

	3. Copy the patch to the /tmp directory.

	4. Move to the /tmp directory and unshar the patch:

		cd /tmp
		sh PHCO_23854

	5. Run swinstall to install the patch:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -s /tmp/PHCO_23854.depot

	By default swinstall will archive the original software in 
	/var/adm/sw/save/PHCO_23854.  If you do not wish to retain a
	copy of the original software, use the patch_save_files option:

		swinstall -x autoreboot=true -x patch_match_target=true \
			  -x patch_save_files=false -s /tmp/PHCO_23854.depot

	WARNING: If patch_save_files is false when a patch is installed,
		 the patch cannot be deinstalled.  Please be careful
		 when using this feature.

	For future reference, the contents of the PHCO_23854.text file is 
	available in the product readme:

		swlist -l product -a readme -d @ /tmp/PHCO_23854.depot

	To put this patch on a magnetic tape and install from the
	tape drive, use the command:

		dd if=/tmp/PHCO_23854.depot of=/dev/rmt/0m bs=2k

Special Installation Instructions: None

