This post is more than 5 years old
1 Rookie
•
82 Posts
0
1588
March 9th, 2010 00:00
EMC BCV timestamp
Hi -I have a BCV cron job which will run for every 24hrs and some how my job got hunged.
and now am not sure when the last bcv backup was happened. Hence we have any option
on EMC to find out the timestamp when my last backup was done on BCV dev's?
No Events found!


rawstorage
4 Apprentice
•
423 Posts
0
March 9th, 2010 03:00
exactly. That's what I meant to say but I was rushing to a meeting.
rawstorage
4 Apprentice
•
423 Posts
0
March 9th, 2010 02:00
Remove the word clone
rawstorage
4 Apprentice
•
423 Posts
0
March 9th, 2010 02:00
You can check this on the symdev show output for any of the source or target devices
State of Session (SRC ====> TGT) : Copied
Percent Copied : 100%
Time of Last Clone Action : Fri Feb 26 15:56:45 2010
Clone State Flags : (Copy) (Diff)
If this is this is BCV you sill see similar output; You probably should ensure that all devices in your group have the same timestamp.
If you are on Unix host this script will quickly show it.
for i in `symdg show clone | grep TGT |awk '{print $3}'`; do symdev show $i | grep "Time of Last"; done
It's very crude but it will work. You'll get 4 duff lines at the start but they can be ignored. Just modify this for BCV rather than TGT.
Hope this helps
tk_venu
1 Rookie
•
82 Posts
0
March 9th, 2010 02:00
trying to check the o/p first but i it looks like i don't have below command.
#symdg show data-dg clone
Usage:
symdg [-h]
[-type REGULAR | RDF1 | RDF2 ] create DgName
[-delete] [[-rdf [-RDFG GrpNum]] | [-sid SymmID]] [-f FileName]
export DgName
[-f FileName] import DgName
[-f FileName]
[-ftype STD | R1BCV | STD_BCV | STD_R1BCV | STD_VDEV | BCV_VDEV]
dg2file DgName
[-f FileName] [-type REGULAR | RDF1 | RDF2 ] file2dg DgName
[-bcv | -nobcv] [-force] dg2cg DgName CgName
[-force] delete DgName
[-v] [-offline] [-sid SymmID] list
rename DgName NewDgName
[-offline | -lock] show DgName
[-force] [-lock #] [-noprompt] release DgName
Invalid number of arguments.
rawstorage
4 Apprentice
•
423 Posts
0
March 9th, 2010 03:00
Duplicate post deleting.
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
March 9th, 2010 03:00
for i in `symmir -g query | grep BCV0 |awk '{print $5}'`
do
echo "Time stamp for device $i"
symdev show -sid 123 $i | grep "Time of Last"
done
tk_venu
1 Rookie
•
82 Posts
0
March 9th, 2010 03:00
however, do we have any option to check the timestamp overall by using BCV DG, since i have 20+disks involved in each DG.
accordingly to you o/p, i can't run the command multiple time on 20+ disks..
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
March 9th, 2010 03:00
symdev show -sid 123 0BAD
tk_venu
1 Rookie
•
82 Posts
0
March 9th, 2010 04:00
Excellent! thanks to Paul Martin & dynamox