-o alldgs list
DEVICE TYPE DISK GROUP STATUS
........................................................................
ams_wms0_238 auto:cdsdisk - - online
ams_wms0_239 auto - - error
ams_wms0_240 auto - - error
........................................................................
disk_0 auto:none - - online invalid
-i ams_wms0_239
VxVM vxdisksetup ERROR V-5-2-3535 ams_wms0_239: Invalid dmpnodename for disk device ams_wms0_239.
###format输出只能看到c#t#d#s#,可以用vxdisk list ams_wms0_239 来找到对应
关系,也可以用vxdiskadm 命令(选20 将disk名字显示方式改为 c#t#d#s# ).
list ams_wms0_239
Device: ams_wms0_239
devicetag: ams_wms0_239
type: auto
flags: error private autoconfig
pubpaths: block=/dev/vx/dmp/ams_wms0_239 char=/dev/vx/rdmp/ams_wms0_239
guid: -
udid: HITACHI%5FDF600F%5F77010923%5F00EF
site: -
errno: Configuration daemon error -1
Multipathing information:
numpaths: 1
c1t50060E801002AAB0d14s2 state=disabled type=primary
需要用format命令label一下disk.(适用于Solaris平台)
(最初的 2行就是没有label的disk)
Searching for disks...done
c1t50060E801002AAB0d14: configured with capacity of 9.96GB
c1t50060E801002AAB0d15: configured with capacity of 9.96GB
AVAILABLE DISK SELECTIONS:
0. c1t50060E801002AAB0d0
14. c1t50060E801002AAB0d14
15. c1t50060E801002AAB0d15
....................................
28. c2t1d0
Specify disk (enter its number): 14
selecting c1t50060E801002AAB0d14
[disk formatted]
FORMAT MENU:
disk - select a disk
type - select (define) a disk type
partition - select (define) a partition table
current - describe the current disk
format - format and analyze the disk
repair - repair a defective sector
label - write label to the disk
analyze - surface analysis
defect - defect list management
backup - search for backup labels
verify - read and display labels
save - save new disk/partition definitions
inquiry - show vendor, product and revision
volname - set 8-character volume name
! - execute , then return
quit
format> label
Ready to label disk, continue? y
format> verify
Primary label contents:
Volume name = < >
ascii name =
pcyl = 546
ncyl = 544
acyl = 2
nhead = 50
nsect = 768
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 6 131.25MB (7/0/0) 268800
1 swap wu 7 - 13 131.25MB (7/0/0) 268800
2 backup wu 0 - 543 9.96GB (544/0/0) 20889600
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 14 - 543 9.70GB (530/0/0) 20352000
7 unassigned wm 0 0 (0/0/0) 0
format> save
Saving new disk and partition definitions
Enter file name["./format.dat"]:
format> quit
-o alldgs list
DEVICE TYPE DISK GROUP STATUS
........................................................................
ams_wms0_238 auto:cdsdisk - - online
ams_wms0_239 auto:cdsdisk - - error
ams_wms0_240 auto - - error
........................................................................
disk_0 auto:none - - online invalid
-i ams_wms0_239
-o alldgs list
DEVICE TYPE DISK GROUP STATUS
........................................................................
ams_wms0_238 auto:cdsdisk - - online
ams_wms0_239 auto:cdsdisk - - online
ams_wms0_240 auto - - error
........................................................................
disk_0 auto:none - - online invalid
阅读(3020) | 评论(0) | 转发(0) |