Attempting to Restore from Tape, No Medium Found

152 views
Skip to first unread message

Jim Oltman

unread,
Jun 17, 2020, 8:20:08 PM6/17/20
to bareos-users
I've recently completed the config for Bareos.  I've got a Dell tape library on a VM with a passthrough SAS card.  I've completed a backup across several tapes.  I'm now trying to restore a file or 2 to verify the backup. I'm seeing the following on my Restore job:

bareos-sd JobId 16: Error: backends/generic_tape_device.cc:141 Unable to open device "Dell-TL2000-Drive1" (/dev/tape/by-id/scsi-35000e1114216d004-nst): ERR=No medium found

If I login to the tape library interface, I see that the correct tape is loaded, and it's "seeking".  It's been "seeking" for over 30 minutes.  These are old tapes, but were used with some other backup software, not Bacula or Bareos.  I created new labels and imported them into Bareos.

This is the second time I've tried this particular restore.  The first time, the director chose Drive0 (which is the drive that was used during the backup).  However, I forgot I had the mount on the file daemon set as READONLY.  I fixed that and recreated the restore.  This time it chose Drive1.  And now I'm seeing the above.  What are my next steps of troubleshooting?  Thanks!

Jim Oltman

unread,
Jun 17, 2020, 11:57:12 PM6/17/20
to bareos-users
When I shutdown the bareos-sd daemon and run a bls on a tape used in my job, I can see files on that tape.  I just can't restore them.  I've run the autochanger test on DRIVE0 just fine using the btape utility.  I'm not really sure what to do at this point.  ANy help would be appreciated.  Thank!

Jim

Udo Lembke

unread,
Jun 18, 2020, 3:04:58 AM6/18/20
to Jim Oltman, bareos-users
Hi Jim,
I'm not sure if this is helpfull for you, but I had trouble with jukeboxes on virtual backup-hosts (years ago) too and since them I choose a different way.
On the virtualisation node I connect the Jukebox and install bareos-sd (with spool-disks) and use as cname backup-sd.
Bareos-dir is running inside a vm on this host. Work very well.

Best regards
Udo
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/3b830509-0942-4009-bbf0-74f460cf1ca5o%40googlegroups.com.



 

Jim Oltman

unread,
Jun 19, 2020, 10:47:14 AM6/19/20
to bareos-users
On Wednesday, June 17, 2020 at 6:20:08 PM UTC-6, Jim Oltman wrote:
I've disabled Drive1 in my autochanger config.  I've issued a reload in bconsole and restarted the dir daemon.  I've tried a test restore and after 4 hours, the job finally completed.  I only restored about 1.75GB of data.  That was a _very_ long restore over a couple tapes. Is it normally this long on an LTO5 tape/drive?  I need to figure out why Drive1 was giving me that no medium error.
Reply all
Reply to author
Forward
0 new messages