From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Dea Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: fixing disklabel dsk* number Date: Mon, 12 Apr 2004 17:02:05 -0700 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <407B2DFD.80308@alpine-la.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1081814646 10871 80.91.224.253 (13 Apr 2004 00:04:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Apr 2004 00:04:06 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Apr 13 02:03:58 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BDBPB-0001O6-00 for ; Tue, 13 Apr 2004 02:03:58 +0200 Original-Received: (qmail 21998 invoked by uid 5); 13 Apr 2004 00:03:51 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21983 invoked by uid 49501); 13 Apr 2004 00:03:50 -0000 Original-Received: from kdea@alpine-la.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.86.17):SA:0(-4.9/5.0):. Processed in 0.657575 secs); 13 Apr 2004 00:03:50 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 13 Apr 2004 00:03:50 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HW300EYI1IAY8@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Apr 2004 20:03:48 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute2.cind.ornl.gov by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HW3000021HO6I@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Apr 2004 20:03:25 -0400 (EDT) Original-Received: from barry.mail.mindspring.net (barry.mail.mindspring.net [207.69.200.25]) by emroute2.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HW300IH91HNUS@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 12 Apr 2004 20:03:23 -0400 (EDT) Original-Received: from user-119bt68.biz.mindspring.com ([66.149.244.200] helo=sneezy.alpine-la.com) by barry.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1BDBOc-00073q-00 for tru64-unix-managers@ornl.gov; Mon, 12 Apr 2004 20:03:22 -0400 Original-Received: from alpine-la.com ([172.21.6.1]) by sneezy.alpine-la.com (Lotus Domino Release 5.0.12) with ESMTP id 2004041217032086:6108 ; Mon, 12 Apr 2004 17:03:20 -0700 Original-To: tru64-unix-managers@ornl.gov X-Accept-Language: en-us, en X-MIMETrack: Itemize by SMTP Server on sneezy/Alpine-La(Release 5.0.12 |February 13, 2003) at 04/12/2004 05:03:20 PM, Serialize by Router on sneezy/Alpine-La(Release 5.0.12 |February 13, 2003) at 04/12/2004 05:03:22 PM, Serialize complete at 04/12/2004 05:03:22 PM User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 Xref: main.gmane.org gmane.os.tru64.managers:6787 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6787 Hi Managers, Within 5 minutes of my post, Dr. Blinn came up with the help to fix the problem for me! The command to fix in my case was: # dsfmgr -e dsk8 dsk6 -------- Dr. Blinn's response ------- One of the "dsfmgr" commands lets you swap the names of any two disks (or more accurately any pair of equivalent devices). You need to read the man page carefully. Just swap the new disk's names with dsk6 and then you should be able to use hwmgr to get rid of the extra entries in the database. -------- Original Message -------- Hello Managers, This might be chalked up as obsessive anal retention... I have a DS20 with 5.1A, no biggie. The disk was replaced, however the new disk that was put in got the disklabel of dsk7, whereas the old bad disk was dsk6. I believe it should rightly get disk6 since the scsi chain recognizes and labels it as the 6th device on the chain. Somewhere, somehow, the dsk6 label is still taken up. I can see all the /dev/disk/dsk6* devices still there. I mucked around with "disklabel -z", "hwmgr -delete", and "dsfmgr -D", until finally I ended up with the disklabel dsk8! How will I go about deleting all the extra /dev/disk/dsk6 through dsk8 stuff, and clear out everything so that the next time I restart this thing, that my brand new disk will get the disklabel of dsk6? Thanks in advance, Kevin -- Kevin Dea UNIX System Administrator Alpine Electronics Research of America