(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



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.



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





Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



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

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!



 I sell and support
 Kerio Mail server




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


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress