OK, simple question but it gets heavy after the first bit:
diag
advanced diags
system verification
highlight / select fcs0
press enter and a + will show next to it
press F7 / Esc +7 to run the test
It should prompt you to unplug the fibre / plug in the wrap plug
This will probably fail because the device is in use - otherwise how would you think there was a problem with it?
rmpath all paths on the device if it has multipath devices attached.
varyoff all associated vgs if they are not multipathed.
you might also need to rmdev all disks on the adapter
Then you should be able to run the wrap tests.
Now I'll ask the important questions:
What is the current configuration of the adapter and why do you think you want to run a wrap test?
Why do you think there is a problem with the adapter?
What is it / do you think it is connected to?
Is this a new installation / SAN connection?
What do the lights on the adapter show?
What do the lights on the swith show?
What type of switch is it?
What is the firmware level of the switch?
What back end devices are presented to the adapter?
Please also post the output of:
lscfg -vl fcs0
lsattr -El fcs0
lsattr -El fscsi0
HTH
Last edited by dukessd; 02-05-2009 at 09:52 PM..
Reason: added a t to the end of the word firs on the first lene - see, I can spell first! oh no, I've miwss-typewd line now, ahh!
Basically "pcmpath query device" shows failed hdisks along one adapter path (was okay before). The cabling from adapter to switch has been tested and the switch port has been tested - both OK. No firmware upgrades have been done, no SAN config changes have been done.
Apparently, the right green LED is flashing and the left amber link LED is off.
Unfortunately, I do not have access to any info beyond the FC Adapter (different teams manage it).
Will provide the output requested in next post soon...
# lsmcode -A
...
fcs0!df1000fa.190313
fcs1!df1000fa.190313
Appears the wrap test has resolved the issue (it might be the fact that the cable was simply pulled out then put back in). No config changes were done, no reboots, just wrap test. Path is back up.
I probably should've mentioned before ... this path went down when a power outage happened on the switch, however, the path should've come back up once switch came back online.
So series of events:
1. Power OFF to switch attached to fcs0.
2. Power ON to switch attached to fcs0.
<expected path to be back up, ran cfgmgr, chpath -l hdiskX -s enable -p fscsi0, pcmpath set device X path 0 online ... no luck bringing hdiskX's back online>
3. Switch ports and cabling checked - all OK.
4. Wrap test on fcs0
5. Everything back online.
The team/vendor that checked things on step 3 mentioned:
Many times I have seen that simply running the wrap test will reset the port and path may be alright after that.
Which turned out to be true in this case. Sounds like some AIX issue?
When I cat a file that has several hundred characters in a line, the right hand side is truncated. How can I make everything displayed on my screen word wrap? (6 Replies)
This is the code:
while test 1 -eq 1
do
read a
$a
if test $a = stop
then
break
fi
done
I read a command on every loop an execute it.
I check if the string equals the word stop to end the loop,but it say that I gave too many arguments to test.
For example echo hello.
Now the... (1 Reply)
Hi,
I got some timetable in a file but it is all mixed up like this
01:00 hgrtwhrt #104:00 tyergethr05:00
tqqrthd qrth #107:00 qhtrhqerth10:00 qerthrthqr qtrqthr
qthrrt11:00 thqrthqrthrr
rthgreth #212:00 trhrthrth14:00 wrthwrtwrqrthwrthwr
#2116:00 trqhthtr: rthrthr17:00 rtwhtrhwrth rthwrt... (6 Replies)
Does anyone know of a program to wrap an interactive script into an application..I tried using platypus but i want a utility to allow interactive scripts to be run in a stand-alone window to avoid .profile settings on multiple computers...platypus provides the option of a text window output but... (0 Replies)
I am using vi to edit shell scripts, but whenever I get to the end of the line it goes to the next line, and when I run the script it considers whatever was placed onthe next line a new command...I guess this has to do with word wrap- how do I continue to write on one line? (3 Replies)