From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harald.Knipp@bfa.de Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: AdvFS crashes AS 2000 Date: Wed, 21 Aug 2002 12:32:40 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029925929 23051 127.0.0.1 (21 Aug 2002 10:32:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 Aug 2002 10:32:09 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17hSmV-0005zg-00 for ; Wed, 21 Aug 2002 12:32:07 +0200 Original-Received: (qmail 19066 invoked by uid 5); 21 Aug 2002 10:33:12 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 19057 invoked by uid 49493); 21 Aug 2002 10:33:12 -0000 Original-Received: from Harald.Knipp@bfa.de by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.23. Clear:. Processed in 0.400323 secs); 21 Aug 2002 10:33:12 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 21 Aug 2002 10:33:12 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H160048JVZBZL@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 Aug 2002 06:33:11 -0400 (EDT) Original-Received: from mail4bfa.bfa.de ([217.9.49.9]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H160048EVYROY@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 21 Aug 2002 06:32:53 -0400 (EDT) Original-Received: from fw5-out.extnet.bfa (mail-2.bfa.de [217.9.49.2]) by mail4bfa.bfa.de (8.10.2+Sun/8.10.2) with ESMTP id g7LAWl311711 for ; Wed, 21 Aug 2002 12:32:47 +0200 (MEST) Original-Received: from BLN-P01.extnet.bfa by fw5-out.extnet.bfa via smtpd (for mail.bfa.de [217.9.49.9]) with ESMTP; Wed, 21 Aug 2002 12:32:50 +0200 Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1427 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1427 Hi again, first thanks for their replys to: alan@nabeth.cxo.cpqcorp.net Dr Thomas Blinn and Peter Gergen My question was in short if, one could restore a two volume AdvFS domain with a crashed disk by dd-ing the content of the old disk to the new. Second part was: why the attempt to delete the domain entrys in /etc/fdmns and restoring them manually could result in a server crash (see my original posting at the end of this mail). The short summary for both parts is: DON'T DO THIS! Dr. Tom and alan pointed out that even if the domain was unmounted, something could still be active on it. They were right. The 'something' was verify. Verify mounts the filesets it checks. You can see this if you issue a 'mount' while verify is active. If verify crashes, the temporary mounts are still there ... On using dd to clone a crashed disk, Dr. Tom wrote: "You have to assume that your old disk corrupted some of the data, and that even though the service tech managed to "dd" the contents of the old disk onto a new disk, that doesn't mean that your data was valid. That's probably what caused AdvFS "verify" to fail as it did. " And he pointed out that "The old AdvFS code was often buggy" (And yes, I know that Tru64 4.0e is no longer supportet, but thats a management decision. Recently they allowed me to upgrade two servers to 5.1a - two of about onehundred ... !) He (and Peter Gerg) also said that it's savest to shut down to single user mode for doing such work, but that wasn't possible because of the distance to the server. The "restoring an AdvFS Domain" issue was best summarized by Peter Gerg: - Backup if possible - disklabel the disks to delete any domain information - recreate the domain - get data back from backup and his conclusion: "I recommend not trying to fix a corrupted advfs filesystem - too many headaches in the past and ended up doing the lines mentioned above anyway. " ... Yes. Thanks again Harald __________________ Hi managers, I have a serious problem here with a AS 2000 running Tru64 V. 4.0E. On sunday one of the disks in a two volume AdvFS domain crashed. We made a call to Compaq and the technician who changed the disk tried successfully to get the old disk running again. So he copied the old disk with dd if=/dev/rrzOLD of=/dev/rrzNEW. So this morning I tried to mount the filedomain -> worked. After that i did a verify -q my_domain. -> After a load of errors verify crashed with a memory fault! After several attempts to get the domain working I tried to delete the /etc/fdmns/my_domain directory - with the domain not mounted, indeed - to recreate it manually (this worked sometimes in the past). But after submitting the rm -rf my_domain command the server just crashed. The domain looked like this: # ls /etc/fdmns/my_domain my_domain: rz9c rz10c Any idea why a simple rm could crash a whole server? I read in another posting here that it is not recommended to clone advfs volumes with dd, so this might be the cause for the problems with verify. Anyway, the server is down now (that's why i can't be more specific about the verify errors) and I have to wait for a compaq technician again, because the server is more than 300 Km away. And they have no local unix manager there. So I just try to collect some information... TIA Harald Harald.Knipp@bfa.de