SVM in RAID1 on v215 and v245?
Hello,
Are there any issues with creating a RAID1 configuration (mirroring) using SVM in Solaris 10 on a v215 or v245?
What we want to accomplish is to mirror the entire primary drive's data (not just the root slice). Is this possible? Are there any showstopping problems to be aware of?
Thanks,
VS
[330 byte] By [
sunuser2a] at [2007-11-27 0:28:23]

# 1
Absolutely - the procedure for the root partition is given in
http://docs.sun.com/app/docs/doc/816-4520/6manpiejn?a=view
This is also appropriate for swap or /var if these are to be mirrored (minus the metaroot command) but you'll have to manually edit /etc/vfstab to change from /dev/dsk/c.t.d. to /dev/md/dsk/d. for these partitions.
(ie metainit -f dx 1 1 c.t.d.s. ; metainit dy 1 1 c.t.d.s. ; metainit dz -m dx; reboot; metattach dz dy)
Any other partitions (i.e. those that can be unmounted in single-user mode) can be mirrored using the procedure defined in
http://docs.sun.com/app/docs/doc/816-4520/6manpiej9?a=view
and
http://docs.sun.com/app/docs/doc/816-4520/6manpiejj?a=view
Also remember that if you create state replicas on 2 disks only and one disk fails, only 50% of the replicas will be available and the server will not reboot without manual intervention (basically, all you really need to do is remove the state replicas that resided on the failed disk and reboot - remember that they must be replaced when the failed disk is removed) If the server is NOT rebooted when the failed disk is replaced, this is not an issue.
HTH