could i get a sanity check please? i've replaced my spectralogic T50 (had some
hardware issues) and i'm
rebuilding backup server. i'm working through the basic tape and changer tests.
scsi looks like this:
[root@molbio bin]# lsscsi
[0:0:0:0] disk ATA TOSHIBA MK2035GS DK02 /dev/sda
[1:0:0:0] disk ATA TOSHIBA MK2035GS DK02 /dev/sdb
[4:0:0:0] disk AMCC 9650SE-16M DISK 3.08 /dev/sdc
[5:0:14:0] tape IBM ULTRIUM-TD4 89B8 /dev/st0
[5:0:15:0] tape IBM ULTRIUM-TD4 89B8 /dev/st1
[5:0:15:1] mediumx SPECTRA PYTHON 2000 -
mtx status looks as i would expect:
[root@molbio bin]# mtx -f /dev/sg5 status
Storage Changer /dev/sg5:2 Drives, 30 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
Data Transfer Element 1:Empty
Storage Element 1:Full :VolumeTag=000290L4
Storage Element 2:Full :VolumeTag=012477L4
etc ....
however, when i use mtx to load a tape i get somewhat unexpected results:
[root@molbio bin]# mtx -f /dev/sg5 load 1 0
should load slot 1 into /dev/st0, i think, what i get is this:
[root@molbio bin]# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (50000):
DR_OPEN IM_REP_EN
[root@molbio bin]# mt -f /dev/nst1 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x46 (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
and if i add:
[root@molbio bin]# mtx -f /dev/sg5 load 2 1
[root@molbio bin]# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x46 (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
[root@molbio bin]# mt -f /dev/nst1 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x46 (no translation).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
now both are loaded.
it seems the drives are reversed somehow. i don't really understand.
any help appreciated.
-- michael
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|