- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DAT Autoloader script?
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
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
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
07-18-2000 06:39 PM
07-18-2000 06:39 PM
I have a HP DAT Autoloader with 6 DDS slots. I was wondering if anyone has written any shell script (perhaps using a combination of tar and fbackup commands) to backup data to each individual DDS tape without using Omniback or Netbackup? Is it possible to create a device file for each slot and command the autoloader to swap tape from a script?
Jules
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 07:11 PM
07-18-2000 07:11 PM
Re: DAT Autoloader script?
Manju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 09:49 PM
07-18-2000 09:49 PM
Re: DAT Autoloader script?
Where can I get the mc "Media Changer" Tool?
Best regards, Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2000 10:48 PM
07-18-2000 10:48 PM
Re: DAT Autoloader script?
mc is part of hp-ux and it's /usr/sbin/mc
The man page tells you some more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 12:52 AM
07-19-2000 12:52 AM
Solutionhere an example:
mc -p /dev/autochanger_spt -s S1 -d D1
tar cvf /dev/rmt/0m .....
mc -p /dev/autochanger_spt -s D1 -d S1 -s S2 -d D1
tar cvf /dev/rmt/0m .....
mc -p /dev/autochanger_spt -s D1 -d S2
The above example will load DDS from Slot 1 into drive, then do tar backup.
After this it unloads the DDS from drive to Slot 1 and load DDS from Slot 2 into drive.
Then do again tar backup.
Finally unload DDS from drive into Slot 2.
The /dev/autochanger_spt must be the scsi pass through device driver for your autochanger (Ie.: major=76 minor=0x053100).
You must have the driver spt in the kernel!
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 08:24 PM
07-19-2000 08:24 PM
Re: DAT Autoloader script?
spt
sctl
schgr
stape
Are they are needed for the DDS4 DAT autoloader?
Also, when you use fbackup and tar to back up to the autoloader how do you know the embedded tape is full in order to swap a second tape in? Is there a command to query how much space is left on the tape?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2000 08:44 PM
07-19-2000 08:44 PM
Re: DAT Autoloader script?
Rgds,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 03:46 AM
07-20-2000 03:46 AM
Re: DAT Autoloader script?
"Where can I get the mc "Media Changer" Tool?"
Answer: PHCO_16194 for 10.20
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2000 03:09 PM
07-20-2000 03:09 PM
Re: DAT Autoloader script?
gglom@bigfoot.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2000 03:38 AM
07-21-2000 03:38 AM
Re: DAT Autoloader script?
If you really need to strictly separate the backups on per-tape basis then you need to use mc but a more straightforward processing can be achieved by using the changer in its default mode. In this mode the "mt offl" command will automatically insert the next tape so it's easier to continue a multi-tape backup.
There was a neat backup utility by www.adiva.de called xb/xr that used to handle such problems elegantly. It produced tar, cpio or dump formats, full volume or selective path/date-wise, with a directory up front which could be used to inspect the contents in any terminal window and retrieve individual files/directories by spacing forward directly to selected files.Upon reaching the end of tape it would eject the full tape and poll the device every 30s if a fresh tape is available to continue the backup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2000 03:08 PM
07-24-2000 03:08 PM
Re: DAT Autoloader script?
Thank you all for the info. Does anyone
know the different between these drivers?
spt
sctl
schgr
stape
Are they are needed for the DDS4 DAT
autoloader?
spt is the SCSI Pass Through driver. It is used to communicate to
an autochanger or library which is connected to a SCSI adapter card
on the HP-PB bus.
sctl is the adapter driver for a SCSi adapter on a non-HP-PB bus
(HSC, PCI, EISA). It will bind to the card itself (usually at SCSI address
7) and can be used for SCSI pass through to that bus
schgr is the driver for autochangers on HSC, PCI and EISA busses.
It was actually designed for MagnetoOptical disk changers, but it
will generally work with tape autochangers as well.
stape is the SCSI tape device driver for HSC, PCI and EISA busses.
That's the driver that actually talks to the tape drive.
I generally include schgr, sctl and stape and let them bind to the things
they want to bind to. Then you use the schgr device file to talk to the
library and stape to talk to the drive. I've heard reports of people having
trouble with schgr and tape libraries but I've never seen it happen.