免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3198 | 回复: 1
打印 上一主题 下一主题

不知道是书上有些地方自相矛盾还是我的理解错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-27 22:24 |只看该作者 |倒序浏览
首先书上是这么说的
You can only create state database replicas on slices that are not in use.
You cannot create state database replicas on any slices in use.



然后,书上又举了一个例子
The following example shows how to use the metainit command to create a RAID-0 volume:
# /usr/sbin/metainit -f d11 1 1 c0t0d0s0
d11: Concat/Stripe is setup
Caution – If encapsulating an existing file system in a RAID-0 volume,
both the numstripes and width arguments must be 1, or the data will be lost.
The command line forces the creation of volume d11. Volume d11 creates a concatenation composed of a single stripe, one slice wide, and it is stored on the /dev/dsk/c0t0d0s0 disk slice.

Note – In this example, the root (/) file system is stored on the disk slice /dev/dsk/c0t0d0s0. Because the root (/) file system is stored at that location, you must use of the -f option to force the creation of a volume on the mounted partition.

  他在/dev/dsk/c0t0d0s0上做/usr/sbin/metainit ,但是他也说了/dev/dsk/c0t0d0s0是/所在的分区,但是前面又说只能在not in use的分区上做metainit

   自相矛盾还是理解错误?

论坛徽章:
0
2 [报告]
发表于 2007-06-27 22:41 |只看该作者
后面说的是用metainit创建元设备metadevice时....你理解错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP