1 2 Previous Next 16 Replies Latest reply: Jun 26, 2009 11:59 AM by Dcooksey-Oracle RSS

    can't read location sbt0(DELETED) - UUID not found

    71362
      I am testing OSB 10.2 on Windows 2003 and trying to backup/restore the c:\temp directory

      I successfuly made the backup, but I cannot restore it.
      I got the following error when restoring
      sb> restore tohost DCX-001-MMM privileged priority 100 replaceexisting --keepinuse "C:/temp/"
      can't read location sbt0(DELETED) - UUID not found
      volume VOL000005 not found for recovery - UUID not found

      I try listing backup on the volume but have the same issue
      ob> lsvol -v VOL000005
      VOID OOID Seq Volume ID Barcode Family Created Attributes
      104 104 1 VOL000005 04/11.11:43 never closes

      ob> lssec --vid VOL000005
      Error: can't read location sbt0(DELETED) - UUID not found
      Warning: can't find best volume. - UUID not found
      Warning: can't read volume record for OID 104 - UUID not found

      Any one can help please?
      Thank you
        • 1. Re: can't read location sbt0(DELETED) - UUID not found
          rdoogan
          Can you post the output to the following please?

          ob> lsvol -v VOL000005 -l

          ob> lsdev

          ob> lsloc -l


          Thanks!
          • 2. Re: can't read location sbt0(DELETED) - UUID not found
            71362
            ob> lsvol -v VOL000005 -l
            Volume OID: 104
            Volume ID: VOL000005
            Volume sequence: 1
            Label host: DCX-001-MMM
            Created: 2008/04/11.11:43
            Closes: never
            Expires: never
            Space remaining: 0
            Original OID: 104

            ob> lsdev
            drive obt0 in service

            ob> lsdev -l
            obt0:
            Device type: tape
            Model: [none]
            Serial number: [none]
            In service: yes
            Automount: yes
            Error rate: 8
            Query frequency: [undetermined]
            Debug mode: yes
            Blocking factor: (default)
            Max blocking factor: (default)
            UUID: 3aec481b-4d6f-4219-81eb-82e59f3b9694
            Attachment 1:
            Host: DCX-001-MMM
            Raw device: //./obt0
            ST lun: 0

            ob> lsdev -m
            drive obt0 in service write obtar VOL000005

            ob> lsloc -l
            Media_Recycle_Bin:
            Comment: OSB-generated location
            Recalltime: disabled
            UUID: d6038cbe-e1b6-47bb-a3df-6914f1d36363

            Thanks for your help
            • 3. Re: can't read location sbt0(DELETED) - UUID not found
              438407
              With the information provided here it looks as though this backup was done to a device named sbt0 which has since been removed and replaced with obt0. The volume information in the catalog is retained if a device is removed which is why the volume details still exist. This looks like a standalone tape from the lsdev output so if the tape is still intact you can perform a raw restore to get this data back. The "sbt0(DELETED)" is the indicator that the device and location have been removed since the backup was completed.

              Just to confirm that the assumption above is correct please post the transcript associated with this backup job ie catxcr -fl0 job_id
              Also please post the directory listing for the following: C:\Program Files\Oracle\Backup\Admin\Location\ or the admin\location listing if your installation path differs.
              • 4. Re: can't read location sbt0(DELETED) - UUID not found
                438407
                Correction: C:\Program Files\Oracle\Backup\admin\config\location\ or the OSB_HOME\admin\config\location if your installation path differs
                • 5. Re: can't read location sbt0(DELETED) - UUID not found
                  71362
                  You are right the backup was done on the device sbt0 which has been renamed to obt0 (same device). I don’t understand why the volume cannot be restored; it is the same tape device, but renamed. Does it mean that you must absolutely restore a volume (catalog based restore) in the same device where it was backed up, assuming the tape drive supports the backup tape format?
                  • 6. Re: can't read location sbt0(DELETED) - UUID not found
                    438407
                    A rename of device does not cause the (DELETED) tag to occur. A removal of the device and recreation of the device with a new name would cause the (DELETED) tag. If the device had simply been renamed that is handled and you will not run into this issue.

                    The volume can be restored but from OSB's perspective the sections on these tapes all point to a now non-existent device object and corresponding location. You would have to re-index this tape to update the catalogs as to the new location of the volumes and associated sections/pieces. Another option is to do a raw restore of this volume specifying the volume information to be used for the restore.
                    • 7. Re: can't read location sbt0(DELETED) - UUID not found
                      71362
                      Ok thanks for your answer, it is clear.

                      An image has been restored on the system and I re-installed OSB.
                      I am still running into the same issue.
                      I named the tape drive "tape1"

                      It may be related to the installation, I had the following issues during the installation:
                      1. Before the installation, I disabled the tape drive driver as per the installation instructions.
                      When running the OSB windows installer, at the "SCSI Devices" window (installation guide - chapter 3 - step 15)
                      the tape device was displayed, but I was unable to select it (check the box).
                      I had to enable the tape drive driver, then I was been able to check the box.
                      The OSB name had been assigned to //./obt0 and installation finish normally.
                      The deriver details in device manager points to C:\WINDOWS\system32\drivers\ob.sys
                      Is that ok?

                      2. When configuring the tape device attachement where do I get the value for the "ST lun" field?
                      I used the value from the windows registry for the scsi respective to the tape device (Logical Unit Id 0)
                      or should I leave it empty?

                      Here is the info you requested.

                      The C:\Program Files\Oracle\Backup\admin\config\location\ contains two files:
                      ~media_~recycle_~bin
                      tape1(~d~e~l~e~t~e~d)
                      The d~e~l~e~t~e looks bad, but everyting seems fine in the web tool.

                      ob> lsdev -l
                      tape1:
                      Device type: tape
                      Model: [none]
                      Serial number: [none]
                      In service: yes
                      Automount: yes
                      Error rate: 8
                      Query frequency: [undetermined]
                      Debug mode: yes
                      Blocking factor: (default)
                      Max blocking factor: (default)
                      UUID: 42da7aeb-b944-4342-9440-4afbb4b3e09f
                      Attachment 1:
                      Host: DCX-001-MMM
                      Raw device: //./obt0
                      ST Lun: 0

                      ob> lsdev -m
                      drive tape1 in service write obtar VOL000001

                      ob> lsvol -lv VOL000001
                      Volume OID: 101
                      Volume ID: VOL000001
                      Volume sequence: 1
                      Label host: DCX-001-MMM
                      Created: 2008/04/14.18:09
                      Closes: never
                      Expires: never
                      Space remaining: 0
                      Original OID: 101

                      ob> lssec -v VOL000001
                      Error: can't read location tape1(DELETED) - UUID not found
                      Warning: can't find best volume. - UUID not found
                      Warning: can't read volume record for OID 101 - UUID not found

                      ob> catxcr -fl0 admin/5
                      admin/5.1: 2008/04/14.18:09:09 _________________________________________________
                      _____________________
                      admin/5.1: 2008/04/14.18:09:09
                      admin/5.1: 2008/04/14.18:09:09 Transcript for job admin/5.1 running on D
                      CX-001-MMM
                      admin/5.1: 2008/04/14.18:09:09
                      admin/5.1: 2008/04/14.18:09:09 Info: mount data verified.
                      admin/5.1: 2008/04/14.18:09:09 Info: volume in tape1 is usable for this operatio
                      n.
                      admin/5.1: 2008/04/14.18:09:09 It must be overwritten at BOT.
                      admin/5.1: 2008/04/14.18:09:09 (pvfw) at BOT
                      admin/5.1: 2008/04/14.18:09:09 (pvfw) mounted ok
                      admin/5.1: 2008/04/14.18:09:09 (pvfw) pos_vol_cleanup not returning pstate
                      admin/5.1: 2008/04/14.18:09:09 (dmap) tape1 success
                      admin/5.1: Backup started on Mon Apr 14 2008 at 18:09:09
                      admin/5.1: Volume label:
                      admin/5.1: Volume UUID: 927894e6-8c40-4026-98da-58b4862a5e7b
                      admin/5.1: Volume ID: VOL000001
                      admin/5.1: Volume sequence: 1
                      admin/5.1: Volume set owner: SYSTEM
                      admin/5.1: Volume set created: Mon Apr 14 18:09:09 2008
                      admin/5.1: Original UUID: 927894e6-8c40-4026-98da-58b4862a5e7b
                      admin/5.1:
                      admin/5.1: Archive label:
                      admin/5.1: File number: 1
                      admin/5.1: File section: 1
                      admin/5.1: Owner: SYSTEM
                      admin/5.1: Client host: DCX-001-MMM
                      admin/5.1: Backup level: 0
                      admin/5.1: S/w compression: no
                      admin/5.1: Archive created: Mon Apr 14 18:09:09 2008
                      admin/5.1: Encryption: off
                      admin/5.1:
                      admin/5.1:
                      admin/5.1: Dumping all files in C:/temp
                      admin/5.1:
                      admin/5.1: Backup complete on Mon Apr 14 2008 at 18:09:24
                      admin/5.1:
                      admin/5.1: Backup statistics:
                      admin/5.1: status 0
                      admin/5.1: devices tape1
                      admin/5.1: devices 1
                      admin/5.1: volumes VOL000001
                      admin/5.1: voltags (null)
                      admin/5.1: file 1
                      admin/5.1: host DCX-001-MMM
                      admin/5.1: encryption off
                      admin/5.1: start_time Mon Apr 14 2008 at 18:09:09 (1208210949)
                      admin/5.1: end_time Mon Apr 14 2008 at 18:09:24 (1208210964)
                      admin/5.1: backup_time Mon Apr 14 2008 at 18:09:09 (1208210949)
                      admin/5.1: entries_scanned 2
                      admin/5.1: kbytes_scanned 0
                      admin/5.1: entries_excluded 0
                      admin/5.1: entries_skipped 0
                      admin/5.1: mount_points_skipped 0
                      admin/5.1: files 4
                      admin/5.1: directories 1
                      admin/5.1: hardlinks 0
                      admin/5.1: symlinks 0
                      admin/5.1: sparse_files 0
                      admin/5.1: filesys_errors 0
                      admin/5.1: unknown_type 0
                      admin/5.1: file_kbytes 0
                      admin/5.1: dev_kbytes 3721
                      admin/5.1: dev_iosecs 15
                      admin/5.1: dev_iorate 254.1 KB/S
                      admin/5.1: wrt_iosecs 14
                      admin/5.1: wrt_iorate 272.2 KB/S
                      admin/5.1: physical_blks_written 8728
                      admin/5.1: write_errors 31
                      admin/5.1: physical_blks_read 1495
                      admin/5.1: read_errors 1
                      admin/5.1: error_rate 0%
                      admin/5.1: path c:/temp completed, status 0
                      ob>
                      • 8. Re: can't read location sbt0(DELETED) - UUID not found
                        rdoogan
                        With OSB10.2 the installation has changed from previous releases. You should now ensure that the library and tape devices are loaded with the current drivers, so that the OS can see them. You should then install OSB with these devices enabled.

                        For the Attachment, all you need to enter is the Raw Device field (//./obt0).
                        • 9. Re: can't read location sbt0(DELETED) - UUID not found
                          71362
                          Thanks for the information about the installation.

                          Does any one know why I can do a backup, but cannot restore and browse the volume?
                          You can check the output (above from my previous reply) of the command
                          lsdev –l
                          lsdev –m
                          lsvol -lv VOL000001
                          lssec -v VOL000001
                          catxcr -fl0 admin/5 the previous reply

                          Does the file “tape1(~d~e~l~e~t~e~d)” in C:\Program Files\Oracle\Backup\admin\config\location\ is causing the problem and how come I got that?
                          • 10. Re: can't read location sbt0(DELETED) - UUID not found
                            438407
                            The tape1(DELETED) is the issue. The volume is associated with that location. Run the following and post the output:
                            ob> lsloc -l

                            If there is no tape1 location you can create one to work around this problem.
                            ob> mkloc tape1

                            After creating the location try the lssec and restore again and let us know how it went.
                            • 11. Re: can't read location sbt0(DELETED) - UUID not found
                              71362
                              Greate, I add the location for tape1 and I can now browse the volume and issue restore operations;
                              but, the restore job remains at "pending volume recall from offsite" state.

                              The restore operation issued two jobs; a media movement and a restore

                              I executed the the "media movement for tape1" job
                              2008/04/15.12:20:20 Transcript for job 1 running on DCX-001-MMM
                              2008/04/15.12:20:20
                              2008/04/15.12:20:20 Processing media movement requests for location tape1
                              2008/04/15.12:20:20 Considering volumes:
                              2008/04/15.12:20:20 OSB-CATALOG-MF-000001
                              2008/04/15.12:20:20 Processing volume OSB-CATALOG-MF-000001
                              2008/04/15.12:20:20 Volume OSB-CATALOG-MF-000001 moved to location tape1
                              2008/04/15.12:20:20 Request completed

                              I tried the following to start the restore job, but without success:
                              ob> recallvol immediate tolocation tape1 -v 102

                              ob> runjob -n -d tape1 admin/10
                              Info: job admin/10 updated.

                              ob> lsjob
                              Job ID Sched time Contents State
                              ---------------- ----------- ------------------------------ ---------------------------------------
                              admin/10 none restore 1 item to DCX-001-MMM pending volume recall from offsite

                              Thanks again

                              Please note that I selected the OSB-CATALOG-MF family on that backup. So OSB-CATALOG-MF-000001 is not an error.

                              Message was edited by:
                              lessardjm
                              • 12. Re: can't read location sbt0(DELETED) - UUID not found
                                71362
                                I think I figure out the problem.

                                OSB consider the "tape1" location I created as an external location (not a tape device location). Is there any way to associate the location to the tape device?

                                Is it normal to create manually a location for a tape drive. Shouldn't it be created automatically?
                                • 13. Re: can't read location sbt0(DELETED) - UUID not found
                                  438407
                                  Yes that is the issue. When a tape device is create a location is also created automatically. You can use the chvol command to relocate a volume from one location to the next.

                                  Can you provide the output of the obtool lsloc -l command?

                                  The tapes you previously wrote were assigned to the nonexistent tape1 location. By recreating the tape1 location you were able to view infomation in the catalog for those volumes. In that you had installation troubles specific to devices the best approach at this point for testing would probably be to remove all devices and corresponding locations and start fresh with a newly created device and newly auto-created location. Then all backups to this device will reference the new location. Then if you have a need to get back to the previous backups with incorrect location association you can perform a chgvol.
                                  • 14. Re: can't read location sbt0(DELETED) - UUID not found
                                    71362
                                    Finally I have been able to perform restores!

                                    I deleted the tape1 device in OSB which also delete the tape1 location automatically (OSB recognize it that time as the tape device location, eventhough it wasn't for restore???).

                                    I create a new "tape2" devices in OSB which created that time a tape2 location automatically with the comment "OSB-generated location for drive tape2".

                                    Many thanks to mchamer and rdoogan, your help has been greatly helpfull.
                                    1 2 Previous Next