免费注册 查看新帖 |

Chinaunix

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

solaris10(X86)+vxvm5.0 不能初始化磁盘? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-08-01 14:01 |只看该作者 |倒序浏览
10可用积分
环境:vmware4.5.2+solaris10 (11/6)+vxvm5.0
问题:foramt显示的磁盘和vxvm下看到的不同导致无法初始化,请各位大侠帮忙分析!
相关信息:
bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0d0 <DEFAULT cyl 4092 alt 2 hd 128 sec 32>
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0
       1. c0d1 <DEFAULT cyl 1021 alt 2 hd 128 sec 32>
          /pci@0,0/pci-ide@7,1/ide@0/cmdk@1,0
       2. c1d1 <DEFAULT cyl 1021 alt 2 hd 64 sec 32>
          /pci@0,0/pci-ide@7,1/ide@1/cmdk@1,0
Specify disk (enter its number):
bash-3.00# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c0t0d0s2     auto:none       -            -            online invalid
c0t1d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
bash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c0t0d1s2
VxVM vxdisksetup ERROR V-5-2-2206 c0t0d1s2: An invalid device address was specified; it must be of
the form cCtTdD, mcCtTdD or <enclosurename>_<diskno> where

    C = host bus adapter controller number
    T = target device controller number, if used
    D = logical unit (disk) number within target device controller

    <enclosurename> is the logical name of the enclosure to which the
                    disk belongs
    <diskno> is the logical number of the disk
bash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c0t1d0s2
VxVM vxdisksetup ERROR V-5-2-2206 c0t1d0s2: An invalid device address was specified; it must be of
the form cCtTdD, mcCtTdD or <enclosurename>_<diskno> where

    C = host bus adapter controller number
    T = target device controller number, if used
    D = logical unit (disk) number within target device controller

    <enclosurename> is the logical name of the enclosure to which the
                    disk belongs
    <diskno> is the logical number of the disk
bash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c0t1d0  
VxVM vxdisksetup ERROR V-5-2-1814 c0t1d0: Invalid disk device for 'cdsdisk' format
bash-3.00# /usr/lib/vxvm/bin/vxdisksetup -i c0d0s2
VxVM vxdisksetup ERROR V-5-2-2206 c0d0s2: An invalid device address was specified; it must be of
the form cCtTdD, mcCtTdD or <enclosurename>_<diskno> where

    C = host bus adapter controller number
    T = target device controller number, if used
    D = logical unit (disk) number within target device controller

    <enclosurename> is the logical name of the enclosure to which the
                    disk belongs
    <diskno> is the logical number of the disk


bash-3.00# vxdiskadm

Volume Manager Support Operations
Menu: VolumeManager/Disk

1      Add or initialize one or more disks
2      Encapsulate one or more disks
3      Remove a disk
4      Remove a disk for replacement
5      Replace a failed or removed disk
6      Mirror volumes on a disk
7      Move volumes from a disk
8      Enable access to (import) a disk group
9      Remove access to (deport) a disk group
10     Enable (online) a disk device
11     Disable (offline) a disk device
12     Mark a disk as a spare for a disk group
13     Turn off the spare flag on a disk
14     Unrelocate subdisks back to a disk
15     Exclude a disk from hot-relocation use
16     Make a disk available for hot-relocation use
17     Prevent multipathing/Suppress devices from VxVM's view
18     Allow multipathing/Unsuppress devices from VxVM's view
19     List currently suppressed/non-multipathed devices
20     Change the disk naming scheme
21     Get the newly connected/zoned disks in VxVM view
22     Change/Display the default disk layouts
23     Mark a disk as allocator-reserved for a disk group
24     Turn off the allocator-reserved flag on a disk
list   List disk information


