Chinaunix

标题: 新rhas3 , 新veritas rpm包, 报错 [打印本页]

作者: morningscene    时间: 2006-02-28 14:39
标题: 新rhas3 , 新veritas rpm包, 报错
[root@v1 root]# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
sda          sliced              -            -            error
sdb          sliced              -            -            error


============


这不正常吧?
作者: 风之幻想    时间: 2006-02-28 17:11
用vxdiskadm把这个2个盘加到veritas的管理中.
作者: morningscene    时间: 2006-02-28 17:22


现在的情况:

[root@v1 root]# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
sda          sliced              -            -            error
sdb          sliced      disk01       rootdg       online


sda(系统所在的物理盘)怎么加不进去呢?
作者: 风之幻想    时间: 2006-02-28 17:35
初始化的时候报什么错误消息.
作者: morningscene    时间: 2006-02-28 17:38
原帖由 风之幻想 于 2006-2-28 17:35 发表
初始化的时候报什么错误消息.



我是用vxinstall的quick install安装的,一路回车.....

刚才查了片文章,说 封装rootdisk的得有几个条件? 不能随便encapsulate ??
作者: 风之幻想    时间: 2006-02-28 17:39
封装rootdg.你用vxdiskadm来初始化你的那个盘就可以了.
作者: morningscene    时间: 2006-02-28 17:45
en
刚才用vxdiskadm了.
初始化sda,最后:

It is not possible to encapsulate sda, for the following reason:
     <vxvm:vxslicer: ERROR: Cannot find appropriate partition layout to allocate space for VxVM public/private partitions. See Documentation.>   

中间还有个提示,说rootdisk封装后DMP就不能用.


整个过程:


Select an operation to perform: 1



Add or initialize disks
Menu:: VolumeManager/Disk/AddDisks

  Use this operation to add one or more disks to a disk group.  You can
  add the selected disks to an existing disk group or to a new disk group
  that will be created as a part of the operation. The selected disks may
  also be added to a disk group as spares. Or they may be added as
  nohotuses to be excluded from hot-relocation use. The selected
  disks may also be initialized without adding them to a disk group
  leaving the disks available for use as replacement disks.

  More than one disk may be entered at the prompt.  Here are
  some disk selection examples:

  sda:          add only disk sda
  sdb hdc:      add both disk sdb and hdc

Select disk devices to add: [<pattern-list>,list,q,?] list

DEVICE       DISK         GROUP        STATUS
sda          -            -            error
sdb          disk01       rootdg       online

Select disk devices to add: [<pattern-list>,list,q,?] sda

  Here is the disk selected.  Output format: [Device_Name]

  sda

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: rootdg)

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

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

Exclude disk from hot-relocation use? [y,n,q,?] (default: n)

  The selected disks will be added to the disk group rootdg with
  default disk names.

  sda

Continue with operation? [y,n,q,?] (default: y)

  One or more partitions of the following disk device are in use as
  a mounted file system. The disk cannot be initialized, but you can
  encapsulate the existing disk partitions as volumes.
  Output format: [Device_Name]

  sda

Encapsulate this device? [y,n,q,?] (default: y)

  The following disk has been selected for encapsulation.
  Output format: [Device_Name]

  sda

Continue with encapsulation? [y,n,q,?] (default: y)

  The disk device sda will be encapsulated and added to the disk group
  rootdg with the disk name rootdisk.

Use a default private region length for this disk?
[y,n,q,?] (default: y)

  NOTE: DMP can not be enabled once root disk is encapsulated.

  Do you want to continue ? [y,n,q,?] (default: n) y

  Encapsulating root disk...

  The encapsulation operation failed with the following error:
  
  It is not possible to encapsulate sda, for the following reason:
     <vxvm:vxslicer: ERROR: Cannot find appropriate partition layout to allocate space for VxVM public/private partitions. See Documentation.>   

Hit RETURN to continue.
作者: 风之幻想    时间: 2006-02-28 17:52
重新建一个组看看.
作者: morningscene    时间: 2006-02-28 18:02
谢谢风mm了
我再试验一下.
有消息就告诉你
作者: 风之幻想    时间: 2006-02-28 18:04
好的.




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2