私はこのハウツーに従ってCentOS7にbacula7をインストールしました: http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/bacula-25/howto -install-bacula-7-on-centos-7-fresh-install-126395 / 。
サーバーをバックアップしたいのですが、ジョブがis waiting for a mount request
でスタックしています。
ディレクターは次のメッセージを表示します。
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: label.c:362 Open file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Warning: mount.c:212 Open of file device "FileStorage" (/var/bacula/backups) Volume "Remote-0002" failed: ERR=file_dev.c:172 Could not open(/var/bacula/backups/Remote-0002,CREATE_READ_WRITE,0640): ERR=Keine Berechtigung
31-Dez 15:42 bacula-sd JobId 6: Please mount append Volume "Remote-0002" or label a new one for:
Job: myserver-db.2015-12-31_15.42.23_03
Storage: "FileStorage" (/var/bacula/backups)
Pool: RemoteFile
Media type: File
エラーKeine Berechtigung
はPermission denied
を意味します。
ええと、しかし、次の権限を持つディレクトリ/var/bacula/backups/
があります:drwxr-xr-x. 2 bacula bacula
ストレージデーモン内のファイルの正しい権限はbacula:diskです。そう
chown -R bacula:disk /var/bacula/backups