Hello Richard,

Friday, September 28, 2007, 7:45:47 PM, you wrote:

RE> Kris Kasner wrote:
>>> 2. Back to Solaris Volume Manager (SVM), I guess. It's too bad too, because 
>>> I 
>>> don't like it with 2 SATA disks either. There isn't enough drives to put 
>>> the 
>>> State Database Replicas so that if either drive failed, the system would 
>>> reboot unattended. Unless there is a trick?
>> 
>> There is a trick for this, not sure how long it's been around.
>> Add to /etc/system:
>> *Allow the system to boot if one of two rootdisks is missing
>> set md:mirrored_root_flag=1

RE> Before you do this, please read the fine manual:
RE> 
http://docs.sun.com/app/docs/doc/819-2724/chapter2-161?l=en&a=view&q=mirrored_root_flag

The description on docs.sun.com is somewhat misleading.

http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/lvm/md/md_mddb.c#5659
   5659                 if (mirrored_root_flag == 1 && setno == 0 &&
   5660                     svm_bootpath[0] != 0) {
   5661                         md_clr_setstatus(setno, MD_SET_STALE);

Looks like it has to be diskset=0 bootpath has to reside on svm device
and mirrored_root_flag has to be set to 1.

So if you got other disks (>2) in a system just put them in a separate
disk group.
   

   
-- 
Best regards,
 Robert Milkowski                      mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to