remove device


 
Thread Tools Search this Thread
Operating Systems AIX remove device
# 1  
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
# 2  
Old 09-23-2008
Try smaller steps. Can you do
# rmdev -dl rmt0
?
# 3  
Old 09-23-2008
remove device

thanks for the reply shockneck

I remove the device but when I try to move dynamic to my lpar that I want that have now the device. I do all this from the HMC.

I got a message. That I cant remove and device. even If I want to remove dynamic the device I got the same message.

The whole picture is this.

1.-I have to remove the device from the command line
2.-I have to move from my lpar that got the device to the new lpar that I get to put, all this dynamic
3.-I have to run cfgmgr
4.-Verify that I got the device from the command line.

The step one theory I done. Thatīs why I put the out of the command lsslot -c slot because I still got on that partition.



Thanks again for your tips
# 4  
Old 09-23-2008
Yes, but from the first error message you did not know which device AIX considers being busy. Now you know that it was not the rmt0 device. Run cfgmgr to get rmt0 back and then identify any device in the device tree of rmt0. Use
# lsdev -l <device> -F parent
for any device beginning from rmt0 till you end up at the slot and try to rmdev any device manually to identify the device which AIX considers being busy.

Secondly check that in the lpar's profile the slot is defined as optional (not required) to be fit for DLPARing. You need to stop and activate the LPAR to change this.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
Login or Register to Ask a Question