Thanks! When backing up to disk, you don't have to label the disk by hand (that's why "LabelMedia = yes" is set). 1- Do I have to delete the labels, or it will work with the label? Any difference? 2 - I have the configuration: Device Storage Label /mirror/disk0 - File0 Disk0 /mirror/disk1 - File1 Disk1 /mirror/disk2 - File2 Disk2
And, for example, my job resource is: Job { Name = "colchester" Type = Backup Level = Incremental client = colchester-fd FileSet="colchester" Schedule = "colchester" RunBeforeJob = "/usr/local/share/bacula/make_catalog_backup bacula bacula" RunAfterJob = "/usr/local/share/bacula/delete_catalog_backup" Write Bootstrap = "/var/db/bacula/BackupCatalog.bsr" Priority = 11 Pool = Default Storage = File0 Messages = Standard } But when I run the job, it tries to write to Disk0(OK!) on /mirror/disk0: 04-Nov 18:00 backup-sd: colchester.2005-11-04_18.00.00 Warning: Volume "Disk1" not on device /mirror/disk0. 04-Nov 18:00 backup-sd: Marking Volume "Disk1" in Error in Catalog. 04-Nov 18:00 backup-sd: colchester.2005-11-04_18.00.00 Warning: Volume "Disk2" not on device /mirror/disk0. 04-Nov 18:00 backup-sd: Marking Volume "Disk2" in Error in Catalog. 04-Nov 18:00 backup-sd: Job colchester.2005-11-04_18.00.00 waiting. Cannot find any appendable volumes. Please use the "label" command to create a new Volume for: Storage: FileStorage0 Media type: File Pool: Default Any ideas? Thanks, Pedro Mazzoni 2005/11/6, Angus Jordan <[EMAIL PROTECTED]>: > Hello there, > > > > > 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 > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users