Device {
Name = FileStorage0
Media Type = File
Archive Device = /mirror/disk0
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = FileStorage1
Media Type = File
Archive Device = /mirror/disk1
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = FileStorage2
Media Type = File
Archive Device = /mirror/disk2
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Then I labeled the storages devices:
*list media
Pool: Default
+---------+------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | Disk0 | Error | 0 | 0 | 31536000
| 1 | 0 | 0 | File | 2005-11-04 12:15:06 |
| 2 | Disk1 | Error | 0 | 0 | 31536000
| 1 | 0 | 0 | File | 2005-11-04 18:00:15 |
| 3 | Disk2 | Error | 0 | 0 | 31536000
| 1 | 0 | 0 | File | 2005-11-04 18:00:15 |
+---------+------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
*
But now, every job that I try to run hangs. For example, a backup that
uses File0 as storage:
I would also check the permissions on /mirror/diskX
It should have the correct permissions for whatever user/group that your Storage Daemon is running as...
Hope that helps you some.
Angus Jordan