- Community Home
- >
- Storage
- >
- Data Protection and Retention
- >
- StoreEver Tape Storage
- >
- Script for dlt cleaning
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 01:43 PM
тАО11-15-2002 01:43 PM
Script for dlt cleaning
I am a junior admin in the process of learning. I want to learn how to write a script for cleaning a dlt tape but not sure where to start. please help!
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 02:06 PM
тАО11-15-2002 02:06 PM
Re: Script for dlt cleaning
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 02:18 PM
тАО11-15-2002 02:18 PM
Re: Script for dlt cleaning
I'm thinking of a script that I can execute to clean the tape drive so I don't have to use sam to manually clean each individual drive.
Right now I am schedule to clean the dlt tape drive (4846A Library) once a month.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 02:47 PM
тАО11-15-2002 02:47 PM
Re: Script for dlt cleaning
That said, you may want to look into the uma utility. It is a tool that interfaces with library robotics and gives you the ability to move tapes, load drives, etc.
I will hold off here in case the first comment above applies... could make your life much easier.
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2002 03:33 PM
тАО11-15-2002 03:33 PM
Re: Script for dlt cleaning
In almost every thread were strong warnings not to perform scheduled cleanings on DLT or better drives. Only clean them when they indicate they need it... the cleaning tapes are abrasive and will shorten the life of a drive if used more than required. The smaller dds drives are the opposite, where regular cleaning is encouraged
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2002 05:35 AM
тАО11-16-2002 05:35 AM
Re: Script for dlt cleaning
First you should read about drive cleaning in the manual for this library:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/lpg28401/lpg28401.pdf
Some librarys can be configured for automatic cleaning.
If the library is connected to a HP-UX box you can use the "mc" command for cleaning script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2002 08:41 AM
тАО11-16-2002 08:41 AM
Re: Script for dlt cleaning
then you may want to check samlog for the commands executed.
The command
/usr/sam/bin/samlog_viewer [-s MMDDhhmm[YY]] [-e MMDDhhmm[YY]] [-l SDVC] [-u user] [-o ofile] [-t] [-n] [file]
is pretty helpful to drill that down: give
#samlog_viewer -l C -o cmds.out
a shot and find sth to start with in cmds.out
hth, Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-18-2002 07:56 AM
тАО11-18-2002 07:56 AM
Re: Script for dlt cleaning
Thanks
-Lay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2005 06:06 AM
тАО01-19-2005 06:06 AM
Re: Script for dlt cleaning
echo "move s48 d1\nquit\n" | /opt/omni/lbin/uma -ioctl /dev/picker
sleep 300
echo "move d1 d2\nquit\n" | /opt/omni/lbin/uma -ioctl /dev/picker
sleep 300
echo "move d2 d3\nquit\n" | /opt/omni/lbin/uma -ioctl /dev/picker
sleep 300
echo "move d3 d4\nquit\n" | /opt/omni/lbin/uma -ioctl /dev/picker
sleep 300
echo "move d4 s48\nquit\n" | /opt/omni/lbin/uma -ioctl /dev/picker