Sponsored Content
Full Discussion: remove device
Operating Systems AIX remove device Post 302239458 by shockneck on Tuesday 23rd of September 2008 05:27:18 PM
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.
 

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
st(1M)																	    st(1M)

NAME
st - shared tape administration SYNOPSIS
device_file DESCRIPTION
The command provides users with a command-line interface to check the status of a shared tape device or to reclaim a shared tape device from a host system that has failed while holding a reservation on the shared tape device. The command can also be used for the same pur- pose on shared library robotic devices. To use the command you must have root user id. Please see examples below for usage. Options recognizes the following options and arguments: Specifies the tape device file or sctl/esctl pass-through device file for the shared tape/library device. This parameter is mandatory and will report an error if device_file is omitted. Allows the user to reclaim a shared tape device or shared library robotic device in the case where a host failed while holding a reservation on the shared device. This option causes a bus device reset to be issued to the device specified by the option. Prints out the current status of the shared tape/library device specified by the option. RETURN VALUE
returns 0 upon successful completion and 1 otherwise. EXAMPLES
The following shows three examples of output from the above command. The above output indicates that the shared device is reserved by another host and is therefore unavailable at this time. The above output indicates that the shared device is not ready for use at this time. The above output indicates that the shared device is ready for use at this time. To reclaim a shared tape/library device from a failed host, the following command can be used: WARNINGS
The option must be used with care. When reclaiming devices, it must be ensured that the host from which the device is being reclaimed has in fact failed, as data may be lost as the result of reclaiming a device that is currently in use by another host. AUTHOR
was developed by Hewlett-Packard. SEE ALSO
mt(1), scsi(7), scsi_ctl(7). st(1M)
All times are GMT -4. The time now is 02:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy