1、vxvm做卷login: rootPassword: Last login: Tue Aug 30 11:41:57 on consoleOracle Corporation SunOS 5.10 Generic Patch January 2005# bashbash-3.00# devfsadm bash-3.00# format Searching for disks.doneAVAILABLE DISK SELECTIONS: 0. c1t0d0 /pci0,0/pci15ad,197610/sd0,0 1. c1t1d0 /pci0,0/pci15ad,197610/sd1,0 2.
2、 c1t2d0 /pci0,0/pci15ad,197610/sd2,0 3. c1t3d0 /pci0,0/pci15ad,197610/sd3,0 4. c1t4d0 /pci0,0/pci15ad,197610/sd4,0 5. c1t5d0 /pci0,0/pci15ad,197610/sd5,0 6. c1t6d0 /pci0,0/pci15ad,197610/sd6,0Specify disk (enter its number): Cbash-3.00# vxdisk listDEVICE TYPE DISK GROUP STATUSdisk_1 auto:sliced data
3、dg01 datadg onlinedisk_8 auto:none - - online invaliddisk_9 auto:none - - online invaliddisk_10 auto:none - - online invaliddisk_11 auto:none - - online invaliddisk_12 auto:none - - online invaliddisk_13 auto:none - - online invalidbash-3.00# vxdiskadmVolume Manager Support OperationsMenu: VolumeMan
4、ager/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 1
5、0 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/S
6、uppress devices from VxVMs view 18 Allow multipathing/Unsuppress devices from VxVMs 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 list List disk information ? D
7、isplay help about menu ? Display help about the menuing system q Exit from menusSelect an operation to perform: 1Add or initialize disksMenu: 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
8、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 avail
9、able 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 en
10、closure based naming scheme) xyz_ : all disks on the enclosure whose name is xyzSelect disk devices to add: ,all,list,q,? listDEVICE DISK GROUP STATUSdisk_1 datadg01 datadg onlinedisk_8 - - online invaliddisk_9 - - online invaliddisk_10 - - online invaliddisk_11 - - online invaliddisk_12 - - online
11、invaliddisk_13 - - online invalidSelect disk devices to add: ,all,list,q,? disk_8 Here is the disk selected. Output format: Device_Name disk_8Continue 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 f
12、uture 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 ,none,list,q,? (default: none) list NAME STATE IDdatadg enabled 1314675566.11.zpsongWhich
13、disk group ,none,list,q,? (default: none) datadgUse 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) The selected disks will be added
14、to the disk group datadg with default disk names. disk_8Continue with operation? y,n,q,? (default: y) Initializing device disk_8. When selecting the format for the disk, keep in mind that a CDS disk cannot contain a subdisk for a root or swap volume, so it cannot be used for mirroring, evacuating, o
15、r sparing the boot disk.Enter the desired formatcdsdisk,sliced,simple,q,? (default: cdsdisk) Enter desired private region length,q,? (default: 65536) VxVM NOTICE V-5-2-88Adding disk device disk_8 to disk group datadg with disk name datadg02.Add or initialize other disks? y,n,q,? (default: n) Volume
16、Manager Support OperationsMenu: 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
17、 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
18、-relocation use 17 Prevent multipathing/Suppress devices from VxVMs view 18 Allow multipathing/Unsuppress devices from VxVMs 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 di
19、sk layouts list List disk information ? Display help about menu ? Display help about the menuing system q Exit from menusSelect an operation to perform: qGoodbye.bash-3.00# listbash: list: command not foundbash-3.00# vxdisk listDEVICE TYPE DISK GROUP STATUSdisk_1 auto:sliced datadg01 datadg onlinedi
20、sk_8 auto:cdsdisk datadg02 datadg onlinedisk_9 auto:none - - online invaliddisk_10 auto:none - - online invaliddisk_11 auto:none - - online invaliddisk_12 auto:none - - online invaliddisk_13 auto:none - - online invalidbash-3.00# vxdiskadmVolume Manager Support OperationsMenu: VolumeManager/Disk 1 A
21、dd 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 (onl
22、ine) 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 devic
23、es from VxVMs view 18 Allow multipathing/Unsuppress devices from VxVMs 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 list List disk information ? Display help a
24、bout menu ? Display help about the menuing system q Exit from menusSelect an operation to perform: 1Add or initialize disksMenu: 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 th
25、at 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
26、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
27、 naming scheme) xyz_ : all disks on the enclosure whose name is xyzSelect disk devices to add: ,all,list,q,? listDEVICE DISK GROUP STATUSdisk_1 datadg01 datadg onlinedisk_8 datadg02 datadg onlinedisk_9 - - online invaliddisk_10 - - online invaliddisk_11 - - online invaliddisk_12 - - online invaliddi
28、sk_13 - - online invalidSelect disk devices to add: ,all,list,q,? disk_9 Here is the disk selected. Output format: Device_Name disk_9Continue 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
29、 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 ,none,list,q,? (default: none) datadgUse a default disk name for the disk? y,n,q,? (default: y) Add
30、 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) The selected disks will be added to the disk group datadg with default disk names. disk_9Continue with operation? y,n,q,? (default: y) Initializing device disk_9. When selecting the format for the disk
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1