From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Shaun.Racine@intier.com Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: verify AdvFS domain - fileset is corrupted Date: Wed, 17 Nov 2004 16:03:31 +0000 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100707878 19659 80.91.229.6 (17 Nov 2004 16:11:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2004 16:11:18 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Wed Nov 17 17:10:46 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CUSOK-000468-00 for ; Wed, 17 Nov 2004 17:10:44 +0100 Original-Received: (qmail 30090 invoked by uid 5); 17 Nov 2004 16:09:52 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 30075 invoked by uid 49501); 17 Nov 2004 16:09:51 -0000 Original-Received: from Shaun.Racine@intier.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-2.6/5.0):. Processed in 4.224628 secs); 17 Nov 2004 16:09:51 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 17 Nov 2004 16:09:46 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I7B0025ZZK3ZP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 17 Nov 2004 11:09:45 -0500 (EST) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I7B0051EZJKIK@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 17 Nov 2004 11:09:32 -0500 (EST) Original-Received: from smtp2.msi-it.com (smtp2.msi-it.com [213.150.229.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I7B00LLWZA4KH@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 17 Nov 2004 11:03:43 -0500 (EST) Original-Received: from msifrahub01ds.msi.intranet ([213.150.229.253]) by smtp2.msi-it.com (8.11.6/8.11.6) with ESMTP id iAHGJYq23292 for ; Wed, 17 Nov 2004 17:19:35 +0100 Original-Received: from miskhill01ds ([172.28.44.3]) by msifrahub01ds.msi.intranet (Lotus Domino Release 6.5.1) with ESMTP id 2004111717033204-2039012 ; Wed, 17 Nov 2004 17:03:32 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 X-MIMETrack: Serialize by Router on MISKHILL01DS/SVR/MISKHill(Release 5.0.12 |February 13, 2003) at 17/11/2004 16:03:32, Itemize by SMTP Server on MSIFRAHUB01DS/SVR/MSI-HUB(Release 6.5.1|January 21, 2004) at 11/17/2004 05:03:33 PM, Serialize by Router on MSIFRAHUB01DS/SVR/MSI-HUB(Release 6.5.1|January 21, 2004) at 11/17/2004 05:03:39 PM, Serialize complete at 11/17/2004 05:03:39 PM X-Envelope-From: X-ORNL-Envelope-To: tru64-unix-managers@sws1.ctd.ornl.gov rfc822;tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:7786 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7786 Hi Managers, Problem resolved by almost unanimous response, using command; fixfdmn I could not find this on the boot CD, but I was able to mount the root partition from HSG and copy to /tmp within boot shell and umount and run from there. Many thanks to all responders ; BL Venkatesh Dr Thomas Blinn Thomas Sjolshagen Bob Harris Lawrie Smith Bryan LaVelle Paul Crittenden John L. Lanier Martin Roende Andersen Robert Collins Derek Haining Best regards, Shaun All responses follow ; Original question =============== Hi Managers, V5.1A pk 0001 I am attempting to correct fileset corruption on a LSM / AdvFS root_domain. I have booted from the Unix CD, accessed the shell prompt. Started LSM (after a lot of tries!) Linked in AdvFS root_domain to /etc/fdmns Verify does not fix the problem. Where do I go from here? Much obliged, Shaun Racine Here is the output from verify; # /sbin/advfs/verify -f -d root_domain verify: error [13] posting event: sys.unix.fs.advfs.fset.backup.lock +++ Domain verification +++ Domain Id 3d7b53bb.0009d2b0 Checking disks ... Checking storage allocated on disk /dev/vol/rootdg/rootvol Checking mcell list ... Checking that all in-use mcells are attached to a file's metadata mcell chain... Checking tag directories ... +++ Fileset verification +++ +++++ Fileset root +++++ Checking frag file headers ... Loop found in list of free frags on page 1040 of the frags file. Frags metadata file is corrupted! Fileset is corrupted! Attempts to use this fileset may result in system crashes or user data loss! verify: error [13] posting event: sys.unix.fs.advfs.fset.backup.unlock # ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- "Venkatesh, BL" To: cc: 05/11/2004 11:41 Subject: RE: verify AdvFS domain - fileset is corrupted did u try 'salvage' to recover the files? ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- "Dr Thomas.Blinn@" To: Shaun.Racine@intier.com UNIX Eng.)" cc: 05/11/2004 13:02 Please respond to "Sjolshagen, Thomas (Tru64 UNIX Eng.)" Try fixfdmn. If that doesn't work you can either try "salvage" (to save any customizations onto another device) and/or it's - unfortunately - time to dig out the backup tapes... // Thomas ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- Bob Harris UBPG To: Shaun.Racine@intier.com cc: 05/11/2004 13:26 Subject: Re: verify AdvFS domain - fileset is corrupted man fixfdmn > ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- "Smith, Lawrie" To: Shaun.Racine@intier.com cc: 05/11/2004 13:20 Subject: RE: verify AdvFS domain - fileset is corrupted Have you tried /sbin/advfs/fixfdmn? Kind regards Lawrie Smith Tru64 UNIX Systems Manager Capita Technical Services West Malling ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- "LaVelle, Bryan" To: cc: 05/11/2004 13:34 Subject: RE: verify AdvFS domain - fileset is corrupted Have you tried fixfdmn? See the man page. There is also a utility called salvage available from the HP support center, but it's a last ditch effort and you need lots of extra disk space to use it. Hope you have taken a 0 level vdump some time recently... Regards, ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- Paul Crittenden To: Shaun.Racine@intier.com cc: 05/11/2004 14:09 Subject: Re: verify AdvFS domain - fileset is corrupted YOu could try fixfdmn. ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- "John L. Lanier" To: cc: 05/11/2004 14:44 Subject: RE: verify AdvFS domain - fileset is corrupted Hello, I would recommend "fixfdmn" if you haven't tried this already. #/sbin/advfs/fixfdmn root_domain If this doesn't work, not much else but to recreate the filesystem. Regards, ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- "Martin Roende Andersen" To: cc: Subject: SV: verify AdvFS domain - fileset is corrupted 07/11/2004 21:22 Other interesting tools are .. /sbin/advfs/fixfdmn /sbin/advfs/salvage ( last resort , read man page ) And finally force a read only mount and take a backup if you dont have any, check if it is a faulty disk/controller. Check up OS patch level as well... Regards Martin R. Andersen # ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- "Collins, Robert (HPS Escalation To: Team)" cc: 08/11/2004 21:19 Shaun, Try either fixfdmn or if all else failes you can run salvage but you will need storage at least as big as the problem domain to do this. Both utiles can be found in the /sbin/advfs directory. Good Luck, Bob Bob Collins Hewlett Packard Global Solutions Engineering robert.r.collins@hp.com # ----- Forwarded by Shaun Racine/MISGroup on 17/11/2004 15:11 ----- Derek Haining To: "'Shaun.Racine@intier.com'" cc: 10/11/2004 06:30 Subject: RE: verify AdvFS domain - fileset is corrupted Shaun, I suggest examining the domain using the "fixfdmn" utility. Check the man page for the exact syntax. My personal suggestion is to run fixfdmn with the "-n" flag at first. (This should be the "no write" option.) Then check the log file that fixfdmn wrote to see what kinds of errors it reported finding. If I recall correctly, fixfdmn should tell you if it thinks it cannot fix a certain problem. Differences between fixfdmn and verify are: verify does a "mount" of the domain/fileset in order to check it. Thus if there is corruption that causes the kernel a problem, you cannot fix it with verify. fixfdmn does not do an AdvFS mount of the domain. Instead it opens each of the volumes of the domain as block devices. It does all of its checks in user mode, so it cannot crash the system. In addition, it is able to fix some errors that the kernel cannot handle. Good luck! -Derek Haining