?
Solved

zfs avs repilcation

Posted on 2009-07-08
5
Medium Priority
?
607 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month8 days, 9 hours left to enroll

621 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