Hi all, especially Jim. :-)

Still having problems, this time with SNDR itself.

I gave up on my plan to use fdisk partitions as data and bitmap volumes for 
SNDR (AVS Remote Mirror), since sndradm doesn't seem to want to recognize them. 
(Unlike ZFS's zpool.)

Right now I'm testing with two virtual machines in Parallels Desktop on my Mac 
Pro. I installed Solaris Express snv_55b and AVS, then duplicated the virtual 
machine and changed hostname, IP address and MAC address.

I can ssh back and forth fine between my Mac and the virtual machines, and from 
one virtual machine to the other (using the hostnames, which are entered in 
/etc/hosts), so network connectivity seems to be OK.

I can enable Remote Mirror with the following command on both "master" and 
"slave" by using the following command:

bash-3.00# sndradm -E master /dev/rdsk/c0d0s4 /dev/rdsk/c0d0s3 slave 
/dev/rdsk/c0d0s4 /dev/rdsk/c0d0s3 ip async

Then, dsstat will report an active volume on both master and slave:

bash-3.00# dsstat
name              t  s    pct role   ckps   dkps   tps  svt
dev/rdsk/c0d0s4   S  L   0.00  net      -      0     0    0
dev/rdsk/c0d0s3                bmp      0      0     0    0

(That's on the slave. The output is the same on the master, except of course 
t=P for c0d0s4.)

However, when I try to start the update, I get an error:

bash-3.00# sndradm -u
Refresh secondary with primary? (Y/N) [N]: y
bash-3.00# Remote Mirror: master /dev/rdsk/c0d0s4 /dev/rdsk/c0d0s3 slave 
/dev/rdsk/c0d0s4 /dev/rdsk/c0d0s3
sndradm: warning: SNDR: Could not open file slave:/dev/rdsk/c0d0s4 on remote 
node

The (virtual) hard drives are set up identically on both the master and slave 
virtual machines, with a single fdisk partition containing the following slices:

Current partition table (original):
Total disk cylinders available: 4076 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm     651 - 2180       11.72GB    (1530/0/0) 24579450
  1       swap    wu       3 -   68      517.72MB    (66/0/0)    1060290
  2     backup    wm       0 - 4075       31.22GB    (4076/0/0) 65480940
  3   reserved    wm      69 -   77       70.60MB    (9/0/0)      144585
  4   reserved    wm    2181 - 4075       14.52GB    (1895/0/0) 30443175
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7       home    wm      78 -  650        4.39GB    (573/0/0)   9205245
  8       boot    wu       0 -    0        7.84MB    (1/0/0)       16065
  9 alternates    wu       1 -    2       15.69MB    (2/0/0)       32130

I have no problem creating a zpool and filesystem on c0d0s4 on either master or 
slave. However, sndradm fails to access the data volume on the slave as show 
above. Or is this a network connectivity or hostname issue? But ssh (e. g., 
"ssh master" from slave) works fine both ways!

Any ideas? I'm stumped - thanks for your help!
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to