Bacula-users

Re: [Bacula-users] getting a tape back into the catalog

2008-04-09 18:14:29
Subject: Re: [Bacula-users] getting a tape back into the catalog
From: Ryan Novosielski <novosirj AT umdnj DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 09 Apr 2008 18:13:59 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Drescher wrote:
> On Wed, Apr 9, 2008 at 4:50 PM, Chris Munns <chrismunns AT gmail DOT com> 
> wrote:
>> I am trying to get a tape that had been deleted from the catalog back into
>> it.   I have tried everything I can possibly think of(including manually
>> entering it in the database, but it never seems right), but I can't seem to
>> get Bacula to treat the tape as if it were new again(labeling, re-labeling
>> doesn't work).  Is there any easy way for me to completely wipe the tape
>> itself clean with Bacula or its associated tools?  I want to use the same
>> barcode label on it if possible, but if putting a new label on it would
>> work, I would just as easily do that instead.
>>
>> Any thoughts?
>>
> If you do not care about the data on the tape and just want to label
> it for use. Do the following.
> 
> unmount a tape using umount in bacula or stop the bacula-sd service to
> get bacula to release its lock on the drive.
> 
> Then
> 
> mt -f /dev/nst0 rewind
> mt -f /dev/nst0 weof
> 
> Then start the bacula-sd service if you stopped it,
> Then label the tape in bacula. Make sure you remove any of the manual
> database labeling if it still exists..

Wouldn't the 'add' command work just fine?

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj AT umdnj DOT edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH/T+nmb+gadEcsb4RAqerAJ9PRp2ecnij8Mfi8KW3EMtXjJSp9QCeNmFZ
dGMV3Iv7eLzvHtfuUcp4sC8=
=qU+1
-----END PGP SIGNATURE-----

Attachment: novosirj.vcf
Description: Vcard

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>