System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove a scsi device on Tru64 Unix

SOLVED
Go to solution
Danesh Qureshi
Regular Advisor

How to remove a scsi device on Tru64 Unix

I want to remove or delete a scsi device which has a hardware id 432.

I have attached a file showing output of hwmgr -view device

I only want to remove HWID 432.

Please can anyone explain how to remove or delete the last component which has HWID as 432.



5 REPLIES
Steven Schweda
Honored Contributor
Solution

Re: How to remove a scsi device on Tru64 Unix

> I have attached a file [...]

I disagree.
Martin Moore
HPE Pro

Re: How to remove a scsi device on Tru64 Unix

Have you tried "hwmgr delete -id 432" ?

Martin
I work for HP
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details

Danesh Qureshi
Regular Advisor

Re: How to remove a scsi device on Tru64 Unix

Steven/Martin,

Sorry guys here is the attached a file displaying the output of comamands
hwmgr -view device and dsfmgr -s.

Please advise if deleting the hardware id 432 for dsk7 is sufficient or do I also need to delete the kernel record for dsk7 using dsfmgr. If I do need to delete the kernel record what is the syntax to delete it with dsfmgr.
Rob Leadbeater
Honored Contributor

Re: How to remove a scsi device on Tru64 Unix

Hi,

To remove HWID 432:

# dsfmgr -R hwid 432
# hwmgr delete component -id 432


Note that the man page for dsfmgr does have an Example to do this, but contains errors. The man page says to do the hwmgr command first. From experience you need to do the dsfmgr first. The man page example also has an extra "delete" between the -R and hwid which causes the command to fail.

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/MAN/MAN8/0140____.HTM

Cheers,

Rob
Danesh Qureshi
Regular Advisor

Re: How to remove a scsi device on Tru64 Unix

Rob/Martin/Rob,

I read the dsfmgr man pages link. I was able to delete hwid 432 using dsfmgr followed by hwmgr command.

I have attached the output of hwmgr and dsfmgr commands if anyone else needs to do perform the same task.

Thank you very much for all your kind help.