Veritas-bu

Re: [Veritas-bu] Verifying Disk Images

2009-06-09 14:27:41
Subject: Re: [Veritas-bu] Verifying Disk Images
From: Ed Wilts <ewilts AT ewilts DOT org>
To: Rusty.Major AT sungard DOT com
Date: Tue, 9 Jun 2009 13:24:30 -0500
On Tue, Jun 9, 2009 at 11:59 AM, <Rusty.Major AT sungard DOT com> wrote:

Is there a way in 6.5.x to verify all the pieces of an image exist on a disk storage unit? The bpverify command looks like it does not have anything to do just this, only to read the entire image.

bpimagelist will list the fragments associated with the backup.  Then look in the file system to see if all the fragments are there.

This gets really tricky with disk staging storage units since a fragment could be there one minute and gone the next - which Murphy's Law correctly states will happen during a restore operation.

Given a backupid, do:

[root@masterserver~]# bpimagelist -backupid foo.bck.mrll.com_1244506415 | grep ^FRAG | awk '{print $2, $9}'
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F1
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F2
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F3
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F4
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F5
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F6
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F7
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F8
1 /apps/netbackup/dssu/foo.bck.mrll.com_1244506415_C1_F9
2 003623

You see all the file names for copy 1, followed by the tape media ID for copy since this image has been destaged to tape.

    .../Ed

Ed Wilts, RHCE, BCFP, BCSD, SCSP, SCSE
ewilts AT ewilts DOT org
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>