Hi all,

I have a strange zfcp problem i just can't figure out...
My OS runs on ECKD but i have a few luns on an XIV machine for oracle data.
We are in the middle of a migration process from one XIV to another.
my /etc/zfcp.conf used to look like this (before the migration):
#
0.0.0010 0x0 0x5001738000800140 0x0 0x0000000000000000
0.0.0010 0x0 0x5001738000800150 0x0 0x0000000000000000
0.0.0010 0x0 0x5001738000800160 0x0 0x0000000000000000
0.0.0011 0x0 0x5001738000800171 0x0 0x0000000000000000
0.0.0011 0x0 0x5001738000800181 0x0 0x0000000000000000
0.0.0011 0x0 0x5001738000800191 0x0 0x0000000000000000
#
0.0.0010 0x0 0x5001738000800140 0x0 0x0001000000000000
0.0.0010 0x0 0x5001738000800150 0x0 0x0001000000000000
0.0.0010 0x0 0x5001738000800160 0x0 0x0001000000000000
0.0.0011 0x0 0x5001738000800171 0x0 0x0001000000000000
0.0.0011 0x0 0x5001738000800181 0x0 0x0001000000000000
0.0.0011 0x0 0x5001738000800191 0x0 0x0001000000000000
#
0.0.0010 0x0 0x5001738000800140 0x0 0x0002000000000000
0.0.0010 0x0 0x5001738000800150 0x0 0x0002000000000000
0.0.0010 0x0 0x5001738000800160 0x0 0x0002000000000000
0.0.0011 0x0 0x5001738000800171 0x0 0x0002000000000000
0.0.0011 0x0 0x5001738000800181 0x0 0x0002000000000000
0.0.0011 0x0 0x5001738000800191 0x0 0x0002000000000000
#
0.0.0010 0x0 0x5001738000800140 0x0 0x0003000000000000
0.0.0010 0x0 0x5001738000800150 0x0 0x0003000000000000
0.0.0010 0x0 0x5001738000800160 0x0 0x0003000000000000
0.0.0011 0x0 0x5001738000800171 0x0 0x0003000000000000
0.0.0011 0x0 0x5001738000800181 0x0 0x0003000000000000
0.0.0011 0x0 0x5001738000800191 0x0 0x0003000000000000
and now it looks like this (different WWPNs and i got rid of lun zero):
#
0.0.0011 0x0 0x5001738062670140 0x0 0x0001000000000000
0.0.0011 0x0 0x5001738062670150 0x0 0x0001000000000000
0.0.0011 0x0 0x5001738062670160 0x0 0x0001000000000000
0.0.0010 0x0 0x5001738062670170 0x0 0x0001000000000000
0.0.0010 0x0 0x5001738062670180 0x0 0x0001000000000000
0.0.0010 0x0 0x5001738062670190 0x0 0x0001000000000000
#
0.0.0011 0x0 0x5001738062670140 0x0 0x0002000000000000
0.0.0011 0x0 0x5001738062670150 0x0 0x0002000000000000
0.0.0011 0x0 0x5001738062670160 0x0 0x0002000000000000
0.0.0010 0x0 0x5001738062670170 0x0 0x0002000000000000
0.0.0010 0x0 0x5001738062670180 0x0 0x0002000000000000
0.0.0010 0x0 0x5001738062670190 0x0 0x0002000000000000
#
0.0.0011 0x0 0x5001738062670140 0x0 0x0003000000000000
0.0.0011 0x0 0x5001738062670150 0x0 0x0003000000000000
0.0.0011 0x0 0x5001738062670160 0x0 0x0003000000000000
0.0.0010 0x0 0x5001738062670170 0x0 0x0003000000000000
0.0.0010 0x0 0x5001738062670180 0x0 0x0003000000000000
0.0.0010 0x0 0x5001738062670190 0x0 0x0003000000000000
I expected that after a reboot zfcp will forget about the old luns but he
didn't.
looking at:
/sys/bus/ccw/drivers/zfcp/0.0.0010
/sys/bus/ccw/drivers/zfcp/0.0.0011
i can still see the old ports and luns. for example:
drwxr-xr-x 6 root root    0 Feb 28 15:17 0x5001738000800140 - old
drwxr-xr-x 6 root root    0 Feb 28 15:17 0x5001738000800150 - old
drwxr-xr-x 6 root root    0 Feb 28 15:17 0x5001738000800160 - old
drwxr-xr-x 5 root root    0 Feb 28 15:17 0x5001738062670170 -new
drwxr-xr-x 5 root root    0 Feb 28 15:17 0x5001738062670180 -new
drwxr-xr-x 5 root root    0 Feb 28 15:17 0x5001738062670190 -new
under 0x5001738000800140 you can see the old luns:
drwxr-xr-x 2 root root    0 Feb 28 15:17 0x0000000000000000
drwxr-xr-x 2 root root    0 Feb 28 15:17 0x0001000000000000
drwxr-xr-x 2 root root    0 Feb 28 15:17 0x0002000000000000
drwxr-xr-x 2 root root    0 Feb 28 15:17 0x0003000000000000

something does not add up. i guess i have some misunderstanding about zfcp
start up procedure.
I though the script zfcpconf.sh is run at startup using the
56-zfcp.rules* *udev
rule and that is it...
as all 56-zfcp.rules* *does is run zfcpconf.sh i can't figure out where did
the system get the old luns/ports?
zfcpconf.sh just reads /etc/zfcp.conf

anyone?
Thanks!
Offer Baruch

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to