I need to run bscan to read in a LT05 tape. I'm able to mount the tape using bconsole but when I run the bscan command it asks me to mount the volume on the device when it already is mounted. Unfortunately I've never installed and configured bacula so I dont really know where to start with this. Any pointers appreciated. Here is the output from what I've been trying
* *mount drive=1 slot=39 Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" The defined Storage resources are: 1: File 2: LTO-5 Select Storage resource (1-2): 2 3307 Issuing autochanger "unload slot 2, drive 1" command. 3304 Issuing autochanger "load slot 39, drive 1" command. 3305 Autochanger "load slot 39, drive 1", status is OK. 3001 Mounted Volume: AID378 3001 Device ""Drive-1" (/dev/nst0)" is already mounted with Volume "AID378" * when I run the status command it shows the tape is mounted == Device "Drive-1" (/dev/nst0) is mounted with: Volume: AID378 Pool: *unknown* Media type: LTO-5 Slot 39 is loaded in drive 1. Total Bytes Read=1,024 Blocks Read=1 Bytes/block=1,024 Positioned at File=0 Block=0 == Device "Drive-2" (/dev/nst1) is not open. Drive 0 is not loaded. == ==== Used Volume status: Reserved volume: AID378 on tape device "Drive-1" (/dev/nst0) Reader=0 writers=0 reserves=0 volinuse=0 ==== But when I run the bscan command it cant access the volume sudo bscan -c bacula-sd.conf -v -V AID378 /dev/nst0 bscan: butil.c:287 Using device: "/dev/nst0" for reading. 02-Sep 12:45 bscan JobId 0: No slot defined in catalog (slot=0) for Volume "AID378" on "Drive-1" (/dev/nsudo bscan -c bacula-sd.conf -v -V AID378 /dev/nst0 bscan: butil.c:287 Using device: "/dev/nst0" for reading. 02-Sep 12:45 bscan JobId 0: No slot defined in catalog (slot=0) for Volume "AID378" on "Drive-1" (/dev/nst0). 02-Sep 12:45 bscan JobId 0: Cartridge change or "update slots" may be required. 02-Sep 12:45 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 1" command. 02-Sep 12:45 bscan JobId 0: 3302 Autochanger "loaded? drive 1", result is Slot 39. 02-Sep 12:50 bscan JobId 0: Warning: acquire.c:239 Read open device "Drive-1" (/dev/nst0) Volume "AID378" failed: ERR=dev.c:506 Unable to open device "Drive-1" (/dev/nst0): ERR=Device or resource busy 02-Sep 12:50 bscan JobId 0: No slot defined in catalog (slot=0) for Volume "AID378" on "Drive-1" (/dev/nst0). 02-Sep 12:50 bscan JobId 0: Cartridge change or "update slots" may be required. Mount Volume "AID378" on device "Drive-1" (/dev/nst0) and press return when ready:st0). 02-Sep 12:45 bscan JobId 0: Cartridge change or "update slots" may be required. 02-Sep 12:45 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 1" command. 02-Sep 12:45 bscan JobId 0: 3302 Autochanger "loaded? drive 1", result is Slot 39. 02-Sep 12:50 bscan JobId 0: Warning: acquire.c:239 Read open device "Drive-1" (/dev/nst0) Volume "AID378" failed: ERR=dev.c:506 Unable to open device "Drive-1" (/dev/nst0): ERR=Device or resource busy 02-Sep 12:50 bscan JobId 0: No slot defined in catalog (slot=0) for Volume "AID378" on "Drive-1" (/dev/nst0). 02-Sep 12:50 bscan JobId 0: Cartridge change or "update slots" may be required. Mount Volume "AID378" on device "Drive-1" (/dev/nst0) and press return when ready: Thanks
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users