Professional Documents
Culture Documents
Page 1
/* it will show you the failed disk in a long listing disk details ,
find the log below */
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c1t0d0s2 auto: none - - online invalid
c1t1d0s2 auto:none - - online invalid
c2t8d0s2 auto:sliced rootdiskc2t8 rootdg online
c2t9d0s2 auto - - error
c2t10d0s2 auto:sliced c2t10d0 scdg online
c2t11d0s2 auto:sliced c2t11d0 scdg online
c2t12d0s2 auto:sliced c2t12d0 scdg online
c2t13d0s2 auto:sliced - - online
c3t8d0s2 auto:sliced rootmirrorc3t8 rootdg online
c3t9d0s2 auto:sliced c3t9d0 scdg online
c3t10d0s2 auto:sliced c3t10d0 scdg online
c3t11d0s2 auto:sliced c3t11d0 scdg online
c3t12d0s2 auto:sliced c3t12d0 scdg online
c3t13d0s2 auto:sliced - - online
- - c2t9d0 scdg failed was:c2t9d0s2
2) #echo | format
#echo | format
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000000871d69d0,0
1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000000871d1f69,0
2. c2t8d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/pci@1/scsi@4/sd@8,0
3. c2t9d0 <drive not available>
4. c2t10d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/pci@1/scsi@4/sd@a,0 5. c2t11d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
/pci@8,600000/pci@1/scsi@4/sd@b,0
Page 2
3) # vxdiskadm
# 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
Enterprise Services ,Wipro Infotech .
Page 4
Page 5
/* For that solution we need the disable the same failed device from VXVM services.
Please find below mentioned steps for disable the failed device from VXVM */
6) vxdiskadm
/* it will showing so many options , chose 11th option in that list for
disable the selected disk */
Page 6
Page 7
Page 8
/* it will blink the particular disk , same you can check the 4th and 2nd disk of the storage and it
will helps you to identify the failed disk 3 easily which is in between 2 and 4 */
After replacing the disk----
# 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
Enterprise Services ,Wipro Infotech .
Page 9
Page 10
Page 11
/* run the vxdiskamd command to use the 5th option for replaced
the hardisk option to start the syn with its sub-disk/mirrored part */
bash-2.05# vxdiskadm
Voleme Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
2 Encapsulate one or more disks
Enterprise Services ,Wipro Infotech .
Page 12
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: 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.
Enterprise Services ,Wipro Infotech .
Page 13
Page 14
Page 15