thanks. how does direct access restore get figure into this issue?
There are two possibilities with DAR. 1) Via your GUI, you choose not to restore ACLs. (maybe it's easier just to set an ACL or two by hand)
In this case, we would seek to the points on the tape where your files are. At each spot it will pull off the file's data and write it to the file.
2) You choose to restore ACLs (or the GUI doesn't give you a choice)
In this case, we would seek to the points on the tape where your files are. At each spot, etc, etc, etc.
Then, when all the files are yanked off, we'd seek (not read) to the end of the backup. Then, we'd restore the ACLs.
This is the same in every DAR release.
Stephen Manley DAM and NDMP "Timmy!"
Stephen Manley wrote:
hi,
we got legato to do a backup and now we are trying a restore. i deleted a directory from the filer and selected it for restore.
we are ontap 5.36r2, so no direct access restore.
watching the filer from an nt machine, we immediately saw the file names come back, with 0 bytes and no attributes. much later the file sizes came back and the attributes, but legato keeps reading the tape and every 5 minutes we see the "we have read so many bytes" messages.
i would think once the files are back the restore would complete, will it go to the end of the tape?
Until 5.3.7, the restore process would go to the end of the tape -- looking for ACLs, even if there were none to restore.
In 5.3.7 and beyond, if there are no ACLs to be restored, then it realizes that it is done and stops. If there are ACLs to restore on the files you selected, it will still read the whole backup.
In 6.1 and beyond, the ACLs are also at the beginning of the tape, so you won't need to go to the end of the tape at all (unless that's where your file happens to be).
As you noted - the way restore works, we create the empty files first, then fill them in with data/perms as we run through the tape.
Stephen Manley DAM and NDMP former member of Destiny's Child
--
regards
+++++++++++++++++++++++++++++++++++++++++++++++++
- Neil Lehrer
- United States International Broadcasting Bureau
- System Development Division
- voice 202 619-2524
- fax 202 619-3576
- nlehrer@ibb.gov
- " is this crisis an opportunity or just
- another grab the fire extinguisher moment?"
+++++++++++++++++++++++++++++++++++++++++++++++++