Operating System - HP-UX
1834711 Members
2192 Online
110069 Solutions
New Discussion

Howto delete some tape instances on 11.11 PArisc

 
Vincent Lin_1
New Member

Howto delete some tape instances on 11.11 PArisc

This is what I have got at the moment

ohun8741[/]# ioscan -fnC tape
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
tape 39 0/0/10/0/0.5.112.255.0.0.0 atdd CLAIMED DEVICE IBM ULTRIUM-TD2
/dev/rmt/1m /dev/rmt/39m /dev/rmt/c87t0d0BEST /dev/rmt/s4m
/dev/rmt/1mb /dev/rmt/39mb /dev/rmt/c87t0d0BESTb /dev/rmt/s4mb
/dev/rmt/1mn /dev/rmt/39mn /dev/rmt/c87t0d0BESTn /dev/rmt/s4mn
/dev/rmt/1mnb /dev/rmt/39mnb /dev/rmt/c87t0d0BESTnb /dev/rmt/s4mnb
tape 38 0/0/10/0/0.5.113.255.0.0.0 atdd CLAIMED DEVICE IBM ULTRIUM-TD2
/dev/rmt/2m /dev/rmt/38m /dev/rmt/c88t0d0BEST /dev/rmt/s5m /dev/rmt/s8m
/dev/rmt/2mb /dev/rmt/38mb /dev/rmt/c88t0d0BESTb /dev/rmt/s5mb /dev/rmt/s8mb
/dev/rmt/2mn /dev/rmt/38mn /dev/rmt/c88t0d0BESTn /dev/rmt/s5mn /dev/rmt/s8mn
/dev/rmt/2mnb /dev/rmt/38mnb /dev/rmt/c88t0d0BESTnb /dev/rmt/s5mnb /dev/rmt/s8mnb
tape 40 0/0/10/0/0.5.114.255.0.0.0 atdd CLAIMED DEVICE IBM ULTRIUM-TD2
/dev/rmt/3m /dev/rmt/40m /dev/rmt/c89t0d0BEST /dev/rmt/s6m /dev/rmt/s9m
/dev/rmt/3mb /dev/rmt/40mb /dev/rmt/c89t0d0BESTb /dev/rmt/s6mb /dev/rmt/s9mb
/dev/rmt/3mn /dev/rmt/40mn /dev/rmt/c89t0d0BESTn /dev/rmt/s6mn /dev/rmt/s9mn
/dev/rmt/3mnb /dev/rmt/40mnb /dev/rmt/c89t0d0BESTnb /dev/rmt/s6mnb /dev/rmt/s9mnb
tape 0 0/0/11/0/0.3.0 stape CLAIMED DEVICE HP C1537A
/dev/rmt/0m /dev/rmt/0mnb /dev/rmt/c2t3d0BESTn /dev/rmt/c2t3d0DDSb
/dev/rmt/0mb /dev/rmt/c2t3d0BEST /dev/rmt/c2t3d0BESTnb /dev/rmt/c2t3d0DDSn
/dev/rmt/0mn /dev/rmt/c2t3d0BESTb /dev/rmt/c2t3d0DDS /dev/rmt/c2t3d0DDSnb

I would like to delete tape instances from 1 to 37.
3 REPLIES 3
Torsten.
Acclaimed Contributor

Re: Howto delete some tape instances on 11.11 PArisc

What's the problem?

The devices are CLAIMED and ready to use.

Anyway, if you want to delete the device files, try for example

# rmsf -H 0/0/10/0/0.5.112.255.0.0.0

They will be re-created on next boot ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Vincent Lin_1
New Member

Re: Howto delete some tape instances on 11.11 PArisc

# rmsf -H 0/0/10/0/0.5.112.255.0.0.0

I have deleted instance 39

# ioscan -M atdd -H 0/0/10/0/0.5.112.255.0.0.0 -I 1
ioscan: libIO error from io_insert_node: Node already exists or parameter error detected.

I can not rename the instance 39 to instance 1, because instance 1 already exist. I would like to know how to delete instance 1 without reboot.

# ioscan -M atdd -H 0/0/10/0/0.5.112.255.0.0.0 -I 39

I have no problem putting it back onto instance 39.
Patrick Wallek
Honored Contributor

Re: Howto delete some tape instances on 11.11 PArisc

Are you trying to get your tapes so that they are in sequential order for the instance numbers?

I don't think there is an easy way to do that without rebooting and editing the /etc/ioconfig file.

Have a read through this document for details:

Submitted Date: Tue Mar 20 13:15:48 GMT 2007
Title: How Does One Change An Instance Number
Document ID: emr_na-c00904872-7
Last Modified Date: Sun Jun 15 19:17:05 GMT 2008
http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&docId=emr_na-c00904872-7