Bacula-users

[Bacula-users] bcopy fails: "No Volume name given"

2010-04-22 07:29:30
Subject: [Bacula-users] bcopy fails: "No Volume name given"
From: Thomas Mueller <thomas AT chaschperli DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 22 Apr 2010 11:26:31 +0000 (UTC)
hi

i'm failing to use the bcopy utility. I want to copy from tape to disk. i keeps
telling me, that "No Volume name" is given (see log output below)

somebody maybe know what's going wrong? bacula is version 5.0.1 on debian. 

- Thomas


# bcopy -v -c /etc/bacula/bacula-sd.conf -i000035L4 -oCOPY000035L4 
SuperLoader3-LTO4 FileStorage 
bcopy: butil.c:281 Using device: "SuperLoader3-LTO4" for reading.
22-Apr 13:09 bcopy JobId 0: Invalid slot=0 defined in catalog for Volume 
"000035L4" on "SuperLoader3-LTO4" (/dev/nst0). Manual load may be required.
22-Apr 13:09 bcopy JobId 0: 3301 Issuing autochanger "loaded? drive 0" command.
22-Apr 13:09 bcopy JobId 0: 3302 Autochanger "loaded? drive 0", result is Slot 
6.
22-Apr 13:09 bcopy JobId 0: Ready to read from volume "000035L4" on device 
"SuperLoader3-LTO4" (/dev/nst0).
bcopy: butil.c:284 Using device: "FileStorage" for writing.
22-Apr 13:09 bcopy: Fatal Error at bcopy.c:204 because:
dev open failed: Could not open file device "FileStorage" 
(/srv/spool/FileStorage). No Volume name given.


bacula-sd FileStorage part:
Device {
  Name = FileStorage
  Media Type = File
  Archive Device = /srv/FileStorage
  LabelMedia = no;                   # disable automatic labeling
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
}


------------------------------------------------------------------------------
_______________________________________________
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>