View Issue Details

IDProjectCategoryView StatusLast Update
0000521bareos-coredirectorpublic2023-07-04 10:38
Reporterzacha Assigned Tobruno-at-bareos  
PrioritynormalSeveritymajorReproducibilitysometimes
Status closedResolutionwon't fix 
PlatformLinuxOSDebianOS Version8
Product Version14.2.5 
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.

Activities

maik

maik

2015-11-06 17:09

administrator   ~0001933

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

bruno-at-bareos

2023-07-04 10:38

manager   ~0005115

The won't fix status indicate that no solutions is found actually, and a rewrite of reservation dir<->sd process needs to be done.

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
2023-07-04 10:38 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-04 10:38 bruno-at-bareos Status acknowledged => closed
2023-07-04 10:38 bruno-at-bareos Resolution open => won't fix
2023-07-04 10:38 bruno-at-bareos Note Added: 0005115