Developments for tape CERN IT Department CH-1211 Genève 23 Switzerland www.cern.ch/i t DSS Developments for tape CASTOR workshop 2012 Author: Steven Murray.

Slides:



Advertisements
Similar presentations
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS CASTOR Status Alberto Pace.
Advertisements

Chapter 9 Part III Linux File System Administration
Device Drivers. Linux Device Drivers Linux supports three types of hardware device: character, block and network –character devices: R/W without buffering.
11 BACKING UP AND RESTORING DATA Chapter 4. Chapter 4: BACKING UP AND RESTORING DATA2 CHAPTER OVERVIEW Describe the various types of hardware used to.
16/9/2004Features of the new CASTOR1 Alice offline week, 16/9/2004 Olof Bärring, CERN.
Modifying the SCSI / Fibre Channel Block Size Presented by Keith Bonneau, John Chrzanowski and Craig O’Brien Advised by Robert Kinicki and Mark Claypool.
Common System Components
Hugo HEPiX Fall 2005 Testing High Performance Tape Drives HEPiX FALL 2005 Data Services Section.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS New tape server software Status and plans CASTOR face-to-face.
© 2006, The Technology FirmWWW.THETECHFIRM.COM 1 WINDOWS XP SUPPORT TOOLS.
Module 10 Configuring and Managing Storage Technologies.
CERN IT Department CH-1211 Genève 23 Switzerland t Tape-dev update Castor F2F meeting, 14/10/09 Nicola Bessone, German Cancio, Steven Murray,
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Design and Implementation of a Linux SCSI Target for Storage Area Networks Ashish A. PalekarAnshul Chaddha, Trebia Networks Narendran Ganapathy, 33 Nagog.
October, Scientific Linux INFN/Trieste B.Gobbo – Compass R.Gomezel - T.Macorini - L.Strizzolo INFN - Trieste.
Slide 1 DESIGN, IMPLEMENTATION, AND PERFORMANCE ANALYSIS OF THE ISCSI PROTOCOL FOR SCSI OVER TCP/IP By Anshul Chadda (Trebia Networks)-Speaker Ashish Palekar.
Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze Unit OS6: Device Management 6.1. Principles of I/O.
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
Design and Implementation of a Multi-Channel Multi-Interface Network Chandrakanth Chereddi Pradeep Kyasanur Nitin H. Vaidya University of Illinois at Urbana-Champaign.
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
CERN IT Department CH-1211 Geneva 23 Switzerland t Storageware Flavia Donno CERN WLCG Collaboration Workshop CERN, November 2008.
CERN IT Department CH-1211 Genève 23 Switzerland t Tier0 Status - 1 Tier0 Status Tony Cass LCG-LHCC Referees Meeting 18 th November 2008.
CERN IT Department CH-1211 Genève 23 Switzerland t Castor development status Alberto Pace LCG-LHCC Referees Meeting, May 5 th, 2008 DRAFT.
CERN IT Department CH-1211 Genève 23 Switzerland t Internet Services Overlook of Messaging.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS Tape Monitoring Vladimír Bahyl IT DSS TAB Storage Analytics.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
 CASTORFS web page - CASTOR web site - FUSE web site -
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
CERN - IT Department CH-1211 Genève 23 Switzerland t CASTOR Status March 19 th 2007 CASTOR dev+ops teams Presented by Germán Cancio.
CASTOR: CERN’s data management system CHEP03 25/3/2003 Ben Couturier, Jean-Damien Durand, Olof Bärring CERN.
Operating Systems & Information Services CERN IT Department CH-1211 Geneva 23 Switzerland t OIS Update on Windows 7 at CERN & Remote Desktop.
New stager commands Details and anatomy CASTOR external operation meeting CERN - Geneva 14/06/2005 Sebastien Ponce, CERN-IT.
CERN - IT Department CH-1211 Genève 23 Switzerland t OIS Deployment of Exchange 2010 mail platform Pawel Grzywaczewski, CERN IT/OIS HEPIX.
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
GLOBAL EDGE SOFTWERE LTD1 R EMOTE F ILE S HARING - Ardhanareesh Aradhyamath.
CERN IT Department CH-1211 Genève 23 Switzerland t Load Testing Dennis Waldron, CERN IT/DM/DA CASTOR Face-to-Face Meeting, Feb 19 th 2009.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS Castor incident (and follow up) Alberto Pace.
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS New tape server software Status and plans CASTOR face-to-face.
CERN IT Department CH-1211 Genève 23 Switzerland t HEPiX Conference, ASGC, Taiwan, Oct 20-24, 2008 The CASTOR SRM2 Interface Status and plans.
Copyright © Genetic Computer School 2008 Computer Systems Architecture SA 8- 0 Lesson 8 Secondary Management.
CERN IT Department CH-1211 Genève 23 Switzerland t Migration from ELFMs to Agile Infrastructure CERN, IT Department.
CERN - IT Department CH-1211 Genève 23 Switzerland Tape Operations Update Vladimír Bahyl IT FIO-TSI CERN.
Virtual File System for Streaming Video Developers: – Uri Goldenberg – Henry Abravanel
Data & Storage Services CERN IT Department CH-1211 Genève 23 Switzerland t DSS Data architecture challenges for CERN and the High Energy.
CERN IT Department CH-1211 Genève 23 Switzerland t SL(C) 5 Migration at CERN CHEP 2009, Prague Ulrich SCHWICKERATH Ricardo SILVA CERN, IT-FIO-FS.
CERN IT Department CH-1211 Genève 23 Switzerland t The Tape Service at CERN Vladimír Bahyl IT-FIO-TSI June 2009.
INDIANAUNIVERSITYINDIANAUNIVERSITY Tsunami File Transfer Protocol Presentation by ANML January 2003.
CERN IT Department CH-1211 Genève 23 Switzerland t Increasing Tape Efficiency Original slides from HEPiX Fall 2008 Taipei RAL f2f meeting,
Tape write efficiency improvements in CASTOR Department CERN IT CERN IT Department CH-1211 Genève 23 Switzerland DSS Data Storage.
CERN IT Department CH-1211 Genève 23 Switzerland t Bamboo users meeting IT-CS-CT.
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
System Components Operating System Services System Calls.
CERN IT Department CH-1211 Genève 23 Switzerland t DPM status and plans David Smith CERN, IT-DM-SGT Pre-GDB, Grid Storage Services 11 November.
CERN - IT Department CH-1211 Genève 23 Switzerland CERN Tape Status Tape Operations Team IT/FIO CERN.
Tgt: Framework Target Drivers FUJITA Tomonori NTT Cyber Solutions Laboratories Mike Christie Red Hat, Inc Ottawa Linux.
Computer System Structures
CASTOR: possible evolution into the LHC era
Module 3: Operating-System Structures
Tape Drive Testing IBM 3592.
UBUNTU INSTALLATION
Tape Drive Testing.
Operating System Structure
Chapter 3: Operating-System Structures
CASTOR: CERN’s data management system
Basic Concepts Protection: Security:
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Presentation transcript:

