📄 370.html
字号:
<STYLE type=text/css>
<!--
body,td { font-size:9pt;}
hr { color: #000000; height: 1px}
-->
</STYLE>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>FAQ汇萃 >> solaris 专栏 >> Ten common Solstice Disksuite questions</title>
</head>
<body >
<p><IMG SRC="../image/jsp001_middle_logo.gif" WIDTH="180" HEIGHT="60" BORDER=0 ALT=""></p>
<table width=100% bgcolor="#cccccc" align=center cellpadding="2" cellspacing="0" border=1 bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#EFF8FF"><td>
<a href=http://www.jsp001.com/list_thread.php?int_attribute=1>FAQ汇萃</a>
>> <a href=http://www.jsp001.com/list_thread.php?forumid=39&int_attribute=1>solaris 专栏</a>
>> Ten common Solstice Disksuite questions [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=370>查看别人的评论</a>]<br>
<hr><p>由 fei 发布于: 2001-02-12 13:50</p><p> </p><p>1. Which version of DiskSuite runs on SunOS 4.1.4?<br><br> Online: DiskSuite 1.0 is the only version of DiskSuite compatible <br> with SunOS 4.X.<br> <br> While installing DiskSuite 1.0, you may encounter an error:<br><br> This software is not compatible with the current operating system.<br><br> This is the list of compatible operating systems:<br><br> 4.1.1<br> 4.1.2<br><br> Do you want to continue? [y|n]<br><br> Simply answer "y" and continue with the installation.<br><br> DiskSuite 1.0 is compatible with SunOS 4.1.2, 4.1.2, 4.1.3, and 4.1.4.<br><br> Online DiskSuite 2.0, 2.0.1 and 3.0 are compatible with Solaris 2.1<br> and later releases of Solaris 2.X.<br><br> Solstice Disksuite 4.0 is compatible with Solaris 2.3 and later <br> Solaris 2.X releases.<br><br> Solstice Disksuite 4.1 is compatible with Solaris 2.4 and later <br> Solaris 2.X releases.<br><br>2. After setting up Metadevices using metatool, how do I record<br> the configuration in the md.tab file?<br><br> Run the following command after the configuration is complete<br> to record the configuration:<br> <br> metastat -p > /etc/opt/SUNWmd/md.tab<br><br>3. During the boot process, the message "WARNING: forceload of <br> misc/md_hotspares failed." appears, what does it mean? <br> <br> This warning is harmless and can be ignored. The forceload statement<br> in the /etc/system file is designed to load the device driver as<br> soon as possible in the boot process. If the device driver is not<br> needed, it will not load, and reports this type of warning message.<br><br> To suppress the message, create an empty hotspare pool with the command:<br><br> # metainit hsp001<br><br>4. Upon reboot, all replicas on the SPARCStorage Array go bad.<br> How do I prevent this?<br> <br> Add the following entries to the /etc/system file to avoid this problem:<br><br> forceload: drv/ssd<br> forceload: drv/SUNW,pln<br> forceload: drv/SUNW,soc<br><br> You add forceloads to the /etc/system file so that the SSA 200 disks are <br> available early in the boot process.<br> <br>5. A disk went bad and needs to be replaced, how do I find the <br> state of the DiskSuite software?<br><br> Use the metastat command to find the state of the Disksuite configuration.<br> If a component is in need of maintenance, the metastat output will<br> give the course of action required.<br><br>6. How do I remove the boot disk from DiskSuite control?<br><br> ok boot cdrom<br> # fsck /dev/rdsk/c0....<br> # mount /dev/dsk/c0t3d0s0 /a<br> Note: this assumes that your boot device is target three on <br> controller zero.<br> # vi /a/etc/system<br> comment <li> out entries pertaining to / being a metadevice<br> (rootdev:pseudo/md:0,blk)<br> # vi /a/etc/vfstab<br> change metadevice name to physical disk partition for all<br> file systems associated with booting<br> # mv /a/etc/opt/SUNWmd/etc/mddb.cf /a/etc/opt/SUNWmd/prob.mddb.cf<br> # umount /a<br> # fsck /dev/rdsk/c0t3d0s0<br> # reboot<br><br>7. How do I check the status of the state database replicas?<br><br> Use the metadb command to find the state of the Disksuite replicas.<br> If a replica is in need of attention, the flags will report appropriately.<br><br> Often the SDS metatool will report the replicas to be in a critical <br> state when metadb reports no problems.<br><br> # metadb -i<br> flags first blk block count<br> a m pc luo 16 1034 /dev/dsk/c1t5d0s4<br> a pc luo 1050 1034 /dev/dsk/c1t5d0s4<br> a pc luo 2084 1034 /dev/dsk/c1t5d0s4<br> o - replica active prior to last mddb configuration change<br> u - replica is up to date<br> l - locator for this replica was read successfully<br> c - replica's location was in /etc/opt/SUNWmd/mddb.cf<br> p - replica's location was patched in kernel<br> m - replica is master, this is replica selected as input<br> W - replica has device write errors<br> a - replica is active, commits are occurring to this replica<br> M - replica had problem with master blocks<br> D - replica had problem with data blocks<br> F - replica had format problems<br> S - replica is too small to hold current data base<br> R - replica had device read errors<br><br>8. How are disksets used?<br><br> A shared diskset is a grouping of two hosts and disk drives in which all<br> the drives are accessible by both hosts. Disksuite requires that the<br> device name be identical on each host in the diskset. There is one<br> metadevice state database per shared diskset and one on the local disks<br> of each host. <br><br> Before you can begin to create or administer disksets, the disksuite<br> software must be installed on each host in the diskset and each host<br> must have local database replicas set up. In addition, all disks that<br> you plan to share between hosts in the diskset must be connected to each<br> host and must have the same name (shared_diskset name) on each host. <br><br>9. How do I create more than 128 meta devices?<br><br> Edit the file /kernel/drv/md.conf file and change the "nmd" field<br>from <br> nmd=128 to whatever amount is needed (i.e., 255).<br> <br> Then boot -r to build these new devices.<br><br>10. How do I metainit a RAID5 device?<br><br> metainit d0 -r c2t0d0s4 c2t2d0s4 c2t4d0s4 c2t0d4s4 c2t3d1s4 -k -i 32b<br> <br> If you omit the -k option data loss will occur.<br> This only applies to existing RAID5 metadevices, not new ones.<br></p></td>
</tr>
</table>
<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=370">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=370&intVote=4","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>非常多</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=370&intVote=2","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>有一些</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=370&intVote=1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>无帮助</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=370&intVote=-1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>是灌水</a>](<font color=red>0</font>) </p>
<script language="javascript" src="http://www.jsp001.com/include/read_thread_script.php?threadid=370"></script>
<p><CENTER>
Copyright © 2001 - 2009 JSP001.com . All Rights Reserved <P>
<IMG SRC="../image/jsp001_small_logo.gif" WIDTH="85" HEIGHT="30" BORDER=0 ALT="">
</CENTER></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -