- 26 Sep, 2013 5 commits
-
-
Eric Cano authored
Tape::Drive is now a container, taking care of allocating the proper type of drive depending on the device information. Tape::DriveGeneric is the old parent class. It is now a pure virtual for lack of the non-common functions. The tests (unit and system) have been adapated. The system test environement now has a vide sampler of drive types (LTO from IBM and HP, 3592 from IBM in 3 flavors and T10K A, B and C from Oracle). The complete list of flavors is in usr/vtltape.c in mhvtl sources.
-
Victor Kotlyar authored
-
Victor Kotlyar authored
from SCSI level.
-
Eric Cano authored
-
Eric Cano authored
Added creation of 2 blocks at the begining of the tape to allow the usage of blank tapes in the system test. Renamed the system test as it is writing to tapes.
-
- 25 Sep, 2013 2 commits
- 24 Sep, 2013 2 commits
- 11 Sep, 2013 1 commit
-
-
Eric Cano authored
-
- 04 Sep, 2013 1 commit
-
-
Victor Kotlyar authored
removed tapeGenericDeviceFile
-
- 30 Aug, 2013 1 commit
-
-
Victor Kotlyar authored
added untitests for them. added prelabeled picture in the doc. cosmetic changes and fix for syntax errors.
-
- 26 Aug, 2013 3 commits
-
-
Victor Kotlyar authored
-
Victor Kotlyar authored
moved all VSN1::fileds to private to not allow any direct modifications. implemented Tape::AULFile::VOL1::verify function. added unitest for Tape::AULFile::VOL1 added some helper functions to deal with space padded char arrays in the tape headers (cmpString, toString, spaceStruct).
-
Victor Kotlyar authored
original version at https://twiki.cern.ch/twiki/bin/view/FIOgroup/TapeLabelOptions
-
- 23 Aug, 2013 4 commits
-
-
Victor Kotlyar authored
-
Victor Kotlyar authored
-
Victor Kotlyar authored
-
Victor Kotlyar authored
Added some fixes for DeviceVector and getTapeInfo to work on SLC6 and SLC5. Added SLC6 unit test for getTapeAlerts.
-
- 22 Aug, 2013 2 commits
-
-
Victor Kotlyar authored
Removed two headers prelabel example due to http://savannah.cern.ch/bugs/?102340
-
Victor Kotlyar authored
the doc. Added tables with decriptions of the AUL related headers HDR1, HDR2, UHL1, EOF1, EOF2, UTL1. Added examples with hexdumps for the headers on the mhvtl tapes. Added exmaples for empty tapes with PRELABEL HDR1 and PRELABEL HDR1&HDR2 added \usepackage{float} to make tables less floating.
-
- 21 Aug, 2013 1 commit
-
-
Eric Cano authored
-
- 20 Aug, 2013 2 commits
-
-
Eric Cano authored
Removed the author list from every file and added the complete list into a single file.
-
Daniele Francesco Kruse authored
In the documentation I changed the name of 2 interface functions to better describe their behaviour: spaceFilesBackwards -> spaceFileMarksBackwards spaceFilesForward -> spaceFileMarksForward
-
- 19 Aug, 2013 2 commits
-
-
Eric Cano authored
-
Daniele Francesco Kruse authored
1) Added the test for the wrapper functions of the ST driver. This test aims at checking the correctness of the behaviour of the interface functions. 2) Changed the name of 2 interface functions to better describe their behaviour: spaceFilesBackwards -> spaceFileMarksBackwards spaceFilesForward -> spaceFileMarksForward
-
- 16 Aug, 2013 2 commits
-
-
Victor Kotlyar authored
-
Victor Kotlyar authored
added simple environment for SLC6 based on the installation "Scientific Linux CERN SLC release 6.4 (Carbon)" with kernel 2.6.32-358.14.1.el6.x86_64. lsscsi -g for the prototype is following: [0:0:0:0] disk ATA TOSHIBA THNSNF12 FSLA /dev/sda /dev/sg0 [6:0:0:0] mediumx STK VL52STK1 0104 /dev/sch0 /dev/sg3 [6:0:1:0] tape STK T10000B 0104 /dev/st0 /dev/sg1 [6:0:2:0] tape STK T10000B 0104 /dev/st1 /dev/sg2
-
- 15 Aug, 2013 4 commits
-
-
Eric Cano authored
-
Eric Cano authored
Added a helper function to set SCSI 16 bits values. Added test for Tape::Drive::getTapeAlerts Fixed Tape::Drive::getTapeAlerts Removed the -O2 from the compilation options: debugging was sometimes confusing, and compilation is now faster. Also removed optimisation from rpm build.
-
Victor Kotlyar authored
added simple calls for getDeviceInfo, positionToLogicalObject, getPositionInfo, setDensityAndCompression, getCompression, clearCompressionStats. For full testing not a blank tape should be mounted in the drive before executing the TapeDriveInfo programm.
-
Eric Cano authored
Updated documentation which was inaccurate about padding of the strings in SCSI structures. Added comments around the correponding helper function.
-
- 14 Aug, 2013 7 commits
-
-
Daniele Francesco Kruse authored
Added wrapper functions for Drive operations using the ST driver (no test just yet, will wait for the system test).
-
Eric Cano authored
-
Eric Cano authored
As a consequence, removed the templatisation of Tape::Drive* and SCSI::DeviceVector Moved much of their functions from .hh to .cc (thanks to end of templatisation). Removed copilation options from many .cc after moving Tape::System::mockWrapper::mockWrapper to a .cc.
-
Victor Kotlyar authored
Tape::System::stDeviceFile::ioctl, and cut the function into subfunctions Tape::System::stDeviceFile::ioctl was split by small subfunctions more comments were added for hex arrays.
-
Eric Cano authored
Finished the fisrt version of the Tape::Drive interface.
-
Victor Kotlyar authored
-
Victor Kotlyar authored
child function getSerialNumber was added.
-
- 13 Aug, 2013 1 commit
-
-
Eric Cano authored
-