Tapetype definitions

From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)

Revision as of 22:39, 12 September 2012 by Sean P. Kane (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents


If you don't find exactly the tapetype you need, you may be able to customize an existing definition. Or you can run amtapetype(8), which takes some time (expect 5-8 hours). The program will fill a scratch tape twice with random data. When running "amtapetype" yourself be sure to add a realistic estimate option: "amtapetype -e 200g ...", otherwise, the program could take days to complete.

Running amtapetype on your installation instead of just using the values found here allows you to verify the capacity (is hardware compression "on" by mistake?) and speed (is there a problem with my SCSI chain?).

Not all tapes have exactly the same length, therefor some length values have been rounded down, as noted in the entries. This allows Amanda to do better planning, because you waste a lot of capacity when the last few bytes of a multi-gigabyte dump do not fit on the tape.

When rolling your own tapetype, you may refer to the tapetype section of amanda.conf(5).

You should have compression enabled in only one place. You can enable it in the dump type for either the client or the server, or in many cases on the tape drive. In general, you are usually better off compressing on the client or server, not the tape drive.

Quantum DLTS4

  • Attached to SuperLoader 3 on Solaris 10
amtapetype -o -t DLT-S4 -e 800g -f /dev/rmt/0n
Writing 1024 Mbyte   compresseable data:  31 sec
Writing 1024 Mbyte uncompresseable data:  31 sec
Estimated time to write 2 * 819200 Mbyte: 49600 sec = 13 h 46 min
wrote 24641536 32Kb blocks in 94 files in 23429 seconds (short write)
wrote 24772608 32Kb blocks in 189 files in 23638 seconds (short write)
define tapetype DLT-S4 {
   comment "just produced by tapetype prog (hardware compression off)"
   length 772096 mbytes
   filemark 0 kbytes
   speed 33596 kps
}

Quantum DLT8000

  • Attached to Adaptec 2940 Fast-SCSI (10MB/s)
define tapetype DLT8000 {
    comment "Quantum DLT8000 created by tapetype"
    length 38130 mbytes
    filemark 29 kbytes
    speed 5627 kps
}

Quantum DLT4000

20.0 GB Capacity, Hardware Compression Disabled

define tapetype QUANTUM-DLT4000 {
    comment "Quantum DLT4000 (hardware compression disabled)"
    length 19534 mbytes
    filemark 4 kbytes
    speed 1096 kps
}

20.0 GB Capacity, Hardware Compression Enabled

define tapetype QUANTUM-DLT4000-HWC {
    comment "Quantum DLT4000 (hardware compression enabled)"
    length 17541 mbytes
    filemark 4 kbytes
    speed 1008 kps
}

Quantum SDLT600

  • Attached to Adaptec 2940 Fast-SCSI (10MB/s)
define tapetype SDLT600 {
    comment "Quantum SDLT600 with 10MB/s"
    length 306789 mbytes
    filemark 0 kbytes
    speed 8247 kps
}
  • Attached to Adaptec 19160 SCSI-160 LVD (160MB/s)
define tapetype SDLT600 {
    comment "Quantum SDLT600 with SCSI-3"
    length 304896 mbytes
    filemark 0 kbytes
    speed 31703 kps
}

HP Super DLTape II

  • Attached to HP (Symbios Logic) 53c1030 Fusion-MPT Dual Ultra320 SCSI, created using 'tapetype'
  • HP StorageWorks SDLT 600 GB Tape Drive
  • (!) PLEASE VERIFY (!)
  • amtapetype -f /dev/nst0 -e300G
  • Writing 4096 Mbyte compresseable data: 45 sec
  • Writing 4096 Mbyte uncompresseable data: 137 sec
  • WARNING: Tape drive has hardware compression enabled
  • Estimated time to write 2 * 307200 Mbyte: 20550 sec = 5 h 42 min
  • wrote 8749056 32Kb blocks in 89 files in 10078 seconds (short write)
  • wrote 8749056 32Kb blocks in 179 files in 9959 seconds (short write)
 define tapetype SDLT320 {
     comment "HP Super DLTtape II, data cartridge, Q2020A"
     length 274176 mbytes
     filemark 0 kbytes
     speed 28025 kps
 }

Quantum SDLT320

  • Attached to Adaptec 3960D Ultra160 SCSI adapter, created using 'tapetype'
  • amtapetype -f /dev/st1 -e 200g
  • Writing 2048 Mbyte compresseable data: 36 sec
  • Writing 2048 Mbyte uncompresseable data: 153 sec
  • WARNING: Tape drive has hardware compression enabled
  • Estimated time to write 2 * 204800 Mbyte: 30600 sec = 8 h 30 min
  • wrote 4456448 32Kb blocks in 68 files in 10356 seconds (short write)
  • wrote 4489216 32Kb blocks in 137 files in 10123 seconds (short write)
 define tapetype SDLT320 {
     comment "HP Super DLTtape I, data cartridge, C7980A"
     length 139776 mbytes
     filemark 0 kbytes
     speed 13980 kps
 }

Dell

Powervault 110T SDLT320

  • Dell Powervault 110T SDLT320, with hardware compression on
  • amtapetype -e 160G -f /dev/nst0
 define tapetype SDLT320 {
     comment "PowerVault 110T SDLT320 (hw compression on) - tapetype /dev/nst0"
     length 140900 mbytes
     filemark 0 kbytes
     speed 14163 kps
 }

Powervault TL4000 (SAS) LTO5

define tapetype DELL-TL4000-LTO5 {
    comment "Created by amtapetype for DELL TL4000 LTO5; compression enabled"
    length 1483443872 kbytes
    filemark 1200 kbytes
    speed 70322 kps
    blocksize 512 kbytes
}

Quantum SDLT220

Quantum SDLT 220 with hardware compression turned off

define tapetype sdlt220nocomp {
  comment "just produced by tapetype prog (hardware compression off)"
  length 109539 mbytes
  filemark 0 kbytes
  speed 10351 kps
}

Quantum DLT-V4

  • Attached to Adaptec 29160 Ultra160 SCSI adapter, using DLT-VS1 tape: created using 'tapetype' by davee@ceu.ox.ac.uk
  • The same for Adaptec 2940 UW
 define tapetype Quantum-DLT-V4 {
     comment "Quantum-DLT-V4 on Adaptec 29160"
     length 157284 mbytes
     filemark 0 kbytes
     speed 9936 kps
 }
  • Attached to SATA with Quantum DLTtape VS1
 define tapetype Quantum-DLT-V4 {
     comment "Quantum-DLT-V4 on SATA"
     length 140900 mbytes
     filemark 0 kbytes
     speed 8929 kps
 }

Freecom DLT-V4

  • Attached to Adaptec 29160, DLT-VS1 tape, using 'amtapetype', by mike@semantico.com
 $ sudo amtapetype -f /dev/nst0 -e 160g
 
 # Writing 1024 Mbyte   compresseable data:  25 sec
 # Writing 1024 Mbyte uncompresseable data:  119 sec
 # WARNING: Tape drive has hardware compression enabled
 # Estimated time to write 2 * 163840 Mbyte: 38080 sec = 10 h 34 min
 
 # wrote 4508808 32Kb blocks in 86 files in 16059 seconds (short write)
 # wrote 4508808 32Kb blocks in 172 files in 16576 seconds (short write)
 define tapetype Freecom-DLTV4 {
     comment "just produced by tapetype prog (hardware compression on)"
     length 140900 mbytes
     filemark 0 kbytes
     speed 8844 kps
 }

Sony AIT

Sony AIT-1 with 25/50 Gbyte tapes

 define tapetype AIT1{
     comment "AIT-1 with 170m tapes"
     length 21568 mbytes
     filemark 0 kbytes
     speed 2699 kps
 } 

Sony AIT-1 with 35/70 Gbyte tapes

  • Attached to Adaptec 2940 (10 MB/s)
 define tapetype AIT1-35 {
     comment "AIT1 cartridge 35/70 Gbyte compression off"
     length 33400 mbytes    # rounded down
     filemark 500 kbytes
     speed 2890 kps
 }

Sony AIT-2 with 50 Gbyte tapes

  • Attached to QLogic Corp. ISP1020 Fast-wide SCSI adaptor using Qlogic ISP SCSI (qla1x80/qla1x160) driver on OpenSuse 11.0 Linux
 define tapetype AIT-2 {
     comment "just produced by tapetype prog (hardware compression off)"
     length 48898 mbytes
     filemark 2788 kbytes
     speed 6078 kps
 }

Sony AIT-4 with 200 Gbyte tapes

  • Attached to Adaptec 29160B Ultra160 SCSI adaptor using Adaptec AIC7xxx driver version: 7.0 on OpenSuSE 11.0 Linux
 define tapetype AIT-4 {
   comment "just produced by tapetype prog (hardware compression off)"
   length 192512 mbytes
   filemark 0 kbytes
   speed 24106 kps
 }

Sony AIT-5 with 400 Gbyte tapes

  • Attached to a Sun E250 with Dual Ultra320 LVD SCSI PCI card
 define tapetype SONY-AIT5 {
     comment "SONY AIT5 8mm tape drive"
     length 389120 mbytes
     filemark 0 kbytes
     speed 24401 kps
 }

LTO Ultrium 1 with 100/200 Gbyte tapes

Following tape type definition works for:

  • Dell™ PowerVault™ 122T LTO
  • Seagate Ultrium 06242-XXX (LTO-1)
  • IBM 3581-H17 LTO1 (HVD SCSI)

Note: using hardware compression together with software compression does not lower the tape capacity, as many other tape drives do.

 define tapetype LTO {
   comment "just produced by tapetype prog (hardware compression off)"
   length 101376 mbytes
   filemark 0 kbytes
   speed 13872 kps
 }

LTO-2 (Ultrium 2)

Quantum LTO-2 HH tape drive Ultra 160 SCSI

  • Attached to onboard Adaptec AIC-7902W Controller (Ultra320 SCSI)
  • 200/400 TDK Ultrium 2 tape
 Writing 128 Mbyte   compresseable data:  47 sec
 Writing 128 Mbyte uncompresseable data:  49 sec 
 Estimated time to write 2 * 204800 Mbyte: 156800 sec = 43 h 33 min
 wrote 5701632 32Kb blocks in 87 files in 64572 seconds (short write)
 wrote 6225920 32Kb blocks in 190 files in 72766 seconds (short write)
 define tapetype quantum-lto2 {
   comment "just produced by tapetype prog (hardware compression off)"
   length 186368 mbytes
   filemark 0 kbytes
   speed 2781 kps
 }

Hewlett-Packard Ultrium 448

  • Attached to Adaptec 29160 (160 MB/s)

Note: using hardware compression together with software compression does not lower the tape capacity, as many other tape drives do.

 define tapetype LTO2-200 {
     comment "LTO Ultrium2 200/400"
     length 193024 mbytes
     filemark 0 kbytes
     speed 20570 kps
 }

Independent confirmation

  • amtapetype -o -t LTO2 -e 200g -f /dev/tape
 define tapetype LTO2 {
   comment "HP Ultrium 448 (hardware compression off)"
   length 193024 mbytes
   filemark 0 kbytes
   speed 20355 kps
 }
  • amtapetype -o -t LTO2 -e 400g -f /dev/tape
 define tapetype LTO2 {
   comment "HP Ultrium 448 (hardware compression off)"
   length 192512 mbytes
   filemark 0 kbytes
   speed 21342 kps
 }
  • amtapetype -o -t LTO2 -e 400g -f /dev/nst0
 define tapetype LTO2 {
   comment "just produced by tapetype prog (hardware compression on)"
   length 196608 mbytes
   filemark 0 kbytes
   speed 27626 kps
 }

Dell PV132T LTO2

  • Attached to an Adaptec 39160 under OpenBSD/amd64, Imation Black Watch tapes.
  • tape drive identifies as IBM ULTRIUM-TD2
  • pretty similar results with hardware compression on or off (presumably LTO compression bypass like HP unit above?)
 define tapetype DELL-LTO2-200 {
     comment "Dell PV132T LTO2 (hardware compression off)"
     length 201216 mbytes
     filemark 0 kbytes
     speed 31343 kps
 }

Dell PV 114T LTO2

  • amtapetype -o -t LTO2 -e 400g -f /dev/nst0
 define tapetype LTO2 {
   comment "Dell PV114T LTO2 (hardware compression on)"
   length 197632 mbytes
   filemark 0 kbytes
   speed 24099 kps
 }

IBM 3582 LTO2

  • Attached through Fibre Channel
  • Only tested with hardware compression on
 define tapetype IBM-Ultrium3582 {
     comment "IBM Ultrium 3582, produced by tapetype (hardware compression on)"
     length 199168 mbytes
     filemark 0 kbytes
     speed 30760 kps
 }

LTO Ultrium 3 with 400/800 Gbyte tapes

  • Attached to Adaptec 29160 (160 MB/s)
define tapetype LTO3-400 {
    comment "LTO Ultrium 3 400/800, compression off"
    length 402432 mbytes
    filemark 0 kbytes
    speed 71702 kps
}
define tapetype LTO3-400-HWC {
     comment "LTO Ultrium 3 400/800, compression on"
     length 401408 mbytes 
     filemark 0 kbytes
     speed 74343 kps
}
  • Attached to Adaptec 39160
  • Command issued : /usr/sbin/amtapetype -b 256k -e 400g -f /dev/nst0
  • Writing 2048 Mbyte compresseable data: 36 sec
  • Writing 2048 Mbyte uncompresseable data: 31 sec
  • Estimated time to write 2 * 409600 Mbyte: 12400 sec = 3 h 26 min
  • wrote 1540096 256Kb blocks in 94 files in 6874 seconds (short write)
  • wrote 1548288 256Kb blocks in 189 files in 7078 seconds (short write)
define tapetype LTO3-HP {
    comment "HP LTO Ultrium 3, 400/800, FujiFilm LTO3 cartridge, compression off"
    length 386048 mbytes
    filemark 0 kbytes
    speed 56677 kps
}

Tapetype Definition for HP Ultrium 960

  • Attached to HP 374654-B21 - 64-bit Single Channel Wide Ultra320 SCSI Controller
define tapetype HP-Ultrium-960 {
   comment "just produced by tapetypeprog (hardware compression off)"
   length 386048 mbytes
   filemark 0 kbytes
   speed 67629 kps
}

ARCvault 24

  • amtapetype -f /dev/nsa0 -e400G -t ARCvault24
  • Writing 1024 Mbyte compresseable data: 42 sec
  • Writing 1024 Mbyte uncompresseable data: 42 sec
  • Estimated time to write 2 * 409600 Mbyte: 33600 sec = 9 h 20 min
  • wrote 12320768 32Kb blocks in 94 files in 15167 seconds (short write)
  • wrote 12386304 32Kb blocks in 189 files in 14818 seconds (short write)
define tapetype ARCvault24 {
   comment "just produced by tapetype prog (hardware compression off)"
   length 386048 mbytes
   filemark 0 kbytes
   speed 26371 kps
}

Additional note on the Overland ARCvault on 2007-01-04

I got a little different results for the "speed" value at the end of my amtapetype (On Linux System - 600 MHz VIA EPIA Board). The whole output of my testrun:

# user@host: amtapetype -f /dev/nst0 -e400G -t ARCvault24
Writing 1024 Mbyte   compresseable data:  27 sec
Writing 1024 Mbyte uncompresseable data:  29 sec
Estimated time to write 2 * 409600 Mbyte: 23200 sec = 6 h 26 min
wrote 12320768 32Kb blocks in 94 files in 10090 seconds (short write)
wrote 12386304 32Kb blocks in 189 files in 10593 seconds (short write)
define tapetype ARCvault24 {
   comment "just produced by tapetype prog (hardware compression off)"
   length 386048 mbytes
   filemark 0 kbytes
   speed 38246 kps
}

Eventually interessting:

# user@host: cat /proc/scsi/scsi 
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: HP       Model: Ultrium 3-SCSI   Rev: D21H
  Type:   Sequential-Access                ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 01 Lun: 01
  Vendor: OVERLAND Model: NEO Series       Rev: 0217
  Type:   Medium Changer                   ANSI SCSI revision: 03

So, the Tapedrive in the Overland ARCvault-24 is some HP Ultrium 3 Drive.

Quantum Superload 3 LTO-3 16 Tape Library

define tapetype QS3LTO-3 {
     comment "Quantum Super Loader 3 LTO-3 16 tape library"
     length 448369 mbytes
     filemark 6403 kbytes
     speed 37739 kps
}

Dell PV124T LTO3

  • Attached to an Adaptec 3960D Ultra160 SCSI adapter under Linux RHEL4 U4 64-bit
  • DELL LTO Ultrium3 400/800 (native/compressed) tapes
  • tape drive identifies as IBM ULTRIUM-TD3
  • hardware compression off
define tapetype DELL-LTO3-400 {
    comment "Dell PV124T LTO3 (hardware compression off)"
    length 402432 mbytes
    filemark 0 kbytes
    speed 71189 kps
}

Independant confirmation

  • Attached to an Adaptec 29320ALP Ultra320 SCSI adapter, under Gentoo 2007.0, ACCEPT_KEYWORDS=~amd64, no other devices on same SCSI bus (all disks on a seperate controller).
  • Sony-branded LTO3 400/800 tapes
  • tape drive identifies as IBM ULTRIUM-TD3, revision 6B20
  • changer identifies as DELL PV-124T, revision 0043
  • changer works best with chg-zd-mtx
  • the tape gives near identical sizes (will paste soon) with hwcompression on and off, however with hwcompression on, it takes TWICE as long during the compression test.
define tapetype ULTRIUM-TD3 {
    comment "IBM ULTRIUM-TD3 with Sony LTO3 media (hardware compression off)"
    length 402432 mbytes
    filemark 0 kbytes
    speed 69766 kps
}

Slowness during compresssion:

# mt -f /dev/nst0 rewind ; mt -f /dev/nst0 compression 1 ; amtapetype -e 400G -f /dev/nst0 -c
Writing 4096 Mbyte   compresseable data:  34 sec
Writing 4096 Mbyte uncompresseable data:  56 sec
WARNING: Tape drive has hardware compression enabled
Estimated time to write 2 * 409600 Mbyte: 11200 sec = 3 h 6 min
# mt -f /dev/nst0 rewind ; mt -f /dev/nst0 compression 0 ; amtapetype -e 400G -f /dev/nst0 -c
Writing 2048 Mbyte   compresseable data:  29 sec
Writing 2048 Mbyte uncompresseable data:  30 sec
Estimated time to write 2 * 409600 Mbyte: 12000 sec = 3 h 20 min


Tandberg StorageLoader LTO3 (20 Slot)

  • Attached to Adaptec 29160 Controller
  • HP Ultrium 3 Drive (a second drive can be build-in)
  • Library Emulation: Exabyte EZ17
  • Tested with amanda 3.2.0 (self compiled) and mtx mtx-1.2.18-9 on CentOS 5
define tapetype LTO3 {
   comment "Tandberg StorageLoader LTO3 (hardware compression off)"
   length 379 gbytes
   filemark 806 kbytes
   blocksize 64 kbytes
}

LTO4

Tandberg LTO-4 HH

 define tapetype tandberg-lto4hh {
   comment "Tandberg LTO-4 HH; compression disabled"
   length 794001824 kbytes
   filemark 0 kbytes
   speed 50554 kps
   blocksize 32 kbytes
 }

Dell PowerVault LTO4-120 - LTO4-800 tape

define tapetype LTO4 {
   comment "Dell LTO4 800Gb - Compression Off"
   length 802816 mbytes
   filemark 0 kbytes
   speed 52616 kps
}

Arcvault 48 - HP LTO4-800 tape

define tapetype HPLTO4 {
   comment "HP LTO4 800gb - Compression Off"
   length 772096 mbytes
   filemark 0 kbytes
   speed 31368 kps
}


Overland NEO 4000 - HP LTO4-800 tape

  • Using Linux open-iscsi open-iscsi-2.0.870.3
  • Please remember to adjust your st buffers so you get better performance and prevent buffer overflows
  • In your modules.d: options st buffer_kbs=256
define tapetype HP-LTO4 {
   comment "HP LTO4 800gb - Compression Off"
   length 772096 mbytes
   filemark 0 kbytes
   speed 61784 kbytes  ##Linux iscsi using atto scsi bridge

}

HP StorageWorks 1/8 G2 LTO-4 Ultrium 1760 SAS Tape

define tapetype HP-LTO4 {
    comment "HP LTO4 800gb - SAS - Compression Off"
    readblocksize 64 kbytes
    length 772096 mbytes
    filemark 0 kbytes
    speed 71313 kps
}

LTO5

HP Ultrium 5, SpectraLogic T50e Fibre Channel Autoloader

define tapetype LTO5 {
   comment "HP LTO5 FC - compression off"
   length 1398 gbytes
   filemark 0 kbytes
   speed 124466 kps
}

DDS-2 90 meter tapes

  • Attached to Adaptec 2940
 define tapetype DDS90 {
     comment "DDS tapes drives - 90 meter tapes"
     length 1900000 kbytes # rounded down
     filemark 111 kbytes
     speed 380 kps
 }

DDS-3 125 meter tapes

HP Surestore 24x6

  • Attached to Adaptec AIC-7892B U160/m (rev 02)
$ amtapetype -f /dev/nst0 -e 12g -t surestore24x6 -o
Writing 32 Mbyte   compresseable data:  33 sec
Writing 32 Mbyte uncompresseable data:  33 sec
Estimated time to write 2 * 12288 Mbyte: 25344 sec = 7 h 2 min
wrote 373540 32Kb blocks in 95 files in 12250 seconds (No space left on device)
wrote 371574 32Kb blocks in 189 files in 12307 seconds (No space left on device)
 define tapetype surestore24x6 {
   comment "just produced by tapetype prog (hardware compression off)"
   length 11735 mbytes
   filemark 669 kbytes
   speed 970 kps
 }

Seagate 9SP40-000

  • Attached to Adaptec 29160
  • Note: This is for DDS-3 tapes in a DDS-4 drive.
$ sudo amtapetype -e 12g -o -f /dev/nsa0
Writing 128 Mbyte   compresseable data:  48 sec
Writing 128 Mbyte uncompresseable data:  48 sec
Estimated time to write 2 * 12288 Mbyte: 9216 sec = 2 h 33  min
wrote 373540 32Kb blocks in 95 files in 4927 seconds  (short write)
wrote 375506 32Kb blocks in 191 files in 4928 seconds  (short write)
define tapetype unknown-tapetype {
    comment "just produced by tapetype prog (hardware  compression off)"
    length 11703 mbytes
    filemark 0 kbytes
    speed 2432 kps
}

DDS-2 120 meter tapes

  • Attached to Adaptec 2940
 define tapetype DDS120 {
     comment "DDS tape drives - 120 meter tapes"
     length 3850000  # rounded down
     filemark 111 kbytes
     speed 380 kps
}

DDS-5 170 meter tapes

IBM DAT-72

  • Attached to PCI-X Dual Channel Ulta320 SCSI Adapter
  • AIX 5.2 IBM DAT-72 external tape drive compression enabled
  • amtapetype -e 36G -f /dev/rmt0.1
  • Writing 512 Mbyte compresseable data: 37 sec
  • Writing 512 Mbyte uncompresseable data: 200 sec
  • wrote 967272 32Kb blocks in 82 files in 12017 seconds (short write)
  • wrote 967272 32Kb blocks in 164 files in 12169 seconds (short write)
define tapetype IBM-DAT-72 {
   comment "DDS5, /dev/rmt0.1 (hardware compression on)"
   length 30227 mbytes
   filemark 0 kbytes
   speed 2559 kps
}

Sony DAT72 Changer (Dell branded)

  • Redhat Linux Workstation 3
  • Sony DAT72 Changer (Dell branded)
  • amtapetype -e 36G -o -f /dev/tape -t sonyCh_dds5
  • Writing 128 Mbyte compresseable data: 36 sec
  • Writing 128 Mbyte uncompresseable data: 36 sec
  • Estimate time to write 2 * 36864 Mbyte: 20736 sec = 5 h 45 min
  • wrote 1144212 32Kb blocks in 97 files in 10100 seconds (short write)
  • wrote 1144212 32Kb blocks in 194 files in 10092 seconds (short write)
define tapetype sonyCh_dds5 {
  comment "just produced by tapetype prog (hardware compression off)"
  length 35756 mbytes
  filemark 0 kbytes
  speed 3626 kps
}

IBM DAT-72

  • AIX 5.2 IBM DAT-72 external tape drive compression disabled
  • chdev -l rmt0 -a compress=no
  • amtapetype -o -f /dev/rmt0.1
  • Writing 256 Mbyte compresseable data: 96 sec
  • Writing 256 Mbyte uncompresseable data: 86 sec
  • wrote 1133055 32Kb blocks in 3465 files in 17837 seconds (short write)
  • wrote 1072214 32Kb blocks in 6578 files in 23159 seconds (short write)
  • This took about 12 hours to complete
define tapetype IBM-DAT-72 {
   comment "DDS5, /dev/rmt0.1 (hardware compression off)"
   length 37522 mbytes
   filemark 625 kbytes
   speed 1757 kps
}

HP C7438A DAT-72

  • Solaris 10, with HP C7438A DAT-72 external tape drive compression enabled
  • Attached to X4422A Dual GigE Ultra-2 SCSI Adapter
  • amtapetype -e 36G -f /dev/rmt/0n
  • Writing 512 Mbyte compresseable data: 37 sec
  • Writing 512 Mbyte uncompresseable data: 200 sec
  • wrote 967272 32Kb blocks in 82 files in 12084 seconds (short write)
  • wrote 967272 32Kb blocks in 164 files in 12176 seconds (short write)
define tapetype HP-DAT-72 {
   comment "DDS5, /dev/rmt/0ln, HP C7438A Rev V309 (hardware compression on)"
   length 30227 mbytes
   filemark 0 kbytes
   speed 2551 kps
}

HP C7438A DAT-72

  • Solaris 10, with HP C7438A DAT-72 external tape drive compression disabled
  • amtapetype -o -f /dev/rmt/0ln
  • Writing 512 Mbyte compresseable data: 170 sec
  • Writing 512 Mbyte uncompresseable data: 169 sec
  • wrote 1133709 32Kb blocks in 3467 files in 17819 seconds (short write)
  • wrote 1073029 32Kb blocks in 6583 files in 23171 seconds (short write)
define tapetype HP-DAT-72 {
   comment "DDS5, /dev/rmt/0ln, HP C7438A Rev V309 (hardware compression off)"
   length 37537 mbytes
   filemark 623 kbytes
   speed 1758 kps
}


HP DAT72 USB

  • Red Hat Enterprise Linux 6, with HP C7438A DAT-72 USB bulk drive compression disabled
  • amtapetype -t "HP-DAT72-USB" /dev/nst0 # after setting nst0 to be non-compressed with stinit.def
define tapetype HP-DAT72-USB {                              
   comment "Created by amtapetype; compression disabled"
   length 36586272 kbytes
   filemark 411 kbytes
   speed 3082 kps
   blocksize 32 kbytes

}

HP DLT1 drive, DLT IV tape

  • external HP DLT1 drive, attached to Adaptec AIC7890, hw-compression enabled (factory default), using a HP C5141F tape
 define tapetype DLT1 {
   comment "HP DLT1, DLT IV Tape C5141F "
   length 34818 mbytes
   filemark 32 kbytes
   speed 2879 kps
 }
  • as above, hw-off (see below) can only hold 40G
  • sudo mt -f /dev/nst0 datcompression 0
define tapetype unknown-tapetype {
   comment "just produced by tapetype prog (hardware compression off)"
   length 38501 mbytes
   filemark 0 kbytes
   speed 2715 kps
}

Virtual tapes

Virtual tapes can of course be any size, as long as it fits the disk. Here are some values that limit a vtape, so that it can be copied to other media.

For "filemark" you should take into account that each file in iso9660 format takes a multiple of 2Kbytes (TODO: find out the exact value). The implementation of a vtape requires two files for each dump file, so double that value.

TODO: the iso9660 filesystem itself takes also some capacity. Find out how much. Until then lower the capacity values that you find here a little bit to be on the safe side.

For CD

Recordable CD's come in different capacities:

  • "650MB" = 74 minutes audio = 681,984,000 bytes = 650.3 MiB
  • "700MB" = 80 minutes audio = 737,280,000 bytes = 703.1 MiB
define tapetype CD650 {
    comment "CD-R 650MB sized vtape"
    length 681984000 bytes
    filemark 4 Kbytes
}
define tapetype CD700 {
    comment "CD-R 700MB sized vtape"
    length 737280000 bytes
    filemark 4 Kbytes
}

For DVD

A DVD can hold: 4,718,592,000 bytes = 4,608,000 KiB = 4,500 MiB = 4.395 GiB. But something is lost for "formatting" or such, resulting in a safe 4482 MiB really free.

define tapetype DVD47 {
    comment "A 4.7 Gbyte DVD-sized vtape"
    length 4482 mbytes
    filemark 4 kbytes
}
define tapetype DVD85 {
     comment "A 8.5 GB DVD double layer"
     length 8100 mbytes   # approximately - exact value not found
     filemark 4 kbytes
}
Personal tools