I was wondering if anyone had any luck with LTO drives and Irix boxes. I'm considering getting one but I don't want to spend a lot of money on one if I can't make it work.
Regards
Looking for:
1600sw, O2 cam, Fuel
Code: Select all
{ DATTAPE, TPDAT, 2, 7, "HP", "Ultrium", /*LTO-1*/, 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_COMPRESS|MTCAN_PREV|
MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
MTCAN_SILI|MTCAN_SEEK|MTCAN_CHTYPEANY,
/* minimum delay on i/o is 4 minutes, because when a retry is
* performed, the drive retries a number of times, and then
* rewinds to BOT, repositions, and tries again. */
40, 5*60, 20*60, 20*60, 3*3600, 512, 512*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
MTCAN value Capability Enabled
APPEND Append to existing tape data
BSF Backspace file
BSR Backspace record
CHKRDY Determine if a tape cartridge is present
CHTYPEANY Change density and/or fixed to variable at points other than
beginning of tape
COMPRESS Compression
PREV Prevent media removal
SEEK Seek to a particular block
SETSZ Fixed block size can be set
SILI Suppress illegal length indicators
SPEOD Space to EOD (end of data)
SYNC Synchronous mode SCSI
VAR Variable block sizes
Constant Description
40 Transfer time-out in “inverse ticks”
5*60 Minimum time-out in seconds for any command
20*60 Space command time-out in seconds
20*60 Time-out in seconds for long operations (such as rewinds)
512 Default block size in bytes for fixed block size mode
64*512 or
512*512
Recommended blocking factor in bytes for the upper limit of read/
write commands
Code: Select all
Integral SCSI controller 5: Version LS1030, low voltage differential
Tape drive: unit 6 on SCSI controller 5: unknown
# mt status
Controller: SCSI
Device: HP: Ultrium 1-SCSI E21V
Status: 0x200
Drive type: unknown
Media : Not READY
Code: Select all
Integral SCSI controller 5: Version LS1030, low voltage differential
Tape drive: unit 6 on SCSI controller 5: DAT
# mt status
Controller: SCSI
Device: HP: Ultrium 1-SCSI E21V
Status: 0x20262
Drive type: DAT
Media : READY, writable, at BOT
- the fourth field in that line "7", should reflect the total number of spaces in the fifth field ("ULTRIUM 3"), which is actually 9 spaces. To comply with SGI's guidelines, it should have read{ DATTAPE, TPDAT, 8, 7 , "CERTANCE", " ULTRIUM 3 ", 0, 0, {0},
(the copy quoted below is the edited version).{ DATTAPE, TPDAT, 8, 9 , "CERTANCE", " ULTRIUM 3 ", 0, 0, {0},
Code: Select all
/* HP Ultrium 1 / LTO-1 */
{ DATTAPE, TPDAT, 2, 7, "HP", "Ultrium", /*LTO-1*/, 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_COMPRESS|MTCAN_PREV|
MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
MTCAN_SILI|MTCAN_SEEK|MTCAN_CHTYPEANY,
/* minimum delay on i/o is 4 minutes, because when a retry is
* performed, the drive retries a number of times, and then
* rewinds to BOT, repositions, and tries again. */
40, 5*60, 20*60, 20*60, 3*3600, 512, 512*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* IBM LTO-2 / Ultrium-TD2 */
{ DATTAPE, TPDAT, 3, 11, "IBM", "ULTRIUM-TD2", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|
MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|
MTCAN_SETSZ|MTCAN_SILI|MTCAN_SEEK|MTCAN_COMPRESS,
40, 5*60, 10*60, 10*60, 3*3600, 512, 256*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* IBM LTO-3 / Ultrium-TD3 */
{ DATTAPE, TPDAT, 3, 11, "IBM", "ULTRIUM-TD3", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|
MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|
MTCAN_SETSZ|MTCAN_SILI|MTCAN_SEEK|MTCAN_COMPRESS,
40, 5*60, 10*60, 10*60, 3*3600, 512, 256*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* Quantum SuperDLT-1 */
{ DECDLT, TPDLT, 7, 9, "QUANTUM", "SuperDLT1", 0, 0, {0},
MTCAN_BSF | MTCAN_BSR | MTCAN_APPEND | MTCAN_SPEOD |
MTCAN_CHKRDY | MTCAN_VAR | MTCAN_SETSZ | MTCAN_SILI |
MTCAN_SEEK | MTCAN_SYNC | MTCAN_CHTYPEANY | MTCAN_COMPRESS,
20, 8*60, 20*60, 5*60, 3*3600, 4096, 64*1024,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* HP LTO3 / Ultrium 3 */
{ DATTAPE, TPDAT, 2, 9, "HP", "Ultrium 3", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART|MTCAN_PREV|
MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
MTCAN_SILI|MTCAN_AUDIO|MTCAN_SEEK|MTCAN_CHTYPEANY|MTCAN_COMPRESS,
40, 5*60, 20*60, 20*60, 3*3600, 512, 512*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* Certance LTO-2 / Ultrium 2 */
{ DATTAPE, TPDAT, 8, 9, "CERTANCE", "ULTRIUM 2", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|
MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|
MTCAN_SETSZ|MTCAN_SILI|MTCAN_SEEK|MTCAN_COMPRESS,
40, 5*60, 10*60, 10*60, 3*3600, 512, 256*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* Quantum LTO3 / Ultrium 3 */
{ DATTAPE, TPDAT, 8, 9, "CERTANCE", "ULTRIUM 3", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART|MTCAN_PREV|
MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
MTCAN_SILI|MTCAN_AUDIO|MTCAN_SEEK|MTCAN_CHTYPEANY|MTCAN_COMPRESS,
40, 5*60, 20*60, 20*60, 3*3600, 512, 512*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* HP LTO4 / Ultrium 4 */
{ DATTAPE, TPDAT, 2, 9, "HP", "Ultrium 4", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|MTCAN_PART|MTCAN_PREV|
MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|MTCAN_SETSZ|
MTCAN_SILI|MTCAN_AUDIO|MTCAN_SEEK|MTCAN_CHTYPEANY|MTCAN_COMPRESS,
40, 5*60, 20*60, 3*3600, 512, 256*512, 512*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* Quantum SDLT220 drive */
{ DECDLT, TPDLT, 7, 7, "QUANTUM", "SDLT220", 0, 0,
{0}, MTCAN_BSF | MTCAN_BSR | MTCAN_APPEND | MTCAN_SPEOD |
MTCAN_CHKRDY | MTCAN_VAR | MTCAN_SETSZ | MTCAN_SILI | MTCAN_SEEK|
MTCAN_SYNC | MTCAN_CHTYPEANY | MTCAN_COMPRESS | MTCAN_SETDEN,
20, 8*60, 20*60, 5*60, 3*3600, 4096, 64*1024,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* Quantum SDLT320 drive */
{ DECDLT, TPDLT, 7, 7, "QUANTUM", "SDLT320", 0, 0,
{0}, MTCAN_BSF | MTCAN_BSR | MTCAN_APPEND | MTCAN_SPEOD |
MTCAN_CHKRDY | MTCAN_VAR | MTCAN_SETSZ | MTCAN_SILI | MTCAN_SEEK|
MTCAN_SYNC | MTCAN_CHTYPEANY | MTCAN_COMPRESS | MTCAN_SETDEN,
20, 8*60, 20*60, 5*60, 3*3600, 4096, 64*1024,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* Quantum SDLT600 drive */
{ DECDLT, TPDLT, 7, 7, "QUANTUM", "SDLT600", 0, 0, {0, 0, 0, 0 },
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SPEOD |
MTCAN_CHKRDY|MTCAN_VAR| MTCAN_SETSZ|MTCAN_SILI|MTCAN_SEEK|
MTCAN_SYNC|MTCAN_CHTYPEANY | MTCAN_COMPRESS | MTCAN_SETDEN,
20, 8*60, 20*60, 5*60, 3*3600, 16384, 64*1024,
tpsc_default_dens_count, tpsc_default_hwg_dens_names, tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
/* SONY GY-8240 DTF2 drive */
{ SONYGY, TPGY2120, 4, 7, "SONY", "GY-8240", 0, 0, {0, 0, 0, 0},
MTCAN_BSF | MTCAN_BSR | MTCANT_RET | MTCAN_CHKRDY | MTCAN_PREV |
MTCAN_SEEK | MTCAN_APPEND | MTCAN_SILI | MTCAN_VAR | MTCAN_SETSZ |
MTCAN_CHTYPEANY | MTCAN_COMPRESS,
20, 100*60, 10*60, 9*60, 9*60, 16384, 256*1024,
tpsc_default_dens_count, tpsc_default_hwg_dens_names, tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
magellan wrote: Brilliant Recondas,
I suggest we had this to the wiki with due credits as soon as the hardware aggregators pages are in place.
Thanks.
Code: Select all
# mt status
Controller: SCSI
Device: IBM: ULTRIUM-TD2 4770
Status: 0x20262
Drive type: DAT
Media : READY, writable, at BOT
Code: Select all
/* IBM LTO-2 / Ultrium-TD2 */
{ DATTAPE, TPDAT, 3, 11, "IBM", "ULTRIUM-TD2", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|
MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|
MTCAN_SETSZ|MTCAN_SILI|MTCAN_SEEK|MTCAN_COMPRESS,
40, 5*60, 10*60, 10*60, 3*3600, 512, 256*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
Integral SCSI controller 6: Version LS1030, low voltage differential
Tape drive: unit 6 on SCSI controller 6: DAT
# mt status
Controller: SCSI
Device: CERTANCE: ULTRIUM 2 19145405
Status: 0x20262
Drive type: DAT
Media : READY, writable, at BOT
Code: Select all
/* Certance LTO-2 / Ultrium 2 */
{ DATTAPE, TPDAT, 8, 9, "CERTANCE", "ULTRIUM 2", 0, 0, {0},
MTCAN_BSF|MTCAN_BSR|MTCAN_APPEND|MTCAN_SETMK|
MTCAN_PREV|MTCAN_SYNC|MTCAN_SPEOD|MTCAN_CHKRDY|MTCAN_VAR|
MTCAN_SETSZ|MTCAN_SILI|MTCAN_SEEK|MTCAN_COMPRESS,
40, 5*60, 10*60, 10*60, 3*3600, 512, 256*512,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
Code: Select all
{DATTAPE, TPDAT, 8, 9, “CERTANCE”, “ULTRIUM 2”, 0, 0, {0},
MTCAN_BSF | MTCAN_BSR | MTCAN_APPEND | MTCAN_SETMK |
MTCAN_PREV | MTCAN_SYNC | MTCAN_SPEOD | MTCAN_CHKRDY |
MTCAN_VAR | MTCAN_SETSZ | MTCAN_SILI | MTCAN_SEEK | MTCAN_COMPRESS,
40, 5*60, 10*60, 10*60, 3*3600, 512, 256*512,
tpsc_default_dens_count, tpsc_defalt_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0, 0, (u_char*) 0},
Code: Select all
Integral SCSI controller 6: Version LS1030, low voltage differential
Tape drive: unit 6 on SCSI controller 6: DLT
# mt status
Controller: SCSI
Device: QUANTUM: SDLT320 6464
Status: 0x20262
Drive type: DLT
Media : READY, writable, at BOT
Code: Select all
/* Quantum SDLT320 drive */
{ DECDLT, TPDLT, 7, 7, "QUANTUM", "SDLT320", 0, 0,
{0}, MTCAN_BSF | MTCAN_BSR | MTCAN_APPEND | MTCAN_SPEOD |
MTCAN_CHKRDY | MTCAN_VAR | MTCAN_SETSZ | MTCAN_SILI | MTCAN_SEEK|
MTCAN_SYNC | MTCAN_CHTYPEANY | MTCAN_COMPRESS | MTCAN_SETDEN,
20, 8*60, 20*60, 5*60, 3*3600, 4096, 64*1024,
tpsc_default_dens_count, tpsc_default_hwg_dens_names,
tpsc_default_alias_dens_names,
{0}, 0, 0, 0,
0, (u_char *)0 },
I have a Dell LTO-1 that uses standard HP LTO-1 firmware. If you connect the drive you should be able to get the details on what the tape drive firmware reports to IRIX. My Dell LTO-1 isn't an autoloader, but if the mechanism is the same there's a copy of the kernel configuration file I used a few posts back . If your LTO Autoloader uses a different mechanism, there are several elsewhere in this topic (and more in/var/sysgen/master.d/scsi), or we can try tweaking one to fit.bjornl wrote: I have a DELL Powervault 128T with LTO-1 drives and room for 20 tapes that I would like to put on an IRIX machine.
Jan-jaap mentioned using a script (under linux) to cycle the loader in this post - perhaps he'll catch this and offer his opinion on doing the feasibility of doing the same under IRIX. If all else fails you could manually cycle the loader - if you can get anywhere near the LTO-1 max theoretical capacity of 200GB you shouldn't have to manually load too often. The IRIX man page for xfsdump actually looks very similar to the linux version I looked at, both make mention of spanning tapes, provide for an option that will notify you when the tape needs changed, and mentions you can preform a multi-stream dump to both of the drives in your changer:bjornl wrote: The drives will probably work with one of the configuration settings here, but how about the changer.
the xfsdump man page wrote: To perform a level 0, multi-stream dump to two locally mounted tape drives:Code: Select all
# xfsdump -L session_2 -f /dev/rmt/tps4d6v -M tape_1 \
-f /dev/rmt/tps5d6v -M tape_2 /
So far I've only used the backup choices provided by IRIX. I was able to restore a system with a "full system backup" tape created using the IRIX GUI for cpio - booted to an IRIX install CD and used the PROM "system recovery" tool.bjornl wrote: Any software recommendation? Amanda? I don't think cpio or tar will can handle the automatic changer.