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

Device Busy Error while rmsf a disk

 
initin
Advisor

Device Busy Error while rmsf a disk

Hi All,

On HP-UX 11iv3, I had created a Test PV, VG & LV befoe some days, Now I tried to remove it , Successfuly removed lv, vg & pv, in sequence.

Unpresented the lun from storage,

And When tried to remove device files,  getting the following error.

 

#rmsf -H 64000/0xfa00/0x3d

Device at 64000/0xfa00/0x3d is busy. Cannot remove.

 

Do I need to delete the vDisk from storage before rmsf?

 

Please guide

Thanks in advance

Nitin

8 REPLIES
Torsten.
Acclaimed Contributor

Re: Device Busy Error while rmsf a disk

Something keeps this device busy. If you delete it from storage, it will turn to NO_HW, so you can use "rmsf -x" to delete the device.

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!   
initin
Advisor

Re: Device Busy Error while rmsf a disk

Thanks But

I have unprersented it from storage & it has turned to NO_HW already, But still I m not able to rmsf it.

Regards

Nitin

 

 

Torsten.
Acclaimed Contributor

Re: Device Busy Error while rmsf a disk

Any message received?

What was your command?

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!   
Ken Grabowski
Respected Contributor

Re: Device Busy Error while rmsf a disk

Have you tried using the rmsf -H with the legacy hardware path?

initin
Advisor

Re: Device Busy Error while rmsf a disk

Hi,

I used

#ioscan -funNC disk

# rmsf -H 64000/0xfa00/0x3d

The error I am getting is

Device at 64000//0xfa00/0x3d is busy. Cannot remove.

............................................................

#ioscan -funC disk |grep NO_HW

#ioscan -funC disk |grep t3d5

 

I m getting

disk 107 1/0/14/1/0/4/0.39.0.0.0.3.5 sdisk NO_HW DEVICE HP HSV300

disk 107 1/0/14/1/0/4/0.39.2.0.0.3.5 sdisk NO_HW DEVICE HP HSV300

disk 107 1/0/14/1/0/4/1.39.1.0.0.3.5 sdisk NO_HW DEVICE HP HSV300

disk 107 1/0/14/1/0/4/1.39.2.0.0.3.5 sdisk NO_HW DEVICE HP HSV300

 

do you mean to say #rmsf -H  1/0/14/1/0/4/0.39.0.0.0.3.5

and same for all 4 path?

 

 

Ken Grabowski
Respected Contributor

Re: Device Busy Error while rmsf a disk

Yes, you would do an rmsf for each NO_HW device.

initin
Advisor

Re: Device Busy Error while rmsf a disk

Thanks all,

I have rebboted my server & the dsf got removed automatically.

Thanks for all your help..

Regards

Nitin M

Chirag Parikh
Frequent Advisor

Re: Device Busy Error while rmsf a disk

Hi,

 

Even you might have tried "rmsf -u -H 64000//0xfa00/0x3d" which will Unbind a driver associated with a node corresponding to the hardware path 64000//0xfa00/0x3d.

 

Regards,

Chirag Parikh