Sponsored Content
Full Discussion: remove device
Operating Systems AIX remove device Post 302239029 by lo-lp-kl on Monday 22nd of September 2008 07:43:50 PM
Old 09-22-2008
remove device

Hello

I need to remove a device (tape rmt0) for to put dinamic in another lpar but when I try to remove I get the next message

I try also If there are some process about it but nothing. and before that the device was available and I put on defined status but the same thing I canīt remove it.

rmdev -dl pci5 -R
Method error (/etc/methods/ucfgdevice):
0514-062 Cannot perform the requested function because the
specified device is busy.

lsslot -c slot
# Slot Description Device(s)
U7311.D20.1002EFB-P1-C01 Logical I/O Slot pci9 fcs1
U7311.D20.1002F0B-P1-C07 Logical I/O Slot pci10 ent0 ent1
U7311.D20.1002EFB-P1-C08 Logical I/O Slot pci8 fcs0
U787B.001.DNW6308-P1-C2 Logical I/O Slot pci7 fcs2
U787B.001.DNW6308-P1-T14 Logical I/O Slot pci5 sisscsia0
U9133.55A.10B387G-V2-C0 Virtual I/O Slot vsa0

ps -fea | grep rmt0
root 815298 868544 0 18:31:18 pts/1 0:00 grep rmt0

lsdev -Cc tape
rmt0 Defined 05-08-00-0,0 LVD SCSI 4mm Tape Drive
rmt1 Available 07-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt2 Available 07-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt3 Available 07-08-02 IBM 3580 Ultrium Tape Drive (FCP)
rmt4 Available 07-08-02 IBM 3580 Ultrium Tape Drive (FCP)
smc0 Available 07-08-02 IBM 3583 Library Medium Changer (FCP)


Thanks for your tips
 

6 More Discussions You Might Find Interesting

1. AIX

rmdev won't remove disk device AIX

Hi all, I'm attempting to remove some EMC hdisk devices which we recently had made available to one of our backup servers. This is an AIX 5.3 server. When I try doing an rmdev I get the following: root@********:/dev# rmdev -d -l hdisk495 Method error (/usr/lib/methods/ucfgdevice): ... (2 Replies)
Discussion started by: C.J.Hund
2 Replies

2. UNIX for Dummies Questions & Answers

UNIX rm -rf error "rm: cannot remove `filename' : Device or resource busy"

Hi Everyone, I am trying to remove a directory: $ rm -rf directory_name/ rm: cannot remove `directory_name/filename': Device or resource busy What does this mean, and why can't I remove these files? I already tried moving into the directory, and removing the files individually, but I... (7 Replies)
Discussion started by: Anna_Z
7 Replies

3. AIX

How to remove a device in use?

Hi All, I'm having trouble 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: # lsdev | grep fcs fcs0 Available 07-08 FC... (7 Replies)
Discussion started by: petervg
7 Replies

4. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

5. AIX

Gpfs how to remove nsd from a device

Gpfs how to remove nsd from a device Need to removed nsd from the device below /apps/abinitio/outbound01 90 30 DEVappsabob01 root@carlvpc0lpr24 # df -g /apps/abinitio/outbound01 Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/DEVappsabob01 90.00 89.39 1% 4032 1%... (1 Reply)
Discussion started by: asyed123
1 Replies

6. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
HOTSWAPRC(5)							File Formats Manual						      HOTSWAPRC(5)

NAME
hotswaprc - configuration file for hotswap DESCRIPTION
/etc/hotswaprc is the global configuration file for the hotswap utility. It allows system administrators to specify arbitrary shell scripts to be run after a device is inserted, as well as before and after it is removed. Scripts are selected according to the model name retrieved from the device. This is particularly helpful for automatic configura- tion of CD-RW drives, which require SCSI emulation and bypass normal access via the IDE subsystem. hotswaprc is implemented as an Extensible Mark-up Language (XML) application. XML documents are structured using elements of the form <tag-name> content <tag-name>. A Document Type Definition (DTD) describes the possible content of each element. Please refer to the XML specification for more information. The hotswap distribution also contains an example file, doc/hotswaprc.example, which includes the DTD for the configuration file format. ELEMENTS
<hotswap> This is the root element of the document. Each valid hotswaprc must contain exactly one <hotswap> element. The <hotswap> element may contain an arbitrary number of <device> elements. <device> The configuration file contains one <device> element for every device for which scripts are defined. The <device> element is com- posed of the following elements in this order: <name>, <post-insert>, <pre-remove>, <post-remove>. All but <name> are optional. <name> The content of this element is the model identification string of the IDE device the current <device> element refers to. <post-insert> Contains the shell script that is to be executed after the device has been inserted and registered with the kernel. <pre-remove> Contains the shell script that is to be run before hotswap attempts to unregister the device. <post-remove> Contains the shell script that is to be run after the device had been unregistered. REPORT BUGS
Report bugs to t.stadelmann1@physics.ox.ac.uk. AUTHOR
Written by Tim Stadelmann. SEE ALSO
hotswap(1), xhotswap(1). COPYRIGHT
Copyright (c) 2002-2003 Tim Stadelmann. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License (GPL), Version 2 or any later version published by the Free Software Foundation. 26th November 2002 HOTSWAPRC(5)
All times are GMT -4. The time now is 11:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy