Hi Miles thanks for your reply.

Sorry for my bad english, but it's not my  first language.

Ok I will try explain again.

My goal is to have a zpool that can move between 2 nodes (via zpool 
export/import)

So I start by  creating 3 equal slices on Server A:

I create a 450 GB slice 0 on disk:

c5t1d0 & c6t0d0 & c6t1d0

Then on Server B I do the same and I create 3 iscsi targets with those slices:

iscsitadm create target /dev/rdsk/c5t1d0s0 disk1
iscsitadm create target /dev/rdsk/c6t0d0s0 disk2
iscsitadm create target /dev/rdsk/c6t1d0s0 disk3

Then again On Server A I add 3 static configs (for the above iscsi targets) (*)

I run:
iscsiadm modify discovery -s enable
devfsadm -i iscsi

Now I have 3 extra disks.

Then again on server A I create a zpool:

zpool create -f box3 mirror c5t1d0s0 c8t600144F048FFCC000000E081B33B9800d0 
mirror c6t0d0s0 c8t600144F048FFCCC50000E081B33B9800d0 mirror c6t1d0s0 
c8t600144F048FFCCD80000E081B33B9800d0


So far everything work fine.

Ok now I would like to test if this zpool can be imported on Server B. (for in 
case of disaster)

On Server A I export the zpool and logout the iscsi targets (iscsiadm modify 
discovery -s disable).

On server B I try to import a a zpool, but none is found.

On Server B I add the same static configs (*) but this time with 127.0.0.1 as ip

I run iscsiadm modify discovery -s enable & devfsadm -i iscsi, and try the 
import again.

This time zpool import finds a zpool, but it cannot be imported see error in 
previous post.

If something is still unclear, please let me know.

Kristof
--
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to