From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Didier Godefroy Newsgroups: gmane.os.tru64.managers Subject: Fixing a damaged root advfs volume Date: Sun, 19 Dec 2010 23:24:14 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1292797591 10198 80.91.229.12 (19 Dec 2010 22:26:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2010 22:26:31 +0000 (UTC) To: Tru64 Unix managers Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sun Dec 19 23:26:27 2010 Return-path: Envelope-to: gotm-tru64-unix-managers@lo.gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1PURhu-0005Gu-N6 for gotm-tru64-unix-managers@lo.gmane.org; Sun, 19 Dec 2010 23:26:23 +0100 Original-Received: (qmail 5295 invoked by uid 49509); 19 Dec 2010 22:26:15 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 5284 invoked by uid 49501); 19 Dec 2010 22:26:15 -0000 Original-Received: from 160.91.4.110 by sws1 (envelope-from , uid 49491) with qmail-scanner-1.25 (clamdscan: 0.83/743. spamassassin: 3.0.2. Clear:RC:0(160.91.4.110):SA:0(-2.6/5.0):. Processed in 15.357752 secs); 19 Dec 2010 22:26:15 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 Original-Received: from emroute3.ornl.gov (160.91.4.110) by sws1.ornl.gov with SMTP; 19 Dec 2010 22:25:59 -0000 Original-Received: from emroute3.ornl.gov ([127.0.0.1]) by emroute3.ornl.gov (PMDF V6.5-x5 #31823) with ESMTP id <0LDP00CG34ZBP1@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Sun, 19 Dec 2010 17:25:59 -0500 (EST) Original-Received: from CONVERSION-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.5-x5 #31823) id <0LDP00F014ZBKY@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Sun, 19 Dec 2010 17:25:59 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.5-x5 #31823) id <0LDP00F024YBKN@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Sun, 19 Dec 2010 17:25:59 -0500 (EST) Original-Received: from orbhost.net (orbhost.com [207.218.123.239]) by emroute3.ornl.gov (PMDF V6.5-x5 #31823) with ESMTP id <0LDP00ECO4YAR4@emroute3.ornl.gov> for tru64-unix-managers@sws1.ornl.gov (ORCPT tru64-unix-managers@ornl.gov); Sun, 19 Dec 2010 17:25:23 -0500 (EST) Original-Received: from [192.168.0.10] (cro10-3-88-186-79-57.fbx.proxad.net [88.186.79.57]) by orbhost.net (8.13.7/8.13.7) with ESMTP id oBJMOLRY503353 for ; Sun, 19 Dec 2010 17:25:20 -0500 (EST) X-Envelope-from: ldg@ulysium.net User-Agent: Microsoft-Entourage/12.28.0.101117 Thread-Topic: Fixing a damaged root advfs volume Thread-Index: Acufy3ddBvZrbo6M00eSluD+L0RKyA== X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ornl73.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,BOTNET_SOHO, NO_DNS_FOR_FROM autolearn=no version=3.3.1 X-Spam-Timing: total 32320 ms - signal_user_changed: 9 (0.0%), parse: 6 (0.0%), extract_message_metadata: 19 (0.1%), get_uri_detail_list: 9 (0.0%), tests_pri_-1000: 23 (0.1%), tests_pri_-950: 5 (0.0%), tests_pri_-900: 5 (0.0%), tests_pri_-400: 97 (0.3%), check_bayes: 84 (0.3%), tests_pri_0: 32034 (99.1%), check_dkim_signature: 3 (0.0%), check_dkim_adsp: 19994 (61.9%), check_spf: 5273 (16.3%), poll_dns_idle: 5256 (16.3%), check_razor2: 286 (0.9%), check_dcc: 149 (0.5%), check_pyzor: 300 (0.9%), tests_pri_500: 27 (0.1%), tests_pri_1000: 24 (0.1%), total_awl: 18 (0.1%), check_awl: 3 (0.0%), update_awl: 3 (0.0%), rewrite_mail: 0.00 (0.0%) X-Spam-Relay-Country: US FR Xref: news.gmane.org gmane.os.tru64.managers:9473 Archived-At: Hi all again, Still trying to get help fixing my lsm and advfs corruption problem. I was looking into using some commands that aren't so well documented to attempt manual repairs to remove advfs corruption on the root domain. There are a few commands that may be useful to fix this but I can't find enough documentation on them and not much either on the advfs structures to be able to know what to do exactly without making things worse. http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V40G_HTML/SUPPDOCS/ADV FSADM/DOCU_008.HTM#TofC164 The procedure described in the info on the page at the above link assumes having an install cd handy and a valid latest vdump backup, but having moved the drive from the downed machine to an other running one, I can get to the same point as far as getting access to the filesystems on the corrupt drive. I have a full copy of the contents of my root volumes, however it's not a vdump and I think a simple file copy won't be able to get the symlinks quite right, especially the context sensitive ones for the clustering. Let's say I re-created a blank valid advfs filesystem in the disk's a partition and copy back all the root filesystem's contents via a simple file copy, how would all the links be handled? And what about all the other things such as sockets, device special files and the likes? The corruption present in the root volume isn't very extensive apparently, because it's possible to mount it and I can see and access the contents. It just can't boot because it causes a panic because of that subtle corruption. Attempting a verify causes an advfs panic after a while as it goes deeper in the volume and that volume gets taken offline as a result. If there is a way to manually fix this corruption, using those barely documented commands perhaps, I'd rather do that than trying to make a new fileset from scratch and not be sure the file copying would work properly. Is there anyone left out there with advfs experience who can explain how to do this please? Thanks all, -- Didier Godefroy mailto:dg@ulysium.net