SUMMARY: fixing disklabel dsk* number

From: Kevin Dea <kdea_at_alpine-la.com>
Date: Mon, 12 Apr 2004 17:02:05 -0700

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
Received on Tue Apr 13 2004 - 00:05:25 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT