Balling’s Bits

Solaris/OmniOS Tape Drive and Autochanger Device Names

In Solaris (and thus OmniOS) tape drives are mapped to /dev/rmt (raw media tape) using the following device naming scheme:

1
/dev/rmt/XAbn
  • X is the drive number (0-n)
  • A is the optional density (c for compressed, u for ultra)
  • b for BSD compatible behaviour (needed for bacula)
  • n is an optional no-rewind (n) [omit for rewind]

So, using compression and BSD compatible behaviour with no-rewind, the two LTO3 tape drives in my PowerVault ML6010 are at:

1
2
/dev/rmt/0cbn
/dev/rmt/1cbn

The autochanger is mapped to:

1
/dev/scsi/changer/cXX

Where cXX is the SCSI controller number.

Comments