- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tar to a DLT autochanger
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
11-19-2002 01:20 PM
11-19-2002 01:20 PM
What is the best method of writing / reading a tar to an autochanger?
I have an HP A4851A 15 slot tape library. I can use uma to move tapes with the picker, but I can't seem to write or read a tar.
I have tried various devices, as listed in an ioscan -f, but nothing seems to work.
Any help would be appreciated.
THX,
JG
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 01:35 PM
11-19-2002 01:35 PM
Re: Tar to a DLT autochanger
move a medium from a slot to a drive. I would put a sleep in the script of about 90 seconds to allow the tape to come 'on-line'. You can then write to the tape using tar, cpio, or fbackup. For a list of devices do an ioscan -C tape -fn. It's possible that your tape device nodes have never been created. You may need to run insf to create them or use mknod to do it manually. I assume that you have the SCSI tape driver installed in your kernel.
After writing, you can then use uma to offl the drive and then a move command to move the tape back to a slot. I actually have one of these old libraries and it works with tar, cpio, and fbackup as long as you have a command like uma to load the drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2002 01:41 PM
11-19-2002 01:41 PM
Re: Tar to a DLT autochanger
Seeing you have uma, you also have Omniback, so why not use it?
e.g.
To move a tape from slot 1 to drive 1.
# mc -p /dev/robot -sS1 -sD1
You could put the whole thing into a script using any backup utility. Make sure you allow enough time for the tape to loaded correctly into the drive so it is on line. A simple 'sleep' of 2 minutes should do the job.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 09:30 AM
11-20-2002 09:30 AM
Re: Tar to a DLT autochanger
I keep getting I/O or tape read errors when using tar. The autochanger light flashes so I think I am accessing the tape, just not reading data...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 10:22 AM
11-20-2002 10:22 AM
SolutionHowever, your original post indicated that you were unable to write in tar format so you may have other problems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 10:45 AM
11-20-2002 10:45 AM
Re: Tar to a DLT autochanger
So tapes written by DLT > 4000 can't be read by a 4000?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2002 10:51 AM
11-20-2002 10:51 AM
Re: Tar to a DLT autochanger
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2002 06:47 AM
11-21-2002 06:47 AM
Re: Tar to a DLT autochanger
You need to use a mixture of the mx (or uma) commands and mt to put the device on or offline before writting.
Of course make sure you have the latest stape & scsi patches.
Mike.