我的 Bacula 配置不会写入任何标记卷,只要它在 之外/tmp
。但是,当 SD 配置为写入时/tmp
,一切都运行正常。
[herpderp@neuromediator2 home]$ ls -lah
total 8.0K
drwxr-xr-x. 4 root root 34 Feb 22 15:01 .
dr-xr-xr-x. 17 root root 4.0K Feb 22 15:27 ..
drwxr-xr-x. 3 bacula tape 20 Feb 22 15:03 bacula
drwx------. 14 herpderp herpderp 4.0K Feb 22 17:02 herpderp
我设置了适当的权限让 Bacula 写入特定目录,但没有成功。我收到的错误消息如下:
Jobs waiting to reserve a drive:
====
Terminated Jobs:
JobId Level Files Bytes Status Finished Name
===================================================================
2 Full 0 0 Cancel 22-Feb-16 16:16 BackupClient1
7 Full 0 0 Cancel 23-Feb-16 10:19 BackupClient1
1 Full 639 55.76 M OK 23-Feb-16 10:20 Full_backup
2 Full 697 60.58 M OK 23-Feb-16 10:21 Full_backup
3 Full 0 0 Cancel 23-Feb-16 11:48 Full_backup
====
Device status:
Device "Storage" (/home/bacula/storage/) is not open.
Device is BLOCKED waiting to create a volume for:
Pool: File
Media type: File
==
====
Used Volume status:
====
====
答案1
很明显,清单上写着
Device is BLOCKED waiting to create a volume for:
Pool: File
我可以使用该池标记另一个卷来解决我的问题。