- 论坛徽章:
- 0
|
大家好,不好意思,在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个系统盘,其他盘都是装数据的。谢谢大家解答。 |
|