- 论坛徽章:
- 0
|
root@v890-1 # 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
Hit RETURN to continue.
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
list List disk information
? Display help about menu
?? Display help about the menuing system
q Exit from menus
Select an operation to perform: 5
Replace a failed or removed disk
Menu: VolumeManager/Disk/ReplaceDisk
Use this menu operation to specify a replacement disk for a disk
that you removed with the "Remove a disk for replacement" menu
operation, or that failed during use. You will be prompted for
a disk name to replace and a disk device to use as a replacement.
You can choose an uninitialized disk, in which case the disk will
be initialized, or you can choose a disk that you have already
initialized using the Add or initialize a disk menu operation.
Select a removed or failed disk [<disk>,list,q,?] disk
There is no disk named disk in any disk group configuration.
To get a list of disks enter "list".
Select a removed or failed disk [<disk>,list,q,?] list
Disk group: rootdg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
Disk group: backupdg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm disk13 - - - - REMOVED
Disk group: vip890
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
Select a removed or failed disk [<disk>,list,q,?] disk13
Select disk device to initialize [<address>,list,q,?] c1t13d0
The following disk device has a valid VTOC, but does not appear to have
been initialized for the Volume Manager. If there is data on the disk
that should NOT be destroyed you should encapsulate the existing disk
partitions as volumes instead of adding the disk as a new disk.
Output format: [Device_Name]
c1t13d0
Encapsulate this device? [y,n,q,?] (default: y) n
c1t13d0
Instead of encapsulating, initialize? [y,n,q,?] (default: n) y
The requested operation is to initialize disk device c1t13d0 and
to then use that device to replace the removed or failed disk
disk13 in disk group backupdg.
Continue with operation? [y,n,q,?] (default: y)
Initialization of disk device c1t13d0 failed.
Error: vxvm:vxdisk: ERROR: Device c1t13d0s2: online failed:
Device path not valid
Replace a different disk? [y,n,q,?] (default: n)
Volume Manager Support Operations
Menu: VolumeManager/Disk
root@v890-1 # vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 sliced rootdisk rootdg online
c1t1d0s2 sliced rootmirror rootdg online
c1t2d0s2 sliced disk02 backupdg online
c1t3d0s2 sliced disk03 backupdg online
c1t4d0s2 sliced disk04 backupdg online
c1t5d0s2 sliced disk05 backupdg online
c1t8d0s2 sliced disk08 backupdg online
c1t9d0s2 sliced disk09 backupdg online
c1t10d0s2 sliced disk10 backupdg online
c1t11d0s2 sliced disk11 backupdg online
c1t12d0s2 sliced disk12 backupdg online
c1t13d0s2 sliced - - error
c1t13d0s2 sliced - - error
- - disk13 backupdg removed was:c1t13d0s2
结果是一样的,初始化磁盘时,报Device path not valid. |
|