View Issue Details

IDProjectCategoryView StatusLast Update
0000521bareos-core[All Projects] directorpublic2015-11-06 17:09
ReporterzachaAssigned To 
PrioritynormalSeveritymajorReproducibilitysometimes
Status acknowledgedResolutionopen 
PlatformLinuxOSDebianOS Version8
Product Version14.2.5 
Fixed in Version 
Summary0000521: Directory mounts tape but is unhappy with it afterwards (migration job)
DescriptionMigration Job from Autochanger1 to Autochanger2 (copy):

Director selects Tape and mounts it, but afterwards complains it needs the tape mounted it just mounted:

(Drive0 is blocked waiting for mount of Volume)

I don't know what Director expects to sit in Drive 2, cause it obviously mounted to Drive 0. But afterwards I manually mount Tape to Drive 2 it continues.


19-Sep 17:23 valerian-dir JobId 169706: Using Device "Drive0" to read.
19-Sep 17:23 valerian-dir JobId 169706: Using Device "Drive5" to write.
19-Sep 17:23 valerian-sd JobId 169706: 3307 Issuing autochanger "unload slot 52, drive 0" command.
19-Sep 17:23 valerian-sd JobId 169706: 3304 Issuing autochanger "load slot 51, drive 0" command.
19-Sep 17:23 valerian-sd JobId 169706: 3305 Autochanger "load slot 51, drive 0", status is OK.
19-Sep 17:23 valerian-sd JobId 169706: Warning: vol_mgr.c:556 Need volume from other drive, but swap not possible. Status: read=0 num_writers=0 num_reserve=0 swap=1 vol=HDS051L3 from dev="Drive2" (/dev/changer1-tape2) to "Drive0" (/dev/changer1-tape0)
19-Sep 17:23 valerian-sd JobId 169706: 3307 Issuing autochanger "unload slot 51, drive 0" command.
19-Sep 17:23 valerian-sd JobId 169706: Warning: acquire.c:294 Read acquire: label.c:260 Could not reserve volume HDS051L3 on "Drive0" (/dev/changer1-tape0)
19-Sep 17:23 valerian-sd JobId 169706: 3304 Issuing autochanger "load slot 51, drive 0" command.
19-Sep 17:23 valerian-sd JobId 169706: 3305 Autochanger "load slot 51, drive 0", status is OK.
19-Sep 17:23 valerian-sd JobId 169706: Warning: vol_mgr.c:556 Need volume from other drive, but swap not possible. Status: read=0 num_writers=0 num_reserve=0 swap=1 vol=HDS051L3 from dev="Drive2" (/dev/changer1-tape2) to "Drive0" (/dev/changer1-tape0)
19-Sep 17:23 valerian-sd JobId 169706: 3307 Issuing autochanger "unload slot 51, drive 0" command.
19-Sep 17:23 valerian-sd JobId 169706: Warning: acquire.c:294 Read acquire: label.c:260 Could not reserve volume HDS051L3 on "Drive0" (/dev/changer1-tape0)
19-Sep 17:23 valerian-sd JobId 169706: Please mount read Volume "HDS051L3" for:


Now I mounted Tape to Drive 2, afterwards:

19-Sep 17:30 valerian-sd JobId 169706: 3307 Issuing autochanger "unload slot 51, drive 2" command.
19-Sep 17:30 valerian-sd JobId 169706: 3304 Issuing autochanger "load slot 51, drive 0" command.
19-Sep 17:30 valerian-sd JobId 169706: 3305 Autochanger "load slot 51, drive 0", status is OK.
19-Sep 17:30 valerian-sd JobId 169706: Ready to read from volume "HDS051L3" on device "Drive0" (/dev/changer1-tape0).

Manually mounting the tape to drive 0 did not help, it refused to mount it.

This sometimes happens when a copy job is being started. Seems to be a bug for me.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

maik

maik

2015-11-06 17:09

administrator   ~0001933

This is probably duplicate of another bug - will link it there.

Issue History

Date Modified Username Field Change
2015-09-19 17:38 zacha New Issue
2015-11-06 17:09 maik Note Added: 0001933
2015-11-06 17:09 maik Status new => acknowledged