Page 2 - IBM Storage with Linux 2005
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation IBM Storage with Linux 2005 Alexander WarmuthATS EMEA Storage
Page 3 - Topics
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Topics What is supported The Linux SCSI subsystem Linux Kernel version 2.6 Multipathing scenarios Tape specifics
Page 4 - What Is Supported
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation What Is Supported What is supported The Linux SCSI subsystem Linux Kernel version 2.6 Multipathing scenarios Tape specifics
Page 5 - IBM Storage Support for Linux
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation IBM Storage Support for Linux DS4000 Storage Servers Enterprise Storage Server Linear Tape Open Enterprise Tape Network Attached Storage Storage Virtualization
Page 6 - pLinux Support Disk
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation pLinux Support Disk ESS: SLES8, SLES9, RH-EL 3 SDD available JS20, p5 and OP: SLES9, RH-EL 3 Remote boot supported DS6000, DS8000: SLES8, SLES9, RH-EL 3 SDD available JS20: SLES8, SLES9, RH-EL 3 p5 and OP: RH-EL 3 only Remote...
Page 7 - pLinux Support Tape
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation pLinux Support Tape LTO: SLES 8, SLES 9, RH-EL 3 Data Path (for 3584) and Media Changer failover supported 359x: SLES 8, SLES 9, RH-EL 3 Data path failover supported for 3592 Parallel SCSI attachment also supported Advanced IBMta...
Page 8 - The Linux SCSI Subsystem
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation The Linux SCSI Subsystem What is supported The Linux SCSI subsystem Linux Kernel version 2.6 Multipathing scenarios Tape specifics
Page 9 - Linux Device Addressing; Everything is a file!
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Linux Device Addressing brw-rw---- 1 root disk 8, 0 2003-03-14 14:07 /dev/sda brw-rw---- 1 root disk 8, 1 2003-03-14 14:07 /dev/sda1 brw-rw---- 1 root disk 3, 0 2003-03-14 14:07 /dev/hda crw-rw---- 1 root disk 9, 0 2003-03-14 14:07 /dev/st0 cr...
Page 10 - Design
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Design SD disks block device (sd_mod.o) User Space Kernel Space SG pass-through char device (sg.o) ST tapes char device (st.o) SR cdrom/dvd block device (sr_mod.o) SCSI unifying layer (scsi_mod.o, scsi*.[hc], hosts.[hc], constants.c) SCSI / FC...
Page 11 - Linux Kernel Version 2.6
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Linux Kernel Version 2.6 What is supported The Linux SCSI subsystem Linux Kernel version 2.6 Multipathing scenarios Tape specifics
Page 12 - Storage Changes in Linux Kernel 2.6
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Storage Changes in Linux Kernel 2.6 Increased number of SCSI devices Persistent device names Improved hotplugging Native multipathing LVM 2 Improved I/O performance Larger devices and filesystems
Page 13 - Wellknown Linux SCSI Limitations; Fixed with Kernel
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Wellknown Linux SCSI Limitations Limited number of devices Up to 256 SCSI disk devices Up to 256 SCSI generic devices Up to 32 tape drives Gaps in LUN sequence Limited “on-the-fly” attachment Device re-ordering Fixed with Kernel ...
Page 14 - Other Problems and Pitfalls
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Other Problems and Pitfalls Multiple LUN support of RH-EL DS4000 Specific QLogic failover driver configuration Potential LUN thrashing UTM (Access LUN) ESS, DS6000, DS8000 Specific SDD and LVM, ext3 Mounting PPRC targets DS60...
Page 15 - Large filesystems support
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Large filesystems support Linux Kernel Limits Max file size: 2 TB (2^41 bytes) Max file system size: 8 ZB (2^73 bytes)
Page 16 - Multipathing Scenarios
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Multipathing Scenarios What is supported The Linux SCSI subsystem Linux Kernel version 2.6 Multipathing scenarios Tape specifics
Page 17 - Multipathing Concepts
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Multipathing Concepts Linux host 1 HBA 0 Disk LUN 0 HBA 1 Linux host 2 HBA 0 HBA 1 DS4000 A B Linux host 1 HBA 0 Disk LUN 0 HBA 1 Linux host 2 HBA 0 HBA 1 1 2 Linux host 1 HBA 0 Disk LUN 0 HBA 1 Linux host 2 HBA 0 HBA 1 1 2 DS6000 DS8000
Page 18 - LUN Transfer to Alternate Controller
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation LUN Transfer to Alternate Controller DS4000 transfers LUNs to alternate controller Volumes are owned by one controller Volumes can be accessed through both controllers Volume ownership is always transferred to the controller that is us...
Page 19 - LUN Thrashing Scenario
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation LUN Thrashing Scenario Linux host 1 HBA 0 Disk LUN 0 HBA 1 Linux host 2 HBA 0 HBA 1 DS4000 A B
Page 22 - Multipathing with RDAC
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Multipathing with RDAC Must use QLogic non-failover driver Always uses current path (as reported by DS4000) RDAC installation FC HBA driver must be installed and loaded At least one LUN must be assigned and available Must use Host ...
Page 23 - RDAC Shared Data Scenario
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation RDAC Shared Data Scenario Linux host 1 HBA 0 Disk LUN 0 HBA 1 Linux host 2 HBA 0 HBA 1 DS4000 A B
Page 26 - Preferred Path
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Preferred Path DS6000 uses concept of preferred path Volumes are owned by one controller Volumes can be accessed through both controllers Data is transferred to and from owning controller to requesting controller internally -> perfo...
Page 27 - Preferred Path Shared Data Scenario
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Preferred Path Shared Data Scenario Linux host 1 HBA 0 Disk LUN 0 HBA 1 Linux host 2 HBA 0 HBA 1 1 2 DS6000
Page 31 - Host Ports Independent of Controller
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Host Ports Independent of Controller ESS and DS8000 have independent host ports Volumes are owned by one controller All host ports can communicate with both controllers Dynamic load balancing across all ports possible
Page 32 - Independent Host Port Shared Data Scenario
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Independent Host Port Shared Data Scenario Linux host 1 HBA 0 Disk LUN 0 HBA 1 Linux host 2 HBA 0 HBA 1 1 2 DS8000
Page 35 - Tape Specifics
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Tape Specifics What is supported The Linux SCSI subsystem Linux Kernel version 2.6 Multipathing scenarios Tape specifics
Page 36 - IBMtape driver
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation IBMtape driver For download as binary rpm package Kernel module IBMtape.o Required to utilize all LTO capabilies Manages medium changer failover Provides new devices and ioctl Daemon IBMtaped NDMC-7:/ # ls -l /dev/IBM* crw-rw-rw- 1...
Page 37 - IBMtapeUtil
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation -------------------------- General Commands: ----------------------------- 1. Open a Device 7. Request Sense 2. Close a Device 8. Log Sense Page 3. Inquiry 9. Mode Sense Page 4. Test Unit Ready 10. Switch Tape/Changer Device 5. Reserve Device ...
Page 38 - Use LTO Devices
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Use LTO Devices Native tools: mt, mtx, IBMtapeutil applications: cpio, tar, taper, afio 3 rd party applications All major backup solutions available for Linux Attention: some are only tested with parallel SCSI attachment Check IS...
Page 39 - Native Library Management; SCSI tape drive
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Native Library Management Linux tool for media changers: mtx Media changer is addressed through SCSI generic device mtx -f /dev/sg1 inquiry mtx -f /dev/sg2 status mtx -f /dev/sg2 load <slotnum> [ <drivenum> ] /dev/sg0 - interna...
Page 40 - Medium Changer Failover
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Medium Changer Failover Automatitcally moves robot control to another drive in case of a failure Available for 2582, 3583, 3584 Enabled as an option for IBMtape driver Check the /proc/scsi/IBMchanger file Linux host HBA SCSI / FC tape ...
Page 41 - Tape and Disk Connected to the Same HBA
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Tape and Disk Connected to the Same HBA Linux host HBA 0 Disk LUN 0 HBA 1 Disk LUN 1 HBA 2 SCSI / FC tape SCSI / FC tape Robot Linux host HBA 0 Disk LUN 0 HBA 1 Disk LUN 1 SCSI / FC tape SCSI / FC tape Robot Possible, but not recommended U...
Page 42 - Questions & Discussion; What are your customers needs?
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Questions & Discussion More Questions? What are your customers needs? Contact: [email protected]
Page 45 - LTO Resources
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation LTO Resources LTO Compatibility Information LTO ISV Matrix http://www.storage.ibm.com/tape/lto/compatibility.html LTO Downloads http://www.ibm.com/servers/storage/support/lto/ltodownloads.html ftp://ftp.software.ibm.com/storage/devdrvr/L...
Page 46 - Redbooks
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Implementing Linux with IBM Disk Storage http://www.redbooks.ibm.com/redbooks/pdfs/sg246261.pdf Linux with xSeries and FAStT: Essentials http://www.redbooks.ibm.com/redbooks/pdfs/sg247026.pdf Implementing IBM LTO in Linux and Windows htt...
Page 47 - White Papers
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation White Papers FAStT and Linux HowTo http://www.ibm.com/developerworks/eserver/articles/install_fibre/index.html FAStT and RH AS Cluster http://www.ibm.com/servers/esdd/articles/redhat/index.html ESS Attachment to United Linux 1 (IA-32) ht...
Page 48 - Legal Notices
IBM Systems Group AIX-AK FZK 2005 © 2005 IBM Corporation Legal Notices Both Linux and Storage are rapidly changing environments. This information is presented "as is" without any warranty of any kind. Customers are responsible for determining the suitability to their respective environments....