Re: [Bacula-users] bcopy fails: "No Volume name given"
2010-04-23 01:37:44
> You used wrong devices. Bcopy and most other bacula tools operating on
> devices (for example: btape, bscan, bls) use a device path (defined in
> the Archive Device directive from the Device resource) in a command
> line.
>
> You can use somethings like that:
>
> bcopy -v -c /etc/bacula/bacula-sd.conf -i 000035L4 -o COPY000035L4
> /dev/nst0 /srv/FileStorage
>
> if your tape drive device is /dev/nst0 of course.
>
> Regards
> gani
>
hi gani
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.
- Thomas
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|