Hello all, I'm trying to use bcopy to copy from filesystem volumes to tapes in a library. Following is what I would assume the command should be:
> bcopy -c ./bacula-sd.conf -i Full-0001 -o 000004 FileStorage Scalar24 But when I run this, I get the following error: bcopy: butil.c:258 Using device: "FileStorage" for reading. 17-Mar 10:21 bcopy: Ready to read from volume "Full-0001" on device /export/home/bacula. bcopy: butil.c:258 Using device: "Scalar24" for writing. 17-Mar 10:23 bcopy: Fatal Error at dev.c:295 because: dev.c:289 stored: unable to open device /dev/nst0: ERR=Input/output error 17-Mar 10:23 bcopy: Fatal Error at device.c:288 because: dev open failed: dev.c:289 stored: unable to open device /dev/nst0: ERR=Input/output error This occurs until I manually tell the library to put a tape in the drive. I also have to modify the command to the following: > bcopy -c ./bacula-sd.conf -i Full-0001 FileStorage Scalar24 Leaving in the -o flag gives me yet another error: bcopy: butil.c:258 Using device: "FileStorage" for reading. 17-Mar 10:32 bcopy: Ready to read from volume "Full-0001" on device /export/home/bacula. bcopy: butil.c:258 Using device: "Scalar24" for writing. 17-Mar 10:32 bcopy: Fatal Error at bcopy.c:167 because: dev open failed: So I guess my questions are these: Is anyone else using bcopy to copy from file volumes to tapes? If bcopy can't manage things with the autoloader, how can/does it work when you need to copy multiple volumes to multiple tapes? Currently the only way I can see to do this is by copying the file volumes to tape individually, using the method described above. Based on what I've read in the documentation, however, this will cause problems whenever a job bridges the volumes, as I believe the job at the end of the volume would be dropped as incomplete. Thanks for any help you can provide. --Brennon ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users