From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Michael A. Crowley" Newsgroups: gmane.os.tru64.managers Subject: re-labeling disk after debian Date: Thu, 16 May 2002 15:14:18 -0400 (EDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: <20020516174822.88797.qmail@web11505.mail.yahoo.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1021576466 8031 127.0.0.1 (16 May 2002 19:14:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 May 2002 19:14:26 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 178Qhm-00025I-00 for ; Thu, 16 May 2002 21:14:26 +0200 Original-Received: (qmail 14819 invoked by uid 5); 16 May 2002 19:14:41 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 14811 invoked from network); 16 May 2002 19:14:41 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 16 May 2002 19:14:41 -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 <0GW7005Z5XGH7B@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 16 May 2002 15:14:41 -0400 (EDT) Original-Received: from ambr.mtholyoke.edu (ambr.mtholyoke.edu [138.110.1.10]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GW700FCLXFV7E@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 16 May 2002 15:14:20 -0400 (EDT) Original-Received: from mhc.mtholyoke.edu (mhc.mtholyoke.edu [138.110.1.1]) by ambr.mtholyoke.edu (8.7.3/v010428-0818) with ESMTP id PAA433652 for ; Thu, 16 May 2002 15:14:19 -0400 (EDT) Original-Received: from localhost (mcrowley@localhost) by mhc.mtholyoke.edu (8.7.3/v010825-0728) with ESMTP id PAA104630 for ; Thu, 16 May 2002 15:14:18 -0400 (EDT) In-Reply-To: <20020516174822.88797.qmail@web11505.mail.yahoo.com> Original-To: Tru64 Managers List Xref: main.gmane.org gmane.os.tru64.managers:238 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:238 I'm having a problem relabeling a disk. It's a Seagate ST15150W that was used on an Alpha Debian linux system. I don't seem to be able to get the disklabel program to write anything new. Partitions a and c are not at offset 0. How can I get control back of this thing? Any way of writing to this thing raw? It's at bus 0, lun 0, target 0. This is tu5.1 Here are some cut/paste details: The disk label includes: 3 partitions: # size offset fstype [fsize bsize cpg] # NOTE: values not exact a: 5665464 2268 resrvd8 # (Cyl. 1 - 2498) b: 1589868 5667732 resrvd8 # (Cyl. 2499 - 3199) c: 1131732 7257600 swap # (Cyl. 3200 - 3698) When trying to do any normal editing of that disklabel: "/tmp/EdDk.aaaaVca" 24 lines, 668 characters write new label? [y]: y partition c: partition extends past end of unit re-edit the label? [y]: n So I cannot change the label to add or modify a partition with offset=0. Also: # disklabel -z dsk10c Disk is unlabeled or, /dev/rdisk/dsk10c is not in block 0 of the disk And: # disklabel -sF dsk10c unused The disklabel for /dev/rdisk/dsk10c could not be updated. Other attempts: I'm not real well versed in the scu program. I tried running scu and writing raw data to the disk, hoping that would clear things. However, I'm not running scu right to do this: # scu -c /dev/cam scu> set nexus bus 0 lun 0 target 0 Device: ST15150W, Bus: 0, Target: 0, Lun: 0, Type: Direct Access scu> write media starting 0 limit 1m bs 10k scu: Mounted file system check cannot be performed using '[0/0/0]' (ST15150W). Any advice would be appriciated. -mike ----------------------------------------------------------------------------- Michael A. Crowley Director of Networking mcrowley@mtholyoke.edu 216 Dwight Hall, Mount Holyoke College 413-538-2140 fax: 413-538-2331 South Hadley, MA 01075-6415 http://www.mtholyoke.edu/~mcrowley http://www.mtholyoke.edu/lits/network -----------------------------------------------------------------------------