Replacing a physical disk in the Exadata storage server

Categories: Oracle Database · Storage · Exadata

I’ll quickly show here the procedure for replacing a Physical Disk in predictive failure status in the Storage Cell.

Exadata rack, front view

Check which disk is failed:

CellCLI> LIST PHYSICALDISK
CellCLI> LIST PHYSICALDISK PLMU9V DETAIL
         name:                   8:6
         deviceId:               11
         deviceName:             /dev/sdg
         diskType:               HardDisk
         enclosureDeviceId:      8
         errOtherCount:          0
         luns:                   0_6
         makeModel:              "HGST    H7280A520SUN8.0T"
         physicalFirmware:       P901
         physicalInsertTime:     2016-06-28T16:39:08-03:00
         physicalInterface:      sas
         physicalSerial:         PLMU9V
         physicalSize:           7.153663907200098T
         slotNumber:             6
         status:                 warning - predictive failure

List the LUN to see more details and make sure that is not used for Cell OS:

CellCLI> list lun 0_6 detail
         name:                   0_6
         deviceName:             /dev/sdg
         diskType:               HardDisk
         id:                     0_6
         isSystemLun:            FALSE
         lunSize:                7.152265548706055T
         lunUID:                 0_6
         physicalDrives:         8:6
         raidLevel:              0
         lunWriteCacheMode:      "WriteBack, ReadAheadNone, Direct, No Write Cache if Bad BBU"
         status:                 warning - predictive failure

Check if there is any griddisk that cannot be deactivated. If any griddisk is listed then you cannot proceed before fixing the issues that are preventing the griddisks to become inactive.

CellCLI> list griddisk attributes name, asmdeactivationoutcome

List the disk again before the replacement:

CellCLI>  LIST PHYSICALDISK PLMU9V
         8:6             PLMU9V                  warning - predictive failure

Drop the physical disk for replacement and then inform the Field Engineer onsite that he is ok to proceed with replacing the disk in the storage server:

CellCLI> ALTER PHYSICALDISK 8:6  DROP FOR REPLACEMENT
Physical disk 8:6 was dropped for replacement.
CellCLI>  LIST PHYSICALDISK PLMU9V
         8:6             PLMU9V                  warning - predictive failure - dropped for replacement

Oracle Field Engineer removes the physical disk from the disk slot:

CellCLI> LIST PHYSICALDISK PLMU9V
         8:6             PLMU9V                  not present

The Field Engineer inserts the new disk into the slot and you are not able to see the disk by its previous serial number anymore:

CellCLI> LIST PHYSICALDISK PLMU9V;
CELL-02006: Physical disk does not exist: PLMU9V. Please use 'LIST PHYSICALDISK' to see valid disk names.

You can query using the enclosure and slot numbers which makes the name of the disk:

CellCLI>  LIST PHYSICALDISK 8:6
         8:6     PXG2ZV  normal

Happy disk replacement.

Franky

Comments