From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Piotr Grzybowski Newsgroups: gmane.os.tru64.managers Subject: SUMMARY::terrible lsm problem (lost volume info) Date: Mon, 16 Sep 2002 19:52:19 +0200 (CEST) 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 1032198656 7255 127.0.0.1 (16 Sep 2002 17:50:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Sep 2002 17:50:56 +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 17r01P-0001ss-00 for ; Mon, 16 Sep 2002 19:50:55 +0200 Original-Received: (qmail 23482 invoked by uid 5); 16 Sep 2002 17:51:01 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23471 invoked by uid 49493); 16 Sep 2002 17:51:01 -0000 Original-Received: from merlin@abakus.if.uj.edu.pl by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.539187 secs); 16 Sep 2002 17:51:01 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 16 Sep 2002 17:51:00 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2J00M32LKZ5G@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Sep 2002 13:50:59 -0400 (EDT) Original-Received: from abakus (abakus.if.uj.edu.pl [149.156.74.139]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2J004I2LKWE5@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 16 Sep 2002 13:50:57 -0400 (EDT) Original-Received: by abakus (Postfix, from userid 1000) id B77194C232; Mon, 16 Sep 2002 19:52:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by abakus (Postfix) with ESMTP id B3CCFC160 for ; Mon, 16 Sep 2002 19:52:19 +0200 (CEST) X-X-Sender: merlin@abakus Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1713 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1713 The problem was: after connecting extra hdd, which was not used, the bootdisk, was unusable, usrvol, varvol and swapvol were lost. when the extra drive was removed, /usr /var and swap was not mounted. the volumes were lost. I recived two extra fast answers ([1],[2]), i would like to thank Arrigo and Alan. They wanted to help. But the answer was somwhere else. I have found the solution today. As i mentioned in my orginal post, the rootdg was not initialized, i was able to init and import it, to add disks, enable the vold and bring the disks online. the problem was: the volumes. Today i have sat down, and decided to give one more chance to this system, before i reinstall it. Suddenly, reading the `man volintro` (from another machine, on some www site thanks to that wonderfull man who put the whole manual online), i noticed that i havent used the volassist utility. I have checked out the sizes of my partitions, i was able to quess which one is /usr /var and swap, and i ran: volassist -g rootdg usrvol ${SIZEusr}b volassist -g rootdg varvol ${SIZEvar}b volassist -g rootdg swapvol ${SIZEswap}b where ${SIZE*} are the sizes of partitions, read from disklabel -r ${diskname} (in this case diskname=dsk0c) one has to remember about 'b' because the sizes of partitions read by disklabel are returned in sectors, in this case the sector was 512 bytes, so the correct suffix to the volassits size was 'b'. After recreating the volumes `mount /usr` `mount /var` and `swapon -as` were succesfull! It was a long trip. pg [1] Arrigo Triulzi