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:
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 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
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.
# rmdev -dl fcs1
Method error (/usr/lib/methods/ucfgcommo):
0514-029 Cannot perform the requested function because a
child device of the specified device is not in a correct state.
So this didn't work. Then I tried a reboot but after the reboot I still have the same problems.
To my knowledge, there are no more SAN devices in the system. What is preventing the system from removing dac3, fscsi1 and fcs1? How can I find out and how do I remove these devices?
I don't know these, sorry. Could be. Maybe try stopping them if they take a hold of devices. Else maybe reboot the box and try again before starting any application. The DAC seems to be something left over from SAN storage?
Can try a fget_config -vA to get more info about it.
If you get to reboot the box and the cfgmgr finds all stuff again, maybe have the zonings temporary disabled, get your devices cleaned and then have the zonings enables again. Or maybe just that LUN or whatever that is, can be disabled on SAN side.
1. lsdev -p fscsi1
would like to know what are the devices attached to them disks/tapes...
2. any log in errpt ?
3. Something is holding , even after after reboot, have you looked at /etc/inittab or had a closer look at ps -ef to check if any related process are running
Hope this helps.
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)
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)
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)
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)
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)
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.... (3 Replies)