Jump to content 日本-日本語
日本HPホーム 製品とサービス サポートとドライバ ソリューション ご購入方法
≫ お問い合わせ
日本HPホーム
企業ユーザ向けサポート情報   >  HP-UX サポート  >  セキュリティ報告&パッチダイジェスト翻訳版

PHCO_36380 s700_800 11.23 fsck_hfs(1M)累積パッチ、iSCSIサポート

企業ユーザ向けサポート情報

HP-UX サポート
Tru64 サポート
OpenVMS サポート
セキュリティ報告&パッチダイジェスト翻訳版
技術情報ツリー
ソフトウェアアップデート情報
ITRC日本フォーラム

ITRC

パッチデータベース
技術情報ベースの検索
サポートケースマネージャ
ソフトウェア アップデート マネージャ (SUM)
ご利用の手順
日本HPサイトマップ
コンテンツに進む
パッチ名:   PHCO_36380

パッチ摘要: s700_800 11.23 fsck_hfs(1M)累積パッチ、iSCSIサポート

作成日:  07/04/04

公開日:  07/05/22

ハードウェアプラットフォームおよびOSリリース:

	s700: 11.23
	s800: 11.23

現象:

	PHCO_36380:

	(SR:8606434144 CR:JAGaf92638) 重複
	(SR:8606475581 CR:JAGag29920)
	fsck_hfsが不正にディレクトリのサイズを縮小するため、ディレクトリが破損
	することがあります。fsckの出力は次のように表示されます。

	** /dev/vg00/berndb
	** Last Mounted on /bernd
	** Phase 1 - Check Blocks and Sizes
	INCORRECT BLOCK COUNT I=832 (568 should be 96)
	CORRECT?  yes
	** Phase 2 - Check Pathnames
	** Phase 3 - Check Connectivity
	** Phase 4 - Check Reference Counts
	** Phase 5 - Check Cyl groups
	11744 files, 0 icont, 578 used, 800233 free
	(9 frags, 100028 blocks)

	ファイルシステムをマウントするか、別のfsckを実行すると、ファイルシステ
	ム内に親なしファイル/サブディレクトリがあることがわかります。

問題点の説明:

	PHCO_36380:

	(SR:8606434144 CR:JAGaf92638) 重複
	(SR:8606475581 CR:JAGag29920)
	ブロック数の計算に問題があったため、fsckは不正に間接ブロックを1個削除
	することによってディレクトリファイルを縮小していました。ディレクトリの
	サイズがファイルシステムブロックサイズの倍数の場合、fsckが計算する間接
	ブロック数は実際の間接ブロック数より多くなっていました。その結果、最後
	のディレクトリブロックがNULLを指すことになるため、fsckは、ディレクトリ
	内にホールがあるとみなして、完全な間接ブロックをゼロ化していました。

	解決方法:
	間接ブロック数を正しく計算するようにコードを修正しました。

-----------------------------------------------------------------------------
Patch Name: PHCO_36380

Patch Description: s700_800 11.23 fsck_hfs(1M) cumulative patch, iSCSI support

Creation Date: 07/04/04

Post Date: 07/05/22

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

Products: N/A

Filesets:
	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP
	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP

Automatic Reboot?: No

Status: General Release

Critical:
	Yes
	PHCO_36380: CORRUPTION

Category Tags:
	defect_repair general_release critical corruption

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

Symptoms:
	PHCO_36380:
	( SR:8606434144 CR:JAGaf92638 ) Duplicate
	( SR:8606475581 CR:JAGag29920 )
	fsck_hfs may corrupt directories by incorrectly truncating
	the size. The output from fsck will be as shown:
	** /dev/vg00/berndb
	** Last Mounted on /bernd
	** Phase 1 - Check Blocks and Sizes
	INCORRECT BLOCK COUNT I=832 (568 should be 96)
	CORRECT?  yes
	** Phase 2 - Check Pathnames
	** Phase 3 - Check Connectivity
	** Phase 4 - Check Reference Counts
	** Phase 5 - Check Cyl groups
	11744 files, 0 icont, 578 used, 800233 free
	(9 frags, 100028 blocks)
	After mounting or another invocation of fsck we may find
	orphaned files or subdirectories in the filesystem.

Defect Description:
	PHCO_36380:
	( SR:8606434144 CR:JAGaf92638 ) Duplicate
	( SR:8606475581 CR:JAGag29920 )
	Fsck was incorrectly truncating directory files by removing
	an indirect block due to a problem in calculating the
	number of blocks. The number of indirect blocks
	calculated by fsck was greater than the actual number of
	indirect blocks when the size of the directory is an exact
	multiple to the filesystem block size. Thus fsck thinks
	that there are holes in the directory as the last directory
	block would point to NULL and would hence zero out the
	complete indirect block.

	Resolution:
	The fix has been added to calculate the correct number of
	indirect blocks.

Enhancement:
	No

SR:
	8606475581 8606434144

Patch Files:
	
	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
	/sbin/fs/hfs/fsck

	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
	/sbin/fs/hfs/fsck

what(1) Output:
	
	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
	/sbin/fs/hfs/fsck:
		fsck.c $Date: 2007/04/02 11:50:26 $Revision: r11.23/
			1 PATCH_11.23 (PHCO_36380)
		$Revision: @(#) fsck R11.23_BL2007_0404_11 PATCH_11.
			23 PHCO_36380

	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
	/sbin/fs/hfs/fsck:
		$Revision: 92453-07 linker linker crt0.o B.11.16.01 
			030415 $
		fsck.c $Date: 2007/04/02 11:50:26 $Revision: r11.23/
			1 PATCH_11.23 (PHCO_36380)
		$Revision: @(#) fsck R11.23_BL2007_0404_11 PATCH_11.
			23 PHCO_36380
		$ Internal_Unsupported_Version  Mar  1 2007 21:53:52
			 $

cksum(1) Output:
	
	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_IA,v=HP:
	3271134051 847948 /sbin/fs/hfs/fsck

	OS-Core.UX2-CORE,fr=B.11.23,fa=HP-UX_B.11.23_PA,v=HP:
	2358314473 495616 /sbin/fs/hfs/fsck

Patch Conflicts: None

Patch Dependencies: None

Hardware Dependencies: None

Other Dependencies: None

Supersedes: None

Equivalent Patches: None

Patch Package Size: 560 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_36380

	5. Run swinstall to install the patch:

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

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

		-x patch_save_files=false

	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_36380.text file is 
	available in the product readme:

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

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

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

Special Installation Instructions: None

ページトップへ
セキュリティ報告&パッチダイジェスト翻訳版に戻る
プライバシー 本サイト利用時の合意事項 ウェブマスターに連絡
© 2008 Hewlett-Packard Development Company, L.P.