Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

zfs avs repilcation

Posted on 2009-07-08
5
Medium Priority
?
605 Views
Last Modified: 2013-12-27
I been trying to setup two zfs servers one as a live and one as a live mirror but have been unable to tell it to mirror keep comming back cant no open /dev/rdsk/c2d0s1?

sndradm -e localhost  /dev/rdsk/c2d0s1 /dev/rdsk/c2d0s0 server1 /dev/rdsk/c2s0s1 /dev/rdisk/c2s0s1 ip sync

0
Comment
Question by:03671328
  • 3
  • 2
5 Comments
 
LVL 38

Expert Comment

by:yuzh
ID: 24809968
Check your disk device name carefully to make sure it is correct, for Solaris (Sparc) the device name is likely looks like: cXtXdXSX for Solaris x86, some of them looks like cXdXSX
use format command to find out the disk names and partition informations (verify only), or have a look at you /etc/vfstab file.
also have a look at the example in:
http://www.c0t0d0s0.org/archives/4260-Less-known-Solaris-Features-Remote-Mirror-with-AVS-Part-7-Truck-based-synchronisation.html
http://www.c0t0d0s0.org/archives/4253-Less-known-Solaris-Features-Remote-Mirror-with-AVS-Part-1-Introduction.html
 http://www.c0t0d0s0.org/archives/4254-Less-known-Solaris-Features-Remote-Mirror-with-AVS-Part-2-The-fundamentals-of-Remote-mirroring-with-AVS.html
 
 
0
 
LVL 1

Author Comment

by:03671328
ID: 24817448
that's the guide i was fallowing i cant figure out why its not working.
0
 
LVL 38

Expert Comment

by:yuzh
ID: 24820124
Did you check the disk device names on your system as I mentioned in my previous comment.
0
 
LVL 1

Author Comment

by:03671328
ID: 24823360
yea I did.
ls /dev/rdsk/
c1d0s1 c1d0s0 c1d0s3 c1d0s4
c2d0s1 c2d0s0 c2d0s3 c2d0s4
0
 
LVL 1

Accepted Solution

by:
03671328 earned 0 total points
ID: 25452028
gave up went to freebsd with zfs.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question