Developments for tape CERN IT Department CH-1211 Genève 23 Switzerland t DSS Developments for tape CASTOR workshop 2012 Author: Steven Murray

CERN IT Department CH-1211 Genève 23 Switzerland t Internet Services DSS Developments for tape - 2 Contents Immediate tape marks Patching the SLC6 st driver Configuring the bulk interface of tape The solution to UNKNOWN tape drives Virtual tape library - mhvtl

Data & Storage Services Before immediate tape marks Developments for tape - 3 Legacy tape transfer-manager RTCPCLIENTD Drive scheduler VDQM Legacy tape reader/writer RTCPD 1. Mount tape 2. File info 3. Write header file 4. Flush buffer 5. Write user file 6. Flush buffer 7. Write trailer file 8. Flush buffer 9. Wrote file 3 flushes per user file ≈ 5 seconds ≈ 1.2 GB that could have been written

Data & Storage Services What is an immediate tape mark Synchronous tape mark - Mark the end of file and flush struct mtop mtop; mtop.mt_op = MTWEOF; mtop.mt_count = 1; ioctl(tapefd, MTIOCTOP, &mtop); Immediate tape mark – Just mark the end of file; no flush struct mtop mtop; mtop.mt_op = MTWEOFI; mtop.mt_count = 1; ioctl(tapefd, MTIOCTOP, &mtop); Flush tape drive buffer - Flush struct mtop mtop; mtop.mt_op = MTWEOF; mtop.mt_count = 0; ioctl(tapefd, MTIOCTOP, &mtop); Developments for tape - 4

