Skip to content
Snippets Groups Projects
Commit 2f598023 authored by Eric Cano's avatar Eric Cano
Browse files

CI init: added tape rewind before labeling to handle more situations.

parent 39b4d12a
Branches
Tags
No related merge requests found
......@@ -77,6 +77,7 @@ else
mtx -f /dev/${LIBRARYDEVICE} load ${tapeslot} ${driveslot}
cd /tmp
echo "VOL1${vid} CASTOR 3">label.file
mt -f /dev/${DRIVEDEVICES[${driveslot}]} rewind
dd if=label.file of=/dev/${DRIVEDEVICES[${driveslot}]} bs=80 count=1
mt -f /dev/${DRIVEDEVICES[${driveslot}]} rewind
mtx -f /dev/${LIBRARYDEVICE} unload ${tapeslot} ${driveslot}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment