From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Malek Shabou Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: fix root_domain when using LSM Date: Fri, 01 Aug 2003 16:54:11 +0200 Organization: AFNIC Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030801165411.664db1cf.Malek.Shabou@nic.fr> References: <20030728183213.2ccf362b.Malek.Shabou@nic.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1059749729 19035 80.91.224.249 (1 Aug 2003 14:55:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2003 14:55:29 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Aug 01 16:55:23 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19ibIk-0004st-00 for ; Fri, 01 Aug 2003 16:54:38 +0200 Original-Received: (qmail 11182 invoked by uid 5); 1 Aug 2003 14:54:43 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11173 invoked by uid 49493); 1 Aug 2003 14:54:43 -0000 Original-Received: from Malek.Shabou@nic.fr by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.5/5.0):. Processed in 0.994448 secs); 01 Aug 2003 14:54:43 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 1 Aug 2003 14:54:42 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIY003EA42M5P@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Aug 2003 10:54:41 -0400 (EDT) Original-Received: from maya20.nic.fr (maya20.nic.fr [192.134.4.152]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HIY006FA42HA7@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 01 Aug 2003 10:54:18 -0400 (EDT) Original-Received: from fairuz.nic.fr (fairuz.nic.fr [192.134.4.92]) by maya20.nic.fr (8.12.4/8.12.4) with ESMTP id h71EsBu91193403; Fri, 01 Aug 2003 16:54:11 +0200 (CEST) Original-Received: from fairuz.nic.fr (localhost.localdomain [127.0.0.1]) by fairuz.nic.fr (Postfix) with SMTP id 12D58A8002; Fri, 01 Aug 2003 16:54:11 +0200 (CEST) In-reply-to: <20030728183213.2ccf362b.Malek.Shabou@nic.fr> Original-To: tru64-unix-managers@ornl.gov, lubrano@nic.fr X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i686-pc-linux-gnu) Xref: main.gmane.org gmane.os.tru64.managers:5018 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5018 HI, here is how to start a V5 LSM mirrored system disk in system maintenance mode: 1/ boot from the CD ou a 5.1x 2/ open a shell windows (or exit install) 3/ start LSM by typing: # mknod /dev/volconfig c 41 0 # mknod /dev/voltrace c 41 1 # mknod /dev/voliod c 41 2 # mknod /dev/volinfo c 41 3 # __LSM_ROOT_DIR=/var # export __LSM_ROOT_DIR # mkdir -p /var/sbin/lsm.d # cd /sbin/lsm.d # tar cf - . | ( cd /var/sbin/lsm.d ; tar xf - ) # # mkdir -p /var/etc/vol # vold -r reset -m disable -x nohostid # hostname xxx.demain.com (where xxx.domain.com is the server name) xxx.domain.com # voldctl init # voldctl enable # volrecover -sb 4/ recreate the /etc/fdmns # cd /etc/fdmns # mkdir root_domain # cd root_domain # ln -s /dev/vol/rootdg/rootvol then: # /sbin/advfs/verify root_domain if there are errors you must lanche: cd /var (fixfdmn need a writeble directory for his logs) /sbin/advfs/fixfdmn root_domain /sbin/advfs/verify root_domain On Mon, 28 Jul 2003 18:32:13 +0200 Malek Shabou wrote: > Hi, > all in the subject :-) > in the man they say that i have to boot from CD dans the lanche the fixfdfm. but i wander how i can activate LSM. > > > > > > hi is the result of: > > > /sbin/advfs/verify -a root_domain > +++ Domain verification +++ > > Domain Id 3a911e10.000871b0 > > Checking disks ... > > Checking storage allocated on disk /dev/vol/rootdg/rootvol > > Found 1 possible corrupted SBM pages. > Most likely this is from file activity on the active domain. > > > Checking mcell list ... > > Checking that all in-use mcells are attached to a file's metadata mcell chain... > > Checking tag directories ... > > Found 1 references to files that cannot be found in any directory. > Most likely this is from file activity on the active domain. > > > +++ Fileset verification +++ > > +++++ Fileset root +++++ > > Checking frag file headers ... > > Loop found in list of free frags on page 416 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! > > > > -- > Malek Shabou E-mail: nic@nic.fr > AFNIC Tel: +33 1 39 30 83 00 > Immeuble international, 2 rue Stephenson Fax: +33 1 39 30 83 01 > Saint-Quentin-En-Yvelines 78180 Montigny-Le-Bretonneux > > ### Utiliser http://www.nic.fr/zonecheck/ pour verifier vos domaines ### > -- Malek Shabou E-mail: nic@nic.fr AFNIC Tel: +33 1 39 30 83 00 Immeuble international, 2 rue Stephenson Fax: +33 1 39 30 83 01 Saint-Quentin-En-Yvelines 78180 Montigny-Le-Bretonneux ### Utiliser http://www.nic.fr/zonecheck/ pour verifier vos domaines ###