免费注册 查看新帖 |

Chinaunix

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

vxvm的初始化和添加到新group提示cds错误的问题,谢谢大侠解答!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-12-20 04:50 |只看该作者 |倒序浏览
大家好,不好意思,在solaris X86的平台上遇到这个问题,新添加的disk无法加到group里面每次都说不能加到cds的group里面,用vxdisk destroy xxx,他们type就变成none了,但还是无法添加,vxvm版本是5,
下面是信息
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:simple     -            -            online invalid
c2t1d0s2     auto:none       -            -            online invalid
c2t2d0s2     auto:none       -            -            online invalid
c2t3d0s2     auto:none       -            -            online invalid
c2t4d0s2     auto:none       -            -            online invalid
c2t5d0s2     auto:none       -            -            online invalid
bash-3.00# vxdiskadd c2t1d0


Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
  Here is the disk selected.  Output format: [Device_Name]

  c2t1d0

Continue operation? [y,n,q,?] (default: y)
  You can choose to add this disk to an existing disk group, a
  new disk group, or leave the disk available for use by future
  add or replacement operations.  To create a new disk group,
  select a disk group name that does not yet exist.  To leave
  the disk available for future use, specify a disk group name
  of "none".

Which disk group [<group>,none,list,q,?] (default: n)
  There is no active disk group named n.

Create a new group named n? [y,n,q,?] (default: y) n

Which disk group [<group>,none,list,q,?] (default: n) none
  The disk will be initialized and left free for use as a replacement
  disk.

  c2t1d0

Continue with operation? [y,n,q,?] (default: y)
  Initializing device c2t1d0.

Enter the desired format
[cdsdisk,sliced,simple,q,?] (default: cdsdisk)

Enter desired private region length
[<privlen>,q,?] (default: 204

Goodbye.
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:simple     -            -            online invalid
c2t1d0s2     auto:simple     -            -            online invalid
c2t2d0s2     auto:none       -            -            online invalid
c2t3d0s2     auto:none       -            -            online invalid
c2t4d0s2     auto:none       -            -            online invalid
c2t5d0s2     auto:none       -            -            online invalid
bash-3.00#
bash-3.00#
bash-3.00# vxdg init dg01 diskname=c2t1d0
VxVM vxdg ERROR V-5-1-6478 Device c2t1d0s2 cannot be added to a CDS disk group
bash-3.00#

c2t1d0s2 变成simple类型,明明是cds嘛,后来我又换了方法,让它自己添加,还是一样:

bash-3.00# vxdiskadd c2t2d0


Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
  Here is the disk selected.  Output format: [Device_Name]

  c2t2d0

Continue operation? [y,n,q,?] (default: y)
  You can choose to add this disk to an existing disk group, a
  new disk group, or leave the disk available for use by future
  add or replacement operations.  To create a new disk group,
  select a disk group name that does not yet exist.  To leave
  the disk available for future use, specify a disk group name
  of "none".

Which disk group [<group>,none,list,q,?] (default: n) dg01
  There is no active disk group named dg01.

Create a new group named dg01? [y,n,q,?] (default: y)

Create the disk group as a CDS disk group? [y,n,q,?] (default: y)

Use a default disk name for the disk? [y,n,q,?] (default: y)

Add disk as a spare disk for dg01? [y,n,q,?] (default: n)

Exclude disk from hot-relocation use? [y,n,q,?] (default: n)
  A new disk group will be created named dg01 and the selected disks
  will be added to the disk group with default disk names.

  c2t2d0

Continue with operation? [y,n,q,?] (default: y)
  Initializing device c2t2d0.

Enter desired private region length
[<privlen>,q,?] (default: 204
  VxVM  NOTICE V-5-2-120
Creating a new disk group named dg01 containing the disk
  device c2t2d0 with the name dg0101.
  VxVM  ERROR V-5-2-121
Creating disk group dg01 with disk device c2t2d0 failed.
  VxVM vxdg ERROR V-5-1-6478 Device c2t2d0s2 cannot be added to a CDS disk group

Hit RETURN to continue.

Goodbye.
bash-3.00#
这是个vmware环境,1个系统盘,其他盘都是装数据的。谢谢大家解答。

论坛徽章:
0
2 [报告]
发表于 2008-01-25 22:01 |只看该作者
可以这样:
1、format -e cXtXdX 选 0
2、vxdiskconfig
3、vxdisksetup -if cXtXdX format=cdsdisk

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
3 [报告]
发表于 2008-01-26 19:44 |只看该作者
vxdg init dg01 cds=off diskname=c2t1d0

论坛徽章:
0
4 [报告]
发表于 2008-01-27 00:56 |只看该作者

回复 #1 cdzy777 的帖子

format  --->  lable

vxdctl enable
vxdisksetup -i c*t*d*                       ----默认就是cdsdisk
如果还不行,先vxdiskunsetup然后在vxdisksetup
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP