SUMMARY: fixing disklabel dsk* number

From: Kevin Dea (kdea@alpine-la.com)
Date: Mon Apr 12 2004 - 20:02:05 EDT


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


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:56 EDT