Data & Storage Services After immediate tape marks Developments for tape - 5 Drive scheduler VDQM 1. Mount tape Tape gatewa y 2. File info for N files For N files or data loop 3. Write header file 4. Write user file 5. Write trailer file End loop 6. Flush buffer 7. Wrote N files Protocol bridge Legacy tape reader/writer RTCPD Legacy tape transfer-manager RTCPCLIENTD Tape format has not been changed! Bulk protocol Drive buffer flushed less often

Data & Storage Services Results of immediate tape marks Developments for tape - 6

Data & Storage Services SLC5 st driver has 2 patches MTWEOFI –Provides support for immediate tape marks –CASTOR cannot run without it MTIOCSENSE –Improves error diagnosis –CASTOR can run without it. Developments for tape - 7

Data & Storage Services SLC6 st driver has 1 patch The SLC6 st driver currently has the MTWEOFI patch The SLC6 st driver is used by virtual tape servers Real hardware will decide whether or not we require the MTIOCSENSE patch Developments for tape - 8

Data & Storage Services Tape bulk-interface configuration TAPEBRIDGE BULKREQUESTMIGRATIONMAXBYTES –The maximum number of bytes a set of files to migrate should represent TAPEBRIDGE BULKREQUESTMIGRATIONMAXFILES –The maximum number of files in a migration set TAPEBRIDGE BULKREQUESTRECALLMAXBYTES –The maximum number of bytes a set of files to recall should represent TAPEBRIDGE BULKREQUESTRECALLMAXFILES –The maximum number of files in a recall set Developments for tape - 9

Data & Storage Services UNKNOWN tape drives fixed Drives stuck in UNKNOWN in the VDQM Operator had to manually DOWN and UP drives After 5 years bug was tracked to the new VDQM Race condition between an unused monitoring message and a state change message Race condition removed in tape servers Developments for tape - 10

Data & Storage Services Architecture of mhvtl Developments for tape - 11 st driver sg driver SCSI mid-layer mhvtl driver (pseudo host bus adapter - HBA) vtltape daemon vtltape daemon vtllibrary daemon vtllibrary daemon rtcpd daemon rtcpd daemon rmcd daemon rmcd daemon User Space Kernel space

Data & Storage Services mhvtl configuration and data files Configuration files are in /etc/mhvtl –device.conf Specifies the tape library and drive devices –mhvtl.conf Default media capacity syslog verbosity of the vtltape and vtllibrary daemons Kernel module debugging level Data files are in /opt/mhvtl –One directory per tape Developments for tape - 12

Data & Storage Services rpms of mhvtl Available from the Enterprse Linux Repository SLC5 rpms –mhvtl-utils el5.elrepo User-space daemons and clients –kmod-mhvtl el5.elrepo Kernel module SLC6 rpms –mhvtl-utils el6.elrepo.x86_64.rpm –kmod-mhvtl el6.elrepo.x86_64.rpm Developments for tape - 13

Data & Storage Services mhvtl compression statistics Victor Kotlyar helped fix the mhvtl compression statics LOG SELECT: Fix off-by-one issues – Implement Parameter Code Reset in LOG SELECT – mhvtl was created by Mark Harvey (MH vtl). Thanks to contact this new version was built in general ELRepo (Enterprse Linux Repository). Developments for tape - 14