# bconsole Connecting to Director i7:9101 1000 OK: i7-dir Version: 15.2.2 (16 November 2015) Enter a period to cancel a command. *mount Automatically selected Catalog: MyCatalog Using Catalog "MyCatalog" Automatically selected Storage: LTO-2 Connecting to Storage daemon LTO-2 at i7:9103 ... 3905 Device ""LTO-2" (/dev/nst0)" open but no Bareos volume is mounted. If this is not a blank tape, try unmounting and remounting the Volume. *list volumes pool=DailyPool Using Catalog "MyCatalog" No results to list. *add pool=DailyPool You probably don't want to be using this command since it creates database records without labeling the Volumes. You probably want to use the "label" command. Automatically selected Storage: LTO-2 Enter number of Volumes to create. 0=>fixed name. Max=10: 0 Enter Volume name: BackupTape1 1 Volumes created in pool DailyPool *list volumes pool=DailyPool +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 21 | BackupTape1 | Append | 1 | 0 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-2 | 0000-00-00 00:00:00 | +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ *run job=i7_Backup level=Full yes Job queued. JobId=4087 *messages 17-Dec 00:46 i7-sd JobId 4086: Job i7_Backup.2015-12-17_00.35.40_04 is waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: "LTO-2" (/dev/nst0) Pool: DailyPool Media type: LTO-2 *mount Automatically selected Storage: LTO-2 Connecting to Storage daemon LTO-2 at i7:9103 ... 3001 OK mount requested. Device="LTO-2" (/dev/nst0) *messages 17-Dec 00:48 i7-sd JobId 4086: Warning: Device "LTO-2" (/dev/nst0) not configured to autolabel Volumes. 17-Dec 00:48 i7-sd JobId 4086: Warning: Device "LTO-2" (/dev/nst0) not configured to autolabel Volumes. 17-Dec 00:48 i7-sd JobId 4086: Warning: Device "LTO-2" (/dev/nst0) not configured to autolabel Volumes. 17-Dec 00:48 i7-sd JobId 4086: Warning: Device "LTO-2" (/dev/nst0) not configured to autolabel Volumes. 17-Dec 00:48 i7-sd JobId 4086: Please mount append Volume "BackupTape1" or label a new one for: Job: i7_Backup.2015-12-17_00.35.40_04 Storage: "LTO-2" (/dev/nst0) Pool: DailyPool Media type: LTO-2 * *mount Automatically selected Storage: LTO-2 Connecting to Storage daemon LTO-2 at i7:9103 ... 3001 OK mount requested. Device="LTO-2" (/dev/nst0) *list volumes pool=DailyPool +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 21 | BackupTape1 | Append | 1 | 0 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-2 | 0000-00-00 00:00:00 | +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ *status dir i7-dir Version: 15.2.2 (16 November 2015) x86_64-suse-linux-gnu suse openSUSE Leap 42.1 (x86_64) Daemon started 17-Dec-15 00:32. Jobs: run=0, running=2 mode=0 db=mysql Heap: heap=385,024 smbytes=411,979 max_bytes=416,523 bufs=2,369 max_bufs=2,369 No Scheduled Jobs. ==== Running Jobs: Console connected at 17-Dec-15 00:46 JobId Level Name Status ====================================================================== 4086 Full i7_Backup.2015-12-17_00.35.40_04 is waiting for a mount request 4087 Full i7_Backup.2015-12-17_00.47.23_09 is waiting execution ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name ==================================================================== 4074 Full 0 0 Error 16-Dec-15 03:15 i7_Backup 4075 Full 0 0 Error 16-Dec-15 03:49 i7_Backup 4076 Full 0 0 Error 16-Dec-15 03:51 i7_Backup 4077 Full 0 0 Error 16-Dec-15 03:56 i7_Backup 4078 Full 0 0 Error 16-Dec-15 04:04 i7_Backup 4079 Full 0 0 Error 16-Dec-15 04:06 i7_Backup 4080 Full 0 0 Error 16-Dec-15 04:08 i7_Backup 4081 Full 0 0 Error 16-Dec-15 04:09 i7_Backup 4082 Full 5 74.26 K Cancel 16-Dec-15 04:11 i7_Backup 4085 1 37.76 M OK 16-Dec-15 15:28 RestoreFiles ==== *label volume=BackupTape1 pool=DailyPool Automatically selected Storage: LTO-2 Connecting to Storage daemon LTO-2 at i7:9103 ... Sending label command for Volume "BackupTape1" Slot 0 ... block.c:630 Write error at 0:0 on device "LTO-2" (/dev/nst0). ERR=Invalid argument. block.c:644 Write error on fd=5 at file:blk 0:0 on device "LTO-2" (/dev/nst0). ERR=Invalid argument. Backspace record at EOT failed. ERR=Input/output error 3912 Failed to label Volume: ERR=generic_tape_device.c:726 ioctl MTBSR error on "LTO-2" (/dev/nst0). ERR=Input/output error. Label command failed for Volume BackupTape1. Do not forget to mount the drive!!! *label volume=BackupTape1 pool=DailyPool Automatically selected Storage: LTO-2 Connecting to Storage daemon LTO-2 at i7:9103 ... Sending label command for Volume "BackupTape1" Slot 0 ... block.c:630 Write error at 0:0 on device "LTO-2" (/dev/nst0). ERR=Invalid argument. block.c:644 Write error on fd=5 at file:blk 0:0 on device "LTO-2" (/dev/nst0). ERR=Invalid argument. Backspace record at EOT failed. ERR=Input/output error 3912 Failed to label Volume: ERR=generic_tape_device.c:726 ioctl MTBSR error on "LTO-2" (/dev/nst0). ERR=Input/output error. Label command failed for Volume BackupTape1. Do not forget to mount the drive!!! *list volumes pool=DailyPool +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ | 21 | BackupTape1 | Append | 1 | 0 | 0 | 31,536,000 | 1 | 0 | 0 | LTO-2 | 0000-00-00 00:00:00 | +---------+-------------+-----------+---------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+ *mount Automatically selected Storage: LTO-2 Connecting to Storage daemon LTO-2 at i7:9103 ... 3001 OK mount requested. Device="LTO-2" (/dev/nst0) *status dir i7-dir Version: 15.2.2 (16 November 2015) x86_64-suse-linux-gnu suse openSUSE Leap 42.1 (x86_64) Daemon started 17-Dec-15 00:32. Jobs: run=0, running=2 mode=0 db=mysql Heap: heap=385,024 smbytes=432,777 max_bytes=433,554 bufs=2,519 max_bufs=2,526 No Scheduled Jobs. ==== Running Jobs: Console connected at 17-Dec-15 00:46 JobId Level Name Status ====================================================================== 4086 Full i7_Backup.2015-12-17_00.35.40_04 is waiting for a mount request 4087 Full i7_Backup.2015-12-17_00.47.23_09 is waiting execution ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name ==================================================================== 4074 Full 0 0 Error 16-Dec-15 03:15 i7_Backup 4075 Full 0 0 Error 16-Dec-15 03:49 i7_Backup 4076 Full 0 0 Error 16-Dec-15 03:51 i7_Backup 4077 Full 0 0 Error 16-Dec-15 03:56 i7_Backup 4078 Full 0 0 Error 16-Dec-15 04:04 i7_Backup 4079 Full 0 0 Error 16-Dec-15 04:06 i7_Backup 4080 Full 0 0 Error 16-Dec-15 04:08 i7_Backup 4081 Full 0 0 Error 16-Dec-15 04:09 i7_Backup 4082 Full 5 74.26 K Cancel 16-Dec-15 04:11 i7_Backup 4085 1 37.76 M OK 16-Dec-15 15:28 RestoreFiles ==== *