?      Display help about menu
??     Display help about the menuing system
q      Exit from menus

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 or pattern may be entered at the prompt.  Here are
  some disk selection examples:

  all:          all disks
  c3 c4t2:      all disks on both controller 3 and controller 4, target 2
  c3t4d2:       a single disk (in the c#t#d# naming scheme)
  xyz_0 :       a single disk (in the enclosure based naming scheme)
  xyz_ :        all disks on the enclosure whose name is xyz

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

DEVICE       DISK         GROUP        STATUS
c0t0d0       -            -            online invalid
c0t1d0       -            -            online invalid
c1t1d0       -            -            online invalid

Select disk devices to add: [<pattern-list>,all,list,q,?] c0t1d0
  Here is the disk selected.  Output format: [Device_Name]

  c0t1d0

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

Create a new group named datadg? [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 datadg? [y,n,q,?] (default: n)

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

Add site tag to disk? [y,n,q,?] (default: n)
  A new disk group will be created named datadg and the selected disks
  will be added to the disk group with default disk names.

  c0t1d0

Continue with operation? [y,n,q,?] (default: y)
  This disk device does not appear to be valid.  The disk may not be
  formatted (format(1M)), may have a corrupted VTOC, the device file
  for the disk may be missing or invalid, or the device may be turned-off
  or detached from the system.  This disk will be ignored.
  Output format: [Device_Name,Disk_Access_Name]

  [c0t1d0,c0t1d0s2]

Hit RETURN to continue.

Add or initialize other disks? [y,n,q,?] (default: n)

Volume Manager Support Operations
Menu: VolumeManager/Disk

1      Add or initialize one or more disks
2      Encapsulate one or more disks
3      Remove a disk
4      Remove a disk for replacement
5      Replace a failed or removed disk
6      Mirror volumes on a disk
7      Move volumes from a disk
8      Enable access to (import) a disk group
9      Remove access to (deport) a disk group
10     Enable (online) a disk device
11     Disable (offline) a disk device
12     Mark a disk as a spare for a disk group
13     Turn off the spare flag on a disk
14     Unrelocate subdisks back to a disk
15     Exclude a disk from hot-relocation use
16     Make a disk available for hot-relocation use
17     Prevent multipathing/Suppress devices from VxVM's view
18     Allow multipathing/Unsuppress devices from VxVM's view
19     List currently suppressed/non-multipathed devices
20     Change the disk naming scheme
21     Get the newly connected/zoned disks in VxVM view
22     Change/Display the default disk layouts
23     Mark a disk as allocator-reserved for a disk group
24     Turn off the allocator-reserved flag on a disk
list   List disk information


?      Display help about menu
??     Display help about the menuing system
q      Exit from menus

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 or pattern may be entered at the prompt.  Here are
  some disk selection examples:

  all:          all disks
  c3 c4t2:      all disks on both controller 3 and controller 4, target 2
  c3t4d2:       a single disk (in the c#t#d# naming scheme)
  xyz_0 :       a single disk (in the enclosure based naming scheme)
  xyz_ :        all disks on the enclosure whose name is xyz

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

DEVICE       DISK         GROUP        STATUS
c0t0d0       -            -            online invalid
c0t1d0       -            -            online invalid
c1t1d0       -            -            online invalid

Select disk devices to add: [<pattern-list>,all,list,q,?] c0t1d0
  Here is the disk selected.  Output format: [Device_Name]

  c0t1d0

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

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

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

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

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

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

Add site tag to disk? [y,n,q,?] (default: n)
  A new disk group will be created named datadg and the selected disks
  will be added to the disk group with default disk names.

  c0t1d0

Continue with operation? [y,n,q,?] (default: y)
  This disk device does not appear to be valid.  The disk may not be
  formatted (format(1M)), may have a corrupted VTOC, the device file
  for the disk may be missing or invalid, or the device may be turned-off
  or detached from the system.  This disk will be ignored.
  Output format: [Device_Name,Disk_Access_Name]

  [c0t1d0,c0t1d0s2]

Hit RETURN to continue.

Add or initialize other disks? [y,n,q,?] (default: n)

Volume Manager Support Operations
Menu: VolumeManager/Disk

1      Add or initialize one or more disks
2      Encapsulate one or more disks
3      Remove a disk
4      Remove a disk for replacement
5      Replace a failed or removed disk
6      Mirror volumes on a disk
7      Move volumes from a disk
8      Enable access to (import) a disk group
9      Remove access to (deport) a disk group
10     Enable (online) a disk device
11     Disable (offline) a disk device
12     Mark a disk as a spare for a disk group
13     Turn off the spare flag on a disk
14     Unrelocate subdisks back to a disk
15     Exclude a disk from hot-relocation use
16     Make a disk available for hot-relocation use
17     Prevent multipathing/Suppress devices from VxVM's view
18     Allow multipathing/Unsuppress devices from VxVM's view
19     List currently suppressed/non-multipathed devices
20     Change the disk naming scheme
21     Get the newly connected/zoned disks in VxVM view
22     Change/Display the default disk layouts
23     Mark a disk as allocator-reserved for a disk group
24     Turn off the allocator-reserved flag on a disk
list   List disk information


?      Display help about menu
??     Display help about the menuing system
q      Exit from menus

Select an operation to perform:
  VxVM  ERROR V-5-2-302 Selection not recognized, enter ?? for help

Select an operation to perform: q


liences 没有问题,做过vxinstall !

大家帮我看看问题怎么解决?

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP