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: Summary: LSM configuration lost Date: Sun, 09 Jul 2006 11:09:51 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152457825 4657 80.91.229.2 (9 Jul 2006 15:10:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2006 15:10:25 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sun Jul 09 17:10:24 2006 Return-path: Envelope-to: gotm-tru64-unix-managers@gmane.org Original-Received: from sws1.ornl.gov ([160.91.1.101]) by ciao.gmane.org with smtp (Exim 4.43) id 1FzavJ-0006RC-3a for gotm-tru64-unix-managers@gmane.org; Sun, 09 Jul 2006 17:10:17 +0200 Original-Received: (qmail 15474 invoked by uid 49509); 9 Jul 2006 15:10:02 -0000 Original-Sender: tru64-unix-managers-owner@ornl.gov Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15464 invoked by uid 49501); 9 Jul 2006 15:10:02 -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 0.620068 secs); 09 Jul 2006 15:10:02 -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; 9 Jul 2006 15:10:01 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J250079364PA7@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 09 Jul 2006 11:10:01 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute3.ornl.gov by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) id <0J2500B0264H79@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 09 Jul 2006 11:10:01 -0400 (EDT) Original-Received: from pop-borzoi.atl.sa.earthlink.net (pop-borzoi.atl.sa.earthlink.net [207.69.195.70]) by emroute3.ornl.gov (PMDF V6.2-1x9 #31038) with ESMTP id <0J250098A64HQS@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sun, 09 Jul 2006 11:09:53 -0400 (EDT) Original-Received: from user-0c6tm0a.cable.mindspring.com ([24.110.216.10] helo=[192.168.1.2]) by pop-borzoi.atl.sa.earthlink.net with esmtp (Exim 3.36 #10) id 1Fzauu-0003DY-00 for tru64-unix-managers@ornl.gov; Sun, 09 Jul 2006 11:09:52 -0400 In-reply-to: Original-To: Tru64 Unix managers X-Envelope-from: ldg@ulysium.net User-Agent: Microsoft-Entourage/11.2.4.060510 Thread-Topic: Summary: LSM configuration lost Thread-Index: AcacmPZtNP+mhgiMEdu3LgADk8NDuAG0MNWe X-Spam-Virus: No X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on spam2.ornl.gov X-Spam-Level: X-Qmail-Scanner-MOVED-X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00 autolearn=ham version=3.1.3 Xref: news.gmane.org gmane.os.tru64.managers:8950 Archived-At: The recovery process was rather long but it turned out fine. I couldn't fix anything with the system booted as it was in single user with only the root filesystem mountable. I ended up installing a separate system on an other drive. From there, I could mount the root partition and fix things to make it bootable again. I disabled LSM on all the volumes manually by changing the links in /etc/fdmns, pointing them back to their original advfs devices. I edited sysconfigtab and inittab to take out LSM there as well. Once LSM was disabled, I was able to boot that system again, although not without some errors. From that booted state, it was possible to further fix the small problems causing errors. I had removed the dsk0 from the mirror, only keeping the dsk1, which I booted from. Once most errors were fixed, I re-enabled LSM and re-encapsulated that dsk1 and rebooted. It was just a matter of re-building the mirror to get it all back to a state like it was before all that trouble. There was only one error that remained and couldn't fix, although I think it fixed itself once that system was connected again to the network. I was the evm daemon that was complaining about not being able to communicate with syslog and binlog. Both syslog and binlog were working but evm just couldn't talk to them, but I guess it came back to normal once the network was on. > I'm in a sticky situation with my LSM configuration on an Alpha800 with 4 > drives and tru64 5.1 > The drives dsk0 and dsk1 are a mirror and have everything on them, system > and user files, there's only one partition used on dsk2 and it's nothing > useful, then dsk3 was supposed to be a spare. > I recently had a drive failure on dsk1 (dsk3 was not there at the time to be > used as a spare), so the system kept on going on dsk0 until I replaced dsk1 > and manually re-created the mirroring, then added dsk3 as a spare. However I > wasn't able to create extra LSM configuration copies and the only one was on > dsk0 and some glitch must have happened with dsk0 which caused a reboot. > The system tries to boot normally from dsk0 and then can't find osf_boot and > stops. I manually force a boot from dsk1 and it only boots to single user > and fails bcheckrc during the disk naming and LSM can't start because no > configuration copy can be found. > I can't mount and other filesystems, so I don't have access to any useful > utility to help fix this and no access to a saved LSM config copy. All I > have is the root filesystem available. > All drives are 18gigs and basically only dsk0 and dsk1 are used, what is on > dsk2 isn't vital and dsk3 is just a hot spare. > I tried a few things but none worked because I don't have access to most > commands. > What could I try to start restoring this??? -- Didier Godefroy mailto:dg@ulysium.net