Bacula-users

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

2010-04-23 07:26:44
Subject: Re: [Bacula-users] bcopy fails: "No Volume name given"
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 23 Apr 2010 12:24:43 +0100
>>>>> On Fri, 23 Apr 2010 05:34:34 +0000 (UTC), Thomas Mueller said:
> 
> thanks, tried it, but same error:
> 
> # bcopy -v -c /etc/bacula/bacula-sd.conf -i000035L4 -oCOPY000035L4 /dev/nst0 
> /srv/FileStorage -p
> bcopy: butil.c:281 Using device: "/dev/nst0" for reading.
> 23-Apr 07:29 bcopy JobId 0: Invalid slot=0 defined in catalog for Volume 
> "000035L4" on "SuperLoader3-LTO4" (/dev/nst0). Manual load may be required.
> 23-Apr 07:29 bcopy JobId 0: 3301 Issuing autochanger "loaded? drive 0" 
> command.
> 23-Apr 07:29 bcopy JobId 0: 3302 Autochanger "loaded? drive 0", result is 
> Slot 6.
> 23-Apr 07:29 bcopy JobId 0: Ready to read from volume "000035L4" on device 
> "SuperLoader3-LTO4" (/dev/nst0).
> bcopy: butil.c:284 Using device: "/srv/FileStorage" for writing.
> 23-Apr 07:29 bcopy: Fatal Error at bcopy.c:204 because:
> dev open failed: Could not open file device "FileStorage" (/srv/FileStorage). 
> No Volume name given.
> 
> 
> if I try /srv/FileStorage/COPY000035L4 as output device it tells me it
> could not find the device in bacula-sd.conf. 
> 
> I'm going to think, that the utility is broken with file devices.

Yes, it looks like that.

You could try using a copy or migration job in the director instead.

__Martin

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users