Unsolved
1 Rookie
•
63 Posts
0
1373
How can I get tape list from save set particular
Hello All;
After I ran 2 command lines :
# mminfo -r "name,nsavetime" -c vlsstage
/u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5 1309763350
# nsrinfo -t 1309763350 vlsstage
-bash-4.1# grep /u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5/65/ /tmp/tom_1309763350.txt
/u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5/65/=+K+Reddy/store.idx
/u51/var/opt/SUNWmsgsr/store/partition/primary/=user/b5/65/=+K+Reddy/35/
......
How can I get tape list from that output (1309763350)? Thank you.
AaronK
2 Posts
0
April 8th, 2022 09:00
Hello To_Ng
The nsrinfo command is querying the client file index specifically so you won't get tape or volume information from that output itself. The client file index has a list of the file names and directory names. The files/directories that were in the same back up have the same savetime (YY-MM-DD type format) or nsavetime (unix time stamp) so the nsrinfo form of that command is listing all the files/directories in that save set.
You can however add a report column to the mminfo command to see the tape or volume information there - such as:
# mminfo -r "volume,name,nsavetime" -c vlsstage
and then it will list the volume/tape names the save sets are located on.