This is the command i used last time to do autolabelling using the already
existing tape-labels (i hope that is what you asked)
(please test it first)
echo -e "label barcodes \n2 \ny " | ./bconsole
THIS IS THE OUTPUT
Connecting to Director head:9101
1000 OK: head-dir Version: 1.36.1 (26 November 2004)
Enter a period to cancel a command.
label barcodes
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
1: File
2: Exabyte
Select Storage resource (1-2): 2
Connecting to Storage daemon Exabyte at head:9103 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3306 Issuing autochanger "list" command.
The following Volumes will be labeled:
Slot Volume
==============
1 B0000001
2 B0000002
3 B0000003
4 B0000004
5 B0000005
6 B0000006
7 B0000007
8 B0000008
9 B0000009
10 CLNA0002
Do you want to continue? (y/n): y
Automatically selected Pool: Default
Connecting to Storage daemon Exabyte at head:9103 ...
Sending label command for Volume "B0000001" Slot 1 ...
3301 Issuing autochanger "loaded drive 0" command.
3302 Autochanger "loaded drive 0", result: nothing loaded.
3304 Issuing autochanger "load slot 1, drive 0" command.
3305 Autochanger "load slot 1, drive 0", status is OK.
On Fri, 12 Aug 2005, Joe Stump wrote:
> Is it possible to erase a label on a tape without having to run mt -
> f /dev/st0 erase? It's taking about 10 years to erase my tape. Also,
> is there a way to have bacula do some sort of auto labeling?
>
> Thanks!
>
> --Joe
>
> --
> Joseph C. Stump
> [EMAIL PROTECTED]
> http://www.joestump.net
>
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
--
- Stelios
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users