Operating System - Tru64 Unix
1752574 Members
4563 Online
108788 Solutions
New Discussion юеВ

Re: disks from hsg80 not appearing

 
SOLVED
Go to solution
penelope_1
Advisor

Re: disks from hsg80 not appearing

Thanks Rob, the dsfmgr command worked using hwid #, but when i do a scan it still doesn't see them (and a reboot). When I read the man page for dsfmgr it seems to say to relink the old device special files to the new one. I'm wondering what's the other option if I don't know what the new ones are?

from the dsgmgr man page

The following command shows how you might restore previous device spe-
cial file names after a configuration change. This example assumes
that you know the previous device names and HWIDs

a. Assuming that the former device name was dsk0, and the new device
name is dsk5, use the /sbin/hwmgr command to delete the old data-
base entries for each device. Specify the former HWID for a dev-
ice as shown in the following example:

# # /sbin/hwmgr delete component -id 25

b. After the component is removed, you can delete the kernel's
record its device special files as follows:

# /sbin/dsfmgr -R delete hwid 25
-dsk0a -dsk0b -dsk0c -dsk0d ... dsk0h

c. You can now move the existing device special files to their new
locations as follows:

# /sbin/dsfmgr -m dsk5 dsk0
Rob Leadbeater
Honored Contributor

Re: disks from hsg80 not appearing

I wouldn't have thought you'd need to do the "dsfmgr -m" bit. When you rescan the disks should pick up new dsk devices.

Any chance you can post the output of "hwmgr show scsi" and "hwmgr show scsi -full"

Cheers,

Rob

P.S. There is a typo in the man page for dsfmgr.

# /sbin/dsfmgr -R delete hwid 25

should read

# /sbin/dsfmgr -R hwid 25
penelope_1
Advisor

Re: disks from hsg80 not appearing


Here is the output from hwmgr show scsi and hwmgr show scsi -full - it shows the devices as valid, but null. I also included the hwmgr view hierarchy.
Thanks for your time with this.
Rob Leadbeater
Honored Contributor
Solution

Re: disks from hsg80 not appearing

Odd... If they'd deleted properly, I'd have expected the devices to pick up new Hardware Identifiers after the rescan...

I seem to recall that the example in the dsfmgr man page is also the wrong way round, in that you should do the dsfmgr delete before the hwmgr delete.

Try this:

# dsfmgr -R hwid 112
# hwmgr delete component -id 112
# hwmgr show scsi

Check that HWID 112 has now disappeared.

If so, repeat for IDs 110 and 111.
If not, then you might need to run dsfmgr with the verify and fix option.

# dsfmgr -v -F

Once your sure the references to the old devices have gone:

# hwmgr scan scsi

Hopefully that will get things working !

Cheers,

Rob
penelope_1
Advisor

Re: disks from hsg80 not appearing

Success! Thank you so much Rob.
penelope_1
Advisor

Re: disks from hsg80 not appearing

See above