Introduction
This document describes the steps to format a volume.This is to attempt to recover if there is indication of alarm showing the errors on disk volume.
Prerequisites
VDS-TC 5.x
Requirements
SSH to the VDS-TC management
Configuration
1. Deactivate the specific volume (example: volume 100)
Mg-1:~# su admin
console> show systemid
console> enable
Password: <input from the *systemid>
console# show volumes
<Note the volume 100 are mounted in ce-x>
console# cache volume deactivate
Please enter volume number
100
Deactivating volume 100
Note:
i. While you perform deactivation. Please wait for 5 mins before format it. Application will announce to all member to remove linkage to it.
ii. Pay attention to locate the disk in the right way (/dev/sdxx). Each CE has different mapping.
Please mark down which one by command of this in CE-x:
/opt/pang/bin/fdisk.sh | grep 100
2. Format the volume
ce-x:~# mkfs.xfs –f /dev/sd?2
3rd and 4th Partition
ce-x:~# mkfs.xfs –f –r rtdev=/dev/sd?4,extsize=262144 /dev/sd?3
3. Activate volume 100
Mg-1:~# su admin
console> show systemid
console> enable
Password: <input from the *systemid>
console# show volumes
<Note the volume 100 is not mounted in ce-x>
console# cache volume activate
Please enter volume number
100
Activating volume 100
Verification
After the volume was formatted, the alarm no longer generate the errors on specified disk volume