Method Error /usr/lib/methods/ucfgdevice
Contents |
system that meets the demands of applications that businesses rely upon in today's marketplace. Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn unix and linux commands How
Method Error (/etc/methods/ucfgdevice):
to remove a device in use? AIX Tags aix, unix Page 1 0514-062 cannot perform the requested function because the specified device is busy of 2 1 2 > Thread Tools Search this Thread Display Modes #1 05-10-2012 petervg Registered User
Aix Rmdev Device Busy
Join Date: Jan 2011 Last Activity: 20 December 2012, 4:08 AM EST Location: In a Korn Shell Posts: 62 Thanks: 10 Thanked 2 Times in 2 Posts How to remove a device in use? Hi All, I'm having trouble aix rmdev hdisk device busy with my SAN devices on AIX 5.3 so I would like to remove the SAN devices and HBAs. Then I want to recreate them with cfgmgr and see if this solves my problem. So I have the following SAN devices: Code: # lsdev | grep fcs fcs0 Available 07-08 FC Adapter fcs1 Available 01-08 FC Adapter # lsdev | grep 07-08 dac0 Available 07-08-02 1722-600 (600) Disk Array Controller dac1 Available 07-08-02 1722-600 (600) Disk Array Controller fcnet0 Defined rmdev force 07-08-01 Fibre Channel Network Protocol Device fcs0 Available 07-08 FC Adapter fscsi0 Available 07-08-02 FC SCSI I/O Controller Protocol Device hdisk2 Available 07-08-02 MPIO Other FC SCSI Disk Drive # lsdev | grep 01-08 dac2 Available 01-08-02 1722-600 (600) Disk Array Controller dac3 Available 01-08-02 1722-600 (600) Disk Array Controller fcnet1 Defined 01-08-01 Fibre Channel Network Protocol Device fcs1 Available 01-08 FC Adapter fscsi1 Available 01-08-02 FC SCSI I/O Controller Protocol Device rmt1 Available 01-08-02 IBM 3580 Ultrium Tape Drive (FCP) smc0 Available 01-08-02 IBM 3573 Tape Medium Changer (FCP) Step one is removing fcs0 and all child devices with Code: # rmdev -Rdl fcs0 fcnet0 deleted dac0 deleted dac1 deleted fscsi0 deleted fcs0 deleted Next step is to remove fcs1 and all child devices with Code: # rmdev -Rdl fcs1 hdisk2 deleted Method error (/etc/methods/ucfgdac): 0514-062 Cannot perform the requested function because the specified device is busy. and then it stops removing devices so I decided to remove the devices manually. Code: # rmdev -dl fcnet1 fcnet1 deleted # rmdev -dl rmt1 rmt1 deleted # rmdev -dl smc0 smc0 deleted # rmdev -dl dac2 dac2 deleted # rmdev -dl dac3 Method error (/etc/methods/ucfgdac): 0514-062 Cannot perform the requested function because the specified device is busy. # rmdev -dl fscsi1 Method error (/usr/lib/methods/ucfgdevice): 0514-029 Cannot perform the requested function because a child device of the specified device is not in a correct state. # rmde
TO AIX 6100-08 AIX bos.perf.libperfstat.6.1.8.19 A fix is
Cl_vg_fence_term
available Obtain the fix for this APAR. Subscribe You can aix remove disk track all active APARs for this component. APAR status Closed as program error. Error description
Rmdev Aix
rmdev -Rdl
adapter from AIX 11 replies Latest Post - 2011-06-20T18:36:58Z by christianIBM Display:ConversationsBy Date 1-12 of 12 Previous Next Pavel_Pokorny 060001G15M 4 Posts Pinned topic Cannot remove fcsX adapter from AIX 2011-06-10T08:55:47Z | https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=373620 Tags: Answered question This question has been answered. Unanswered question This question has https://www.veritas.com/support/en_US/article.000010805 not been answered yet. Hello to all, we are trying to remove Fibre-Channel HBA fcs1 from our AIX OS. When we run rmdev over this fcs1 adapter we are receiving this error: root@cpia /tmp/rman #rmdev -dl fcs1 -R Method error (/usr/lib/methods/ucfgdevice): 0514-062 Cannot perform the requested function because the specified device method error is busy. Under this fcs1, there are no other devices: root@cpia /tmp/rman #lsdev -C|grep 03-01 fcnet1 Defined 03-01-01 Fibre Channel Network Protocol Device fcs1 Available 03-01 4Gb FC PCI Express Adapter (df1000fe) fscsi1 Available 03-01-02 FC SCSI I/O Controller Protocol Device So we tried to run fuser to find the processes holding this devices: root@cpia /tmp/rman #fuser -Vxuc /dev/fscsi1 /dev/fscsi1: 1c(root) 151726c(root) 159968c(root) 167986r(root) 184486c(root) method error /usr/lib/methods/ucfgdevice 221410c(root) 229428r(root) 245796c(root) 258252c(root) 262302c(root) 270352r(root) 274588r(root) 278714r(root) 282782c(root) 286788r(cpiadm) 290994c(root) 295164r(root) + .+ + .+ + .+ + .+ The question is: Why are all this processes holding our fcs1 devices? The device is not used anymore, all the tape drives that were zoned to this adapter were successfully removed. We also tried to run fuser on other similar machine and no processes were using fcs1 on that AIX: root@cwpa / #fuser -Vxuc /dev/fscsi1 root@cwpa / # So, what is the correct procedure to remove such a device and also is there any explanation why are all these processes using our device? Thanks a lot in advance, Pavel Log in to reply. Updated on 2011-06-20T18:36:58Z at 2011-06-20T18:36:58Z by christianIBM dhunje 2000004THP 3 Posts Re: Cannot remove fcsX adapter from AIX 2011-06-10T13:05:22Z This is the accepted answer. This is the accepted answer. What AIX version you are running? I have similar problem on 6100-06-03/04/05 and it has something with sfwcomm device. Did you try to run cfgmgr after (unsuccessful) removal. In my case next error appear: Method error (/usr/lib/methods/cfgstorfworkcom -l sfwcomm0 ): 0514-040 Error initializing a device into the ke
SERVICES Services Overview Education Services Business Critical Services Consulting Services Managed Services Appliance Services CUSTOMER CENTER Customer Center Support Community MyVeritas Customer Success Licensing Programs Licensing Process ABOUT About Corporate Profile Corporate Leadership Newsroom Research Exchange Investor Relations Careers Legal Contact Us English 中文(简体) English Français Deutsch Italiano 日本語 한국어 Português Español USA Site: Veritas Veritas PartnerNet Attempting to add a pvid to a lun in AIX's LVM leads to error "device busy error 0514-062" when running AIX's chdev command Article:000010805 Publish: Article URL:http://www.veritas.com/docs/000010805 Support / Article Sign In Remember me Forgot Password? Don't have a Veritas Account? Create a Veritas Account now! Welcome First Last Your Profile Logout Sign in to Subscribe Please sign in to set up your subscription. Close Sign In Print Article Products Article Languages Subscribe to this Article Manage your Subscriptions Problem After a lun has been in use by Volume Manager, it is not possible to use it with AIX's LVM as the lun is shown as busy. Error Message A lun had been freed from Volume Manager by running a deport of the relevant diskgroup and a vxdisksetup on the lun. An attempt was made to add a pvid to the lun using LVM: #chdev -l hdisk1 -a pv=yes Method error (/usr/lib/methods/ucfgdevice):0514-062 Cannot perform the requested function because thespecified device is busy. Solution At the time, the lun was still visible at Volume Manager level: # vxdisk list|grep hdisk30hdisk30 auto:none - - online invalid An attempt was made to remove the lun from Volume Manager's view, and the original operation then completed: # vxdisk rm hdisk30# chdev -l hdisk30 -a pv=yeshdisk30 changedApplies ToAIX 5.3 and Storage Foundation 5.0MP3 Terms of use for this information are found in Legal Notices.
Related Articles Article Languages x Translated Content Please note that this document is a translation from English, and may have been machine-translated. It is possible that updates have been made to the original version after this document was translated and published. Veritas does not guarantee the accuracy regarding the completeness of the translation. You may also refer to the English Version