- Oct 07, 2016
-
-
Eric Cano authored
-
Eric Cano authored
-
Eric Cano authored
-
Victor Kotlyar authored
3a67b08bd5b0e0cf4ef03de8185630fb0bcc5e80 CASTOR-5275 RFE: Log the tapeserverd tape-file descriptor if it becomes bad whilst waiting for a tape drive to become ready Fixed. b5d562503b6f954cfc6be09ef742474c685e6d60 CASTOR-5275 RFE: Log the tapeserverd tape-file descriptor if it becomes bad whilst waiting for a tape drive to become ready Differentiated the log messages, and added the file descriptor logging in all instances of the Could not read drive status errors.
-
- Oct 06, 2016
-
-
Eric Cano authored
Added drive status reporting in scheduler Added drive status reporting in OStoreDB Added support for drive status listing in the front end Removed virtual functions from the Scheduler, which is never overloaded. Added DesiredDriveState structure to drive state. Removed usage of duplicate MountType, DriveStatus and DriveState structures. Created DriveInfo structure to allow recreation of drive register entry in all reporting situation (potentially with partial/assumed info).
-
Victor Kotlyar authored
CASTOR-4836: tapeserverd should have a new time counter: delivery time Fixed. Add two counters: deliveryTime and drainingTime. For the recall session deliveryTime is the total time of the disk threads and drainigTime is the time difference between deliveryTime and the total time of the tape thread or in other words how much time disk threads spent after the tape thread finished. For the migration session deliveryTime is the total time of the tape thread and drainingTime always equal 0.
-
Victor Kotlyar authored
CASTOR-4982: tapeserverd should tolerate some non-fatal tape alerts before writing Fixed. Add logic to the TapeWriteSingleThread to skip not-fatal tape alerts before writing to the tape. Only "Lost statistics" tapeAlertLostStatistics 0x32 tolerated as non-fatal.
-
Victor Kotlyar authored
CASTOR-5042: The SCSI layer of the tape server overlooks SCSI errors not coming from the target Fixed. Add output for all errors available for SCSI call. The logic implemented is to go through all errors in the following order: status, host_status, driver_status. In case of particular error an appropriate exception generated.
-
- Oct 05, 2016
-
-
Eric Cano authored
-
Victor Kotlyar authored
83ab8201100d1bcdd5c6d056fd5a395c24bcb885 Get detailed Firmware Version - Differentiate SCSI Inquiry for Oracle to get firmware version minor version - Change getDriveFirmwareVersion() to get firmware version from SCSI backend 6481bcabc4907c8a1813253fe9a2d40cd67d07fe Provide DriveGeneric inquiry implementation for DriveMHVTL 2033932f133b9eb7469190972a4f228dd8b16396 Move Oracle inquiry structure handling inside DriveT10000::getDeviceInfo() a8be8c16a4e3af2f952676f1138213d7e5584705 Merge branch 'tape-firmware' into 'master' Get detailed Firmware Version ## Description - Differentiate SCSI Inquiry for Oracle to get firmware version minor version - Change getDriveFirmwareVersion() to get firmware version from SCSI backend ## Change in logs Old version: firmwareVersion="468E" # IBM firmwareVersion="4.11" # Oracle New version: firmwareVersion="468E" # IBM firmwareVersion="4.11.111" # Oracle
-
Victor Kotlyar authored
-
Victor Kotlyar authored
c5c8509eaf971b2c37a1b2c333693474e14da31b ported only radosstriper part of tapserverd CASTOR-4739 tapeserverd should support localfile, rfio, xroot and rados striper access for disk files Implemented the support for direct rados striper support in tapeserverd. The expected URL is currently: radosstriper:///user@pool:filePath (with no ':' in user and pool). 078bd4b88b19a5d879c5e92d5a6469e645a2f7a2 Added missing test for the radosstriper URL parsing regex and fixed it. b797c72352d03db79cf62471b8eeec65c4fa1270 Fixed call striperPool: we now call the exception throwing version.
-
- Oct 04, 2016
-
-
Victor Kotlyar authored
CASTOR-5190 tapeserverd should have one disk file factory per disk thread (instead of per thread pool) Moved the factory to the individual threads for disk read and writes.
-
Victor Kotlyar authored
Added a configuration parameter for Xrootd timeouts in tapeserverd.
-
- Oct 03, 2016
-
-
Victor Kotlyar authored
-
Victor Kotlyar authored
d28aa41f02ffe8e944e3981d51a73a261613affa Volume SCSI metrics implementation for Oracle T10K After new update of firmware (4.11), Oracle has introduced an implementation for SCSI page 0x17. Integrating metrics to CASTOR. d140f448f8913f0573940a39d391b384d5296dc7 Add comment for Oracle specific implementation on Volume SCSI page 0x17 1f7c854f222633ea0d7e2c717dc38e276c899a13 Volume SCSI metrics implementation for Oracle T10K ## Description After new update of firmware (4.11), Oracle has introduced an implementation for SCSI page 0x17 (Volume statistics). Integrating metrics to CASTOR. ## Metrics * validity * lifetimeVolumeMounts * lifetimeVolumeRecoveredWriteErrors * lifetimeVolumeRecoveredReadErrors * volumeManufacturingDate adb79718f17b668d9ac5d19b26708a1b9975150e b51dfaafc546047d580d7d609621f88bc9d40f4b Add unimplemented MHVTL Volume Statistics SCSI page Page 0x17 is not implemented in MHVTL. As it inherits from DriveT10000D, it should be overridden in order to return empty map of metrics values. 8a810d013ace455722b79125586e9551c73716d8 Add unimplemented MHVTL Volume Statistics SCSI page ## Description Page 0x17 is not implemented in MHVTL. As it inherits from DriveT10000D, it should be overridden in order to return empty map of metrics values.
-
Victor Kotlyar authored
da054c343578da49fad9792c32a9ed3068c6b6f8 Removed redundant setting of the TPVID paramter while mounting the tape. This had the nasty side effect of removing the parameter after leaving the functions (for all the following logs). a354b3ee7996494fb78fb0337e91cb567f0ae8f0 CASTOR-5323 Tapeserver logs inconsistencies Removed duplicate setting of a scoped TPVID parameter in the logs. When going out of scope, the parameter made TPVID disappear from following logs, which is not desired.
-
Victor Kotlyar authored
e13f841a8c21d35f1bf75dc63d8c98b21d8dd8cb b69feea3520772a7515d3faa4bf0b8f6106c5a37 Add drive's serial number to logs ## Description Add the drive's serial number, as read by the SCSI Inquiry command to the SCSI metrics log lines. ## Changes * Add the line to the logs * Modify session test to check existence of the property in the log * line
-
- Sep 30, 2016
-
-
Victor Kotlyar authored
fa889fed2541e22179b5e035d863f87e7be18fb9 CASTOR-5322 RFE: Enhance tapeserverd logs with SCSI tape drive statistics b13f495e4ee229b2469f9470a2ffa6b4003a29ec Fix for mhtvl scsi log sense exceptions ad71058fbcb6de85e0440797d7ffa5358e26bf89 CASTOR-5329 Enhance tape statistics 806e48f4285122d8ab9f118364a15e740518028f CASTOR-5332 RFE: Reduce log level to INFO with MHVTL - SCSI Statistics could not be acquired from drive 79c5a4c2c36b7acc5b10505ca1694fd521fc6832 c7f6d4d7aaa564b37c2b36c3110dfe2fc96ec970 Move volume SCSI statistics inside the dtor of TapeCleaningMove volume SCSI statistics inside the dtor of TapeCleaning ## Description When first introduced volume SCSI Statistics (at the moment IBM-specific), we explicitly put the function after the unmount of the tape was done due to an invalid file descriptor error occurring during the SCSI query. This bug no longer occurs for IBM drives. This may be attributed to the update of firmware of the IBM drives Apart from the change of the position of the changes, there is no alteration in terms of the metrics reported from the drive to the logs. ## Testing The tests the new code has been through are: * Write/Read file on IBM lib0 drive *(older one)* * Write/Read file on IBM lib4 drive *(newer one)* * Write/Read file on Oracle T10k drive
-
- Sep 28, 2016
-
-
Victor Kotlyar authored
Fixed 32-bit limit bug in DiskWriteTask::checkErrors. Refs: commit e13f841a8c21d35f1bf75dc63d8c98b21d8dd8cb in castor/master
-
Victor Kotlyar authored
Fixed negative number representation in memory when casting int32 to int64. The problem occurs when using readtp with out of order fseqs.
-
Victor Kotlyar authored
15194eaf055ddf277cd7869bd89b8f42655ede9f from castor/master Fixed parsing of the xroot URLs for ceph case.
-
Victor Kotlyar authored
d1689f3b72329bcc6c342666095567f547f1678f from castor/master CASTOR-4909: tapeserverd tries to unmount the tape when the mount failed... Made the ignoring of exception throw by DriveGeneric::waitUntilReady more specific: we now ignore timeouts, but not the other exceptions.
-
- Sep 27, 2016
-
-
Victor Kotlyar authored
With respect to crc32c, modified error logs so that they are different in different contexts
-
Victor Kotlyar authored
Fixed late conversion to float which led to rounding errors when evaluating per file write transfer speed.
-
Victor Kotlyar authored
CASTOR-5419: Ceph aborts when writing a 0-sized buffer Prevented writes of zero size in DiskWriteTask. They happen when we read from tape a file aligned with the memory block size.
-
- Sep 26, 2016
-
-
Eric Cano authored
-
- Sep 23, 2016
- Sep 16, 2016
-
-
Eric Cano authored
-
Eric Cano authored
-
Eric Cano authored
-
Victor Kotlyar authored
-
Eric Cano authored
-
- Sep 15, 2016
- Sep 14, 2016
-
-
Victor Kotlyar authored
-
Eric Cano authored
-
- Sep 13, 2016
-
-
Eric Cano authored
-