I need a solution
Hello all,
i would like to replace my failed disk via the vxdiskadm utility
EMMDPD04:/# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c0t0d0s2 auto:sliced rootdisk rootdg online
c0t1d0s2 auto:sliced rootmirror rootdg online
c0t2d0s2 auto - - error
c0t3d0s2 auto:none - - online invalid
emcpower0s2 auto:sliced bgw1dgemcpower0 bgw1dg online shared
emcpower1s2 auto:sliced ora1dgemcpower7 ora1dg online shared
emcpower2s2 auto:sliced fmm1dgemcpower6 fmm1dg online shared
emcpower3s2 auto:sliced bgw1dgemcpower1 bgw1dg online shared
emcpower4s2 auto:cdsdisk - - online
emcpower5s2 auto:cdsdisk - - online
emcpower6s2 auto:sliced lic1dgemcpower5 lic1dg online shared
emcpower7s2 auto:cdsdisk - - online
emcpower8s2 auto:sliced bgw1dgemcpower8 bgw1dg online shared
emcpower9s2 auto:sliced bgw1dgemcpower9 bgw1dg online shared
emcpower10s2 auto:sliced bgw1dgemcpower10 bgw1dg online shared
emcpower11s2 auto:sliced bgw1dgemcpower11 bgw1dg online shared
emcpower12s2 auto:sliced bgw1dgemcpower12 bgw1dg online shared
emcpower13s2 auto:sliced bgw1dgemcpower13 bgw1dg online shared
emcpower14s2 auto:sliced bgw1dgemcpower14 bgw1dg online shared
emcpower15s2 auto:sliced bgw1dgemcpower15 bgw1dg online shared
EMMDPD04:/#
EMMDPD04:/#
EMMDPD04:/#
EMMDPD04:/# 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: 4
Remove a disk for replacement
Menu: VolumeManager/Disk/RemoveForReplace
Use this menu operation to remove a physical disk from a disk
group, while retaining the disk name. This changes the state
for the disk name to a "removed" disk. If there are any
initialized disks that are not part of a disk group, you will be
given the option of using one of these disks as a replacement.
Enter disk name [<disk>,list,q,?] list
Disk group: rootdg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm rootdisk c0t0d0s2 auto 80321 583834230 -
dm rootmirror c0t1d0s2 auto 80321 583850295 -
Disk group: bgw1dg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm bgw1dgemcpower0 emcpower0s2 auto 96130 1312574752 -
dm bgw1dgemcpower1 emcpower3s2 auto 96130 1310486288 -
dm bgw1dgemcpower8 emcpower8s2 auto 96130 1576844000 -
dm bgw1dgemcpower9 emcpower9s2 auto 96130 1576844000 -
dm bgw1dgemcpower10 emcpower10s2 auto 96130 1576844000 -
dm bgw1dgemcpower11 emcpower11s2 auto 96130 1576844000 -
dm bgw1dgemcpower12 emcpower12s2 auto 96130 1314695328 -
dm bgw1dgemcpower13 emcpower13s2 auto 96130 1293746560 -
dm bgw1dgemcpower14 emcpower14s2 auto 96130 1576844000 -
dm bgw1dgemcpower15 emcpower15s2 auto 96130 1576844000 -
Disk group: fmm1dg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm fmm1dgemcpower6 emcpower2s2 auto 80065 104711648 -
Disk group: lic1dg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm lic1dgemcpower5 emcpower6s2 auto 67324 2019328 -
Disk group: ora1dg
DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm ora1dgemcpower7 emcpower1s2 auto 80065 419280416 -
Enter disk name [<disk>,list,q,?] c0t2d0s2
VxVM ERROR V-5-2-400
There is no disk named c0t2d0s2 in any disk group configuration.
To get a list of disks enter "list".
Enter disk name [<disk>,list,q,?] q
Is this the proper way or is there any other way to replace my spare disk?