Now it''s my turn to ask "What am I missing"
My setup:
2 nodes SX b27 see the same LUN via thei FibreChannel HBAs.
On the first node:
one# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
test 1.39G 139K 1.39G 0% ONLINE -
one# zpool export test
On the second node:
two# zpool import test
cannot import ''test'': no such pool available
The LUN is read/write-able for both nodes.
two# truss -f zpool import test
contains:
2161:
stat64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s0",
0x08045C70) = 0
2161:
open64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s0",
O_RDONLY) Err#5 EIO
2161:
stat64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s1",
0x08045C70) = 0
2161:
open64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s1",
O_RDONLY) Err#5 EIO
2161:
stat64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s2",
0x08045C70) = 0
2161:
open64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s2",
O_RDONLY) = 6
2161: fstat64(6, 0x08045790) = 0
2161: pread(6, "\0\0\0\0\0\0\0\0\0\0\0\0".., 262144, 0) = 262144
2161: pread(6, "\0\0\0\0\0\0\0\0\0\0\0\0".., 262144, 262144) =
262144
2161: pread(6, "\0\0\0\0\0\0\0\0\0\0\0\0".., 262144, 0xFE2BCA00) =
262144
2161: pread(6, "\0\0\0\0\0\0\0\0\0\0\0\0".., 262144, 0xFE2FCA00) =
262144
2161: close(6) = 0
Reboot didn''t help.
What am I missing ?
Thanks,
-- Leon Koll
IOSUG member
Leon Koll wrote:> Now it''s my turn to ask "What am I missing" > My setup: > 2 nodes SX b27 see the same LUN via thei FibreChannel HBAs. > On the first node: > > one# zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > test 1.39G 139K 1.39G 0% ONLINE - > > one# zpool export test > > On the second node: > two# zpool import test > cannot import ''test'': no such pool available > > The LUN is read/write-able for both nodes. > > two# truss -f zpool import test > contains: > > 2161: stat64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s0", > 0x08045C70) = 0 > 2161: open64("/dev/dsk/c6t5849562D494E4320584956313033302020202020313032353020202020202031d0s0", > O_RDONLY) Err#5 EIOLeon, that pathname is an ascii string (between the /c6 and s0) which is something like "XIV-INC XIV1030 10250" probably a lun label which you can correlate with iostat -En output. According to the zpool manpage, you should have been given a numeric identifier Example 9: Importing a pool The following command displays available pools, and then imports the pool "tank" for use on the system. # zpool export The results from this command look like the following: pool: tank id: 829347620656137349346464149528724075211 state: ONLINE desc: This pool can be imported using the name of the pool or its numeric identifier. config: mirror c0t0d0 ONLINE c0t1d0 ONLINE # zpool import tank which you can provide to zpool import on the second node. hth, James C. McPherson -- Solaris Datapath Engineering Data Management Group Sun Microsystems