Operating System - HP-UX
1825766 Members
2098 Online
109687 Solutions
New Discussion

Re: unable to remove device file

 
HCL Ash
Frequent Advisor

unable to remove device file

# ioscan -funH 0/3/1/0.97.5.255.1
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
ext_bus 22 0/3/1/0.97.5.255.1 fcpdev NO_HW INTERFACE FCP Device Interface
abadguja as root@suxus003 [/root]
# rmsf -k -H 0/3/1/0.97.5.255.1
rmsf: Specified hardware path has no devices
abadguja as root@suxus003 [/root]
# uptime
6:25am up 3 hrs, 4 users, load average: 0.00, 0.01, 0.01
abadguja as root@suxus003 [/root]
#
11 REPLIES 11
Michal Kapalka (mikap)
Honored Contributor

Re: unable to remove device file

hi,

you don't need to delete the device,

if you reboot the server during some planed patching or servis of your infrastructure, the device will be automatically removed from the OS.

the question is why you have a NO_HW ???,

check the system for EMS messages ...

mikap
Shibin_2
Honored Contributor

Re: unable to remove device file

It is reading from buffer. What is the output of ioscan -fnH ?
Regards
Shibin
HCL Ash
Frequent Advisor

Re: unable to remove device file

i have rebooted server. still unable to remove device files.

vinayks
New Member

Re: unable to remove device file

Have u tried rmsf without -k option, because from the manpage of rmsf says as follows:

-k
Remove the definition of the device from the system, but not any special files. This option cannot be used with -a.

If you have tried, few other things you could try

1) Start a scan from higher up, say "ioscan -fnH 0/3"...Then try rmsf(without the -k option)

2) Else when you do ioscan as mentioned in 1) see if there is any errors in the syslog.

btw which OS is this.. 11.23 or 11.31?
SoorajCleris
Honored Contributor

Re: unable to remove device file

Hi,

Please post the output of ioscan -fn

thanks,
Sooraj
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity" - Dennis Ritchie
HCL Ash
Frequent Advisor

Re: unable to remove device file

Sorry for late response

ext_bus 20 0/3/1/0.97.5.255.14 fcpdev NO_HW INTERFACE FCP Device Interface
target 23 0/3/1/0.97.5.255.14.2 tgt NO_HW DEVICE
ext_bus 12 0/3/1/0.97.12.255.1 fcpdev NO_HW INTERFACE FCP Device Interface
ext_bus 13 0/3/1/0.97.13.255.14 fcpdev NO_HW INTERFACE FCP Device Interface
target 25 0/3/1/0.97.13.255.14.8 tgt NO_HW DEVICE
acpi_node 0 250/3 acpi_node CLAIMED INTERFACE Acpi Hardware
abadguja as root@suxus003 [/root]
#
Prasanth Thomas
Valued Contributor

Re: unable to remove device file

Hello,

did u try to run the below command?
# rmsf -H 0/3/1/0.97.5.255.1
Please let me know the output.

Regards,
Prasanth Thomas.
Vishu
Trusted Contributor

Re: unable to remove device file

Hi,

just give the output of:-


# ioscan -fnH 0/3/1/0.97.5.255.1
# ioscan -fnH 0/3/1/0
# rmsf -H 0/3/1/0.97.5.255.1




Torsten.
Acclaimed Contributor

Re: unable to remove device file

I cannot see any device file in your ioscan outputs - nothing to remove?

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!   
AVV
Super Advisor

Re: unable to remove device file

hmm..

Paste the ouput with the command you ran..
Shibin_2
Honored Contributor

Re: unable to remove device file

Cannot see any device files exists. Please send / post the output of ioscan -fn
Regards
Shibin