From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "MacDonell, Dennis" Newsgroups: gmane.os.tru64.managers Subject: lsm has done its own thing when I tried to change boot disks. Date: Tue, 15 Jul 2003 16:21:19 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <53273E187450D311ACF6009027927B1202EB615C@smtpgate.auslig.gov.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1058250105 28852 80.91.224.249 (15 Jul 2003 06:21:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2003 06:21:45 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Jul 15 08:21:43 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 19cJC3-0007V5-00 for ; Tue, 15 Jul 2003 08:21:43 +0200 Original-Received: (qmail 12207 invoked by uid 5); 15 Jul 2003 06:22:06 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12145 invoked by uid 49493); 15 Jul 2003 06:22:06 -0000 Original-Received: from DennisMacDonell@auslig.gov.au by sws1 by uid 49491 with qmail-scanner-1.16 (clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0.0/5.0):. Processed in 0.453319 secs); 15 Jul 2003 06:22:06 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 15 Jul 2003 06:22:05 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HI100F7RZ0SXY@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 15 Jul 2003 02:22:04 -0400 (EDT) Original-Received: from flora.securenet.com.au (ns1.isecure.com.au [202.125.0.72]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTPS id <0HI10042ZYZV8S@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 15 Jul 2003 02:21:34 -0400 (EDT) Original-Received: from leal.securenet.com.au (leal.isecure.com.au [202.125.0.94] (may be forged)) by flora.securenet.com.au (8.12.3/8.12.3/Debian-6.4) with ESMTP id h6F6LKum032182 for ; Tue, 15 Jul 2003 16:21:21 +1000 Original-Received: (from root@localhost) by leal.securenet.com.au (8.12.6/8.12.6) id h6F6LK8h008165 for ; Tue, 15 Jul 2003 16:21:20 +1000 (EST) Original-Received: from nodnsquery(10.11.3.10) by leal.securenet.com.au via csmap (V6.0) id srcAAAjhaq8p; Tue, 15 Jul 2003 16:21:20 +1000 Original-Received: from venus.agso.gov.au (localhost [127.0.0.1]) by gibbons.securenet.com.au (8.12.3/8.12.3/Debian-7woody) with ESMTP id h6F6LJVb029217 for ; Tue, 15 Jul 2003 16:21:20 +1000 Original-Received: from ausligmail1.auslig.gov.au (ausligmail1 [143.174.18.245]) by venus.agso.gov.au (8.12.9/8.12.9) with ESMTP id h6F6LJn9003732 for ; Tue, 15 Jul 2003 16:21:19 +1000 (EST) Original-Received: by smtpgate.auslig.gov.au with Internet Mail Service (5.5.2448.0) id ; Tue, 15 Jul 2003 16:21:22 +1000 Original-To: 'Alpha tru64 managers' X-Mailer: Internet Mail Service (5.5.2448.0) Xref: main.gmane.org gmane.os.tru64.managers:4844 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4844 Hi, I have just installed 5.1B over lsm on a compaq workstation, which previously was running 5.1 from another lsm boot disk. In preparation for the install, I partitioned my 9gb disk, and then did the install. After the install, I noticed from "volprint -A" that the new installation had picked up the private partition from the previous installation. Now I can't seem to get lsm to let the disk go. disklabel dsk1 returns a: 1053463 0 unused 0 0 # 0 - 207* b: 4129573 1053463 unused 0 0 # 207*- 1020* c: 35565080 0 unused 0 0 # 0 - 7000 d: 4129573 5183036 unused 0 0 # 1020*- 1833* e: 16994060 1576960 unused 0 0 # 310*- 3655* f: 16994060 18571020 unused 0 0 # 3655*- 7000 g: 26210146 9312609 4.2BSD 1024 8192 16 # 1833*- 6992* h: 42325 35522755 LSMsimp # 6992*- 7000 volprint -A returns Disk group: rootdg TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 dg rootdg rootdg - - - - - - dm disk2g dsk2g - 7705556 - - - - dm dsk1h dsk1h - 38229 - - - - dm dsk2h dsk2h - 98304 - - - - dm root01 dsk2a - 524288 - - - - dm swap01 dsk2b - 6291456 - - - - dm usr01 dsk2f - 3145728 - - - - As you can see the offending partition is dsk1h I have tried (a) disklabel -z dsk1 (that appears to work, then) disklabel -wr dsk1 (which returns the message) disklabel: ioctl DIOCSDINFO: Open partition would move or shrink Use alternate partition (b) voldisk rm dsk1h lsm:voldisk: ERROR: Device dsk1h: Device is in use (c) voldisk -f offline dsk1h lsm:voldisk: ERROR: Device dsk1h: Device is in use My thinking is that (a) need to get all the information off of dsk1h and onto dsk2h, (b) need to remove dsk1h from lsm (c) then I should be able to setup a new label for dsk1 At the moment I feel that if I force a new label onto dsk1, then lsm might break. The other approach might be to shutdown the machine, disconnect dsk1, go through a new install, at least up to the point where it fixes up lsm's tables. Thanks Dennis ###################################### Dennis Macdonell Systems Administrator National Mapping Division, Geoscience Australia ######################################