Solaris : Tape device names and control the tape drive

Before backing up data on a device, you must understand the tape device-naming schema:

ADVERTISEMENTS

First tape device name: /dev/rmt/0
Second tape device name: /dev/rmt/1

rmt = raw magnetic tape device

You can also add special character letter to specify density using following format
/dev/rmt/ZX

Where

  • Z is tape drive number such as 0,1..n
  • X can be any one of following (as supported by your device, read the manual of your tape device & controller to see if all of them supported or not):
  • l – Low density
  • m – Medium density
  • h – High density
  • u – Ultra density
  • c – Compressed density
  • n – No rewinding

For example to specify the first, drive with high-density with no rewinding use device /dev/rmt/0hn.
(Check out all of our posts on Solaris)

🐧 Get the latest tutorials on SysAdmin, Linux/Unix, Open Source & DevOps topics via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
2 comments… add one
  • boni Jan 19, 2007 @ 9:42

    hi
    thanks a lo for your document. but i need a command to clean tape drive on solaris 9.
    best regards

  • sotonye Dec 16, 2008 @ 8:57

    I am a newbie trying to learn solaris 10 and i want to know the name of the file that points to my tape drive. How do I do it?

    I will really appreciate if someone out there helps and fast.

    Thanks,

    Soty

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.