Video Screencast Help

how to restore data from a failed disk to a newly replaced disk

Created: 17 Jun 2014 • Updated: 18 Jun 2014 | 4 comments
This issue has been solved. See solution.

I would like to request you to please provide step by step to restore data from a failed disk to a newly replaced disk

Operating Systems:

Comments 4 CommentsJump to latest comment

Gaurav Sangamnerkar's picture

Hi,

You would need to elaborate your scenario .. you have 1 disk failed or multiple disk failed ? This 1 disk is part of mirrored volume or Raid 0 ? If its a Raid 0, chances are unlikely that you can get your data back unless you had a valid backup.

You are looking for help to restore data from volume manager or from any backup which you already have ? If you are looking for a possibility of lost data restore from volume manager you may need to elaborate above, also attach following outputs

# modinfo |grep -i vx

# uname -a

# vxdisk list

# vxdisk -e list

# vxdisk -o alldgs list

# echo | format

# vxprint -ht

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

Gaurav singh's picture

Hi Gaurav, 

I apologize, I am currently not in the position to send the o/p, I have 5 disks 2 is assigned to root as mirrored and 3 are CDS, 1 CDS disk which is failed for which I want to restore the data back state.

Platform is i86

Gaurav Sangamnerkar's picture

As said above, you would need to verify vxprint output & find which volumes had subdisks coming from the failed disk. Also the disk is having a soft failure or a hard failure. You need to verify this from format command. If the disk is failed completely, you need to go for replacement of disk.

If any of volume is/was mirrored, your data is still there & you simply need to add mirror from newly replaced disk. However if any volume was stripe or concat, high chances are there that data is lost considering disk is completely replaced. Once the disk is physically replaced, you need to use vxdiskadm command menu to get the disk added back in diskgroup. Once its added, you need to repair volumes & restore data from backup.

Below technote explains both hard & soft failure cases very well .. have a read

http://www.symantec.com/docs/TECH63781

G

PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
 

SOLUTION
Gaurav singh's picture

Hi Gaurav, 

Many thanks for this help, I got it where I am lacking.