Overview
You may encounter an issue on the disk where a "Bad block medium error is detected at a block ..." on one of your Virtual Disks.
Information
Having this error doesn't mean you have to change the disk, it can be fixed. Please create a support ticket and one of our agents will help you. In the ticket, include the error message displayed, containing date, time, error, block number, and virtual disk number.
<supportagent>
To solve this issue, follow the steps below:
- Login to Management Server with SSH
- Change to root privilege with command
su
- Login to pang-cli with
su admin
- Check systemid with command
show systemid
- Enter enable mode with command
enable
and use the systemid as a password, (Without asterisk "*") If using with putty, a shortcut is double-clicking the systemid and then right-click, it will be automatically pasted and you can press enter.
- Deactivate the volume with command
cache volume deactivate
and input volume number and enter (Here, Example volume 2) - Exit from Pang-cli with command
quit
- Remove volume from CMDB with command
/opt/pang/bin/cmdbutils_rt -I lo -e 2
- Check the disk drive label and volume ID with the command
/opt/pang/bin/fdisk.sh
PeerApp,0001,U /dev/sdc1 PeerApp,0002,U /dev/sdd1 PeerApp,0003,U /dev/sde1 PeerApp,0004,U /dev/sdf1 PeerApp,0005,U /dev/sdg1 PeerApp,0006,U /dev/sdh1 PeerSSD,0241,U /dev/vda1
- Format the specified volume which was reported as Bad Block (simple volume 2)
/opt/pang/useful/format_disks.sh -format_one /dev/sdd 2
- Import volume to CMDB with command
/opt/pang/bin/cmdbutils_rt -I lo -b 2
- Enter pang-cli and enable mode again and reactivate the volume with command
cache volume activate
and input volume number and enter - Verify volume with command
show volumes
You may remove/leave the idrac system event log from idrac . If desired to remove the system event log from idrac, follow instructions Here
</supportagent>