From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mike Broderick Newsgroups: gmane.os.tru64.managers Subject: how to use disklabel to change fstpe on boot disk on 4.0g Date: Tue, 13 Aug 2002 20:41:13 -0400 Organization: Information Systems/ASST Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3D59A729.4020004@mit.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1029285643 15896 127.0.0.1 (14 Aug 2002 00:40:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 14 Aug 2002 00:40:43 +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 17emDJ-000487-00 for ; Wed, 14 Aug 2002 02:40:42 +0200 Original-Received: (qmail 28755 invoked by uid 5); 14 Aug 2002 00:41:31 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28747 invoked from network); 14 Aug 2002 00:41:31 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 14 Aug 2002 00:41:31 -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 <0H0T009DV5X6M1@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 13 Aug 2002 20:41:31 -0400 (EDT) Original-Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H0T009K25WU34@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 13 Aug 2002 20:41:19 -0400 (EDT) Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id UAA22032 for ; Tue, 13 Aug 2002 20:41:18 -0400 (EDT) Original-Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86]) by grand-central-station.mit.edu (8.9.2/8.9.2) with ESMTP id UAA28115 for ; Tue, 13 Aug 2002 20:41:18 -0400 (EDT) Original-Received: from mit.edu (VBALL.MIT.EDU [18.94.0.87]) by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id UAA15396 for ; Tue, 13 Aug 2002 20:41:17 -0400 (EDT) Original-To: tru64-unix-managers X-Accept-Language: en-us User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011013 Xref: main.gmane.org gmane.os.tru64.managers:1346 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1346 I'm trying to do a late night urgent restore of a 4.0g system w/ hw/ problems to new h/w. I restored the o/s file sets (all advfs) but cannot boot the disk... >>>boot -fl s dqb0 pga0.0.0.15.0 - LINK_DOWN timeout inserting onto pollq. (boot dqb0.0.1.13.0 -flags s) block 0 of dqb0.0.1.13.0 is a valid boot block reading 13 blocks from dqb0.0.1.13.0 bootstrap code read in base = 200000, image_start = 0, image_bytes = 1a00 initializing HWRPB at 2000 initializing page table at 1ff40000 initializing machine state setting affinity to the primary CPU jumping to bootstrap code Removing from poll queue. can't open osf_boot halted CPU 0 halt code = 5 HALT instruction executed PC = 20000030 I think I've seen this before and the problem is the disklabel type is not set to advfs. I had this problem on 5.1a and rewrote the label with... # disklabel -r dsk0 >dsk0label # disklabel -Rrt advfs dsk0 rz0label This does not work on 4.0g... # disklabel -r rz8 >/tmp/rz8label # disklabel -Rrt afvfs rz8 /tmp/rz8label Usage: Read ... ... # Anyone know how to do this?