[clug] multiple tape drives
neerolyte at gmail.com
Sun Mar 1 11:52:43 GMT 2009
Disclaimer: I've never actually played with tape drives, so this is
all based on assumptions.
My first thought was UUID but I'm guessing that would be per tape not
Can you pull up the serial number of each drive to ensure that the
device you're writing too is the right one?
$ sudo hdparm -i /dev/sda |grep SerialNo
Model=ST3160812A , FwRev=3.AAE ,
Should at least let you know if you can get unique serial numbers off
The drive above becomes
"/dev/disk/by-id/ata-ST3160812A_4LS151CF-part1" for me, which you
should just be able to put in fstab.
2009/3/1 Andrew <andrew at donehue.net>:
> Hi All,
> I'm looking to setup a linux server with multiple tape drives attached. I
> have only ever used a single tape drive in the past (and I am use to it
> showing up as /dev/st0)...
> It is likely that each drive will be on it's own dedicated channel (2 UW
> SCSI cards each with 2 channels).
> My question is, is there any way I can lock the ordering of the tape drives
> (including after reboot)?
> (Ie, so I know that tape drive A -> /dev/st0, drive B -> /dev/st1, etc)? I
> want to do this so that I know which drive I am writing to (and
> data/labeling doesn't get mixed up)
> If they were all on the same channel then i suspect that changing the
> channel ID would help, but since they will all be on different channels
> there is a possibility of some other ordering taking place.
> Any help greatly appreciated.
> linux mailing list
> linux at lists.samba.org
More information about the linux