OS: RedHat 7.3
Backing up to a file on a harddrive
I tried running a Backup Job, but recieved " Warning: device is BLOCKED due to user unmount."
So I tried to mount the device, but received "ERR=Could not open file device /u01/backup/ky. No Volume name given. "
Then I tried unmounting the device, but received "3901 Device /u01/backup/ky is already unmounted."
I have also tried using the " add" command, but it didn't make any difference.
I removed the device & volumes (from catalog + from harddisk), recreated the directory, and tried to label new volumes.
I still get "3901 open device failed: ERR=Could not open file device /u01/backup/ky. No Volume name given."
I have 22 servers configured the same way using Bacula, but this is the only one that is giving me this error. Any ideas? Has anyone had this issue before?
This are the steps I followed:
*Run KY
Using default Catalog name=MyCatalog DB=bacula
Run Backup job
JobName: KY
FileSet: KY Set
Level: Incremental
Client: KY-fd
Storage: KY-file
Pool: KY-pool
When: 2006-05-16 09:38:14
Priority: 10
OK to run? (yes/mod/no): yes
Run command submitted.
*messages
16-May-2006 09:38 NY-dir: No prior Full backup Job record found.
16-May-2006 09:38 NY-dir: No prior or suitable Full backup found. Doing FULL backup.
16-May-2006 09:38 NY-dir: Start Backup JobId 3148, Job=KY.2006-05-16_09.38.29
16-May-2006 09:38 KY-fd: ClientRunBeforeJob: Tue May 16 09:38:34 CDT 2006
16-May-2006 09:38 LA-sd: KY.2006-05-16_09.38.29 Warning: device is BLOCKED due to user unmount.
*mount
The defined Storage resources are:
1: KY-file
2: LA-file
Select Storage resource (1-2): 1
3901 open device failed: ERR=Could not open file device /u01/backup/ky. No Volume name given.
*unmount
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
1: KY-file
2: LA-file
Select Storage resource (1-2): 1
3901 Device /u01/backup/ky is already unmounted.
After deleting the device and the volumes, I tried recreating it. Here is the result:
*label
The defined Storage resources are:
1: KY-file
2: LA-file
Select Storage resource (1-2): 1
Enter new Volume name: KY1
Defined Pools:
1: KY-pool
2: LA-pool
Select the Pool (1-2): 1
Connecting to Storage daemon KY-file at LA:9103 ...
Sending label command for Volume "KY1" Slot 0 ...
3000 OK label. Volume=KY1 Device=/u01/backup/ky
Catalog record for Volume "KY1", Slot 0 successfully created.
Requesting mount KY-storage ...
3901 open device failed: ERR=Could not open file device /u01/backup/ky. No Volume name given.
Do not forget to mount the drive!!!
Using default Catalog name=MyCatalog DB=bacula
Run Backup job
JobName: KY
FileSet: KY Set
Level: Incremental
Client: KY-fd
Storage: KY-file
Pool: KY-pool
When: 2006-05-16 09:38:14
Priority: 10
OK to run? (yes/mod/no): yes
Run command submitted.
*messages
16-May-2006 09:38 NY-dir: No prior Full backup Job record found.
16-May-2006 09:38 NY-dir: No prior or suitable Full backup found. Doing FULL backup.
16-May-2006 09:38 NY-dir: Start Backup JobId 3148, Job=KY.2006-05-16_09.38.29
16-May-2006 09:38 KY-fd: ClientRunBeforeJob: Tue May 16 09:38:34 CDT 2006
16-May-2006 09:38 LA-sd: KY.2006-05-16_09.38.29 Warning: device is BLOCKED due to user unmount.
*mount
The defined Storage resources are:
1: KY-file
2: LA-file
Select Storage resource (1-2): 1
3901 open device failed: ERR=Could not open file device /u01/backup/ky. No Volume name given.
*unmount
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
1: KY-file
2: LA-file
Select Storage resource (1-2): 1
3901 Device /u01/backup/ky is already unmounted.
After deleting the device and the volumes, I tried recreating it. Here is the result:
*label
The defined Storage resources are:
1: KY-file
2: LA-file
Select Storage resource (1-2): 1
Enter new Volume name: KY1
Defined Pools:
1: KY-pool
2: LA-pool
Select the Pool (1-2): 1
Connecting to Storage daemon KY-file at LA:9103 ...
Sending label command for Volume "KY1" Slot 0 ...
3000 OK label. Volume=KY1 Device=/u01/backup/ky
Catalog record for Volume "KY1", Slot 0 successfully created.
Requesting mount KY-storage ...
3901 open device failed: ERR=Could not open file device /u01/backup/ky. No Volume name given.
Do not forget to mount the drive!!!