Unixware 7 Tapes

Tapes are in /dev/rmt. A man 7 tape should get you acquainted with these names, or look in /dev/rmt.

Unlike Openserver, you don't specifically add SCSI tapes. If the tape is out there (controller configured, of course), it will automagically get added to the kernel.

LoneTar Backup Logo

If Arcserve is installed



as_devmgr -deviceinfo 2
as_devmgr -tapeinfo 2


would give you information about a SCSI tape at id 2.

Unfortunately, the standard commands (tape and mt) don't support "status", or indeed anything beyond reten,erase,rewind,reset and rfm for tape and only rewind and fsf for mt! The man page for sdi shows that the tape driver supports more than these; the problem is mostly in the commands, not the driver. The tapecntl command implements all of the possible functions, but still lacks (apparently because of lack of support in the driver) the very useful Openserver tape status equivalent. It's fortunate that Arcserve Lite is included with UW7, because the as_devmgr commands are apparently the only way to get useful information from the tape drive.

If your tape shows up in the above commands, but won't work with tar or cpio (just hangs when you try to access it), it is because Arcserve has claimed the device for it's own. If Arcserve is what you intend to use for backups, that's great. Otherwise, you'll need to disable it, temporarily or permanently.

To disable it permanently, you'll need to remove or edit (by adding an exit 0 at the beginning of the file) the /etc/rc2.d/S69ARCserve. To stop the server temporarily (for example, because you want to do a simple cpio backup or restore) use astop. It shouldn't be a big surprise to learn that astart will start it up again.

You can also edit /usr/lib/ARCserve/tapesvr.cfg and remove the semicolon before NO_DEVICE_LOCKING - doing this lets ARCserve run but prevents it from taking control of the tape.






Note that the /dev/rmt files are all rw-rw-rw. This is true in Openserver also, and could represent a security risk as ordinary users could access the device. Arcserve does protect against that if it is running, because it has its own ideas of who is authorized to use its commands.


(c) August 1998 A.P. Lawrence. All rights reserved




Comments /UW/tapes.html


Add your comments

LOD Communications, Inc.

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


Views for this page
Today This Week This Month This Year  Overall
1321799 3,980

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

pavatar.jpg
More:
       - Unixware
       - Backup
       - Tape Drives
       - Unix




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses









Change Congress


Related Posts