HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- cpio and multiple backups on one tape.
Operating System - HP-UX
1833790
Members
2809
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-12-2001 11:59 AM
09-12-2001 11:59 AM
cpio and multiple backups on one tape.
Hi,
I'm using cpio to make multiple backups on a single tape using cpio (cpio -ocv) with the no-rewind device.
I've successfully restored particular backups using mt to position the tape and cpio (cpio -ivcd).
This all works fine but on restore I always get the 'cpio: unable to autoload next media'. This is irritating. Can I avoid this message? (my backups are restored OK despite this message).
P.S. Take it as given that I have to use cpio and a single tape. I'm using an IBM DLT tape drive.
Thanks for any help.
I'm using cpio to make multiple backups on a single tape using cpio (cpio -ocv) with the no-rewind device.
I've successfully restored particular backups using mt to position the tape and cpio (cpio -ivcd).
This all works fine but on restore I always get the 'cpio: unable to autoload next media'. This is irritating. Can I avoid this message? (my backups are restored OK despite this message).
P.S. Take it as given that I have to use cpio and a single tape. I'm using an IBM DLT tape drive.
Thanks for any help.
Doh!
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 12:09 PM
09-12-2001 12:09 PM
Re: cpio and multiple backups on one tape.
Hi Chris,
I understand your caveat, but I'll still say it: Don't put multiple archives on one tape. It's like putting your cactus next to your alarm clock -- you can do it, but it's not a good idea.
If this error is benign to you, you can redirect stderr to /dev/null to quiet things down. Alternately, you might want to redirect stderr to a file so that you can check for legitimate errors, too.
All the best,
Jim
I understand your caveat, but I'll still say it: Don't put multiple archives on one tape. It's like putting your cactus next to your alarm clock -- you can do it, but it's not a good idea.
If this error is benign to you, you can redirect stderr to /dev/null to quiet things down. Alternately, you might want to redirect stderr to a file so that you can check for legitimate errors, too.
All the best,
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2001 02:34 PM
09-12-2001 02:34 PM
Re: cpio and multiple backups on one tape.
Hi Chris:
I suggest that you switch to the 'Berkeley' style no rewind devices. e.g. /dev/rmt/2mnb
The difference is the way the EOF marks are written. Man mt(7) for details. When I used the 'mnb' devices no errors appeared. I would use these devices for both the mt and cpio command. I also suspect you might be able to improve your backup performance by piping cpio through dd to increase buffering although it is very difficult to keep a DLT streaming with tar or cpio.
Regards, Clay
I suggest that you switch to the 'Berkeley' style no rewind devices. e.g. /dev/rmt/2mnb
The difference is the way the EOF marks are written. Man mt(7) for details. When I used the 'mnb' devices no errors appeared. I would use these devices for both the mt and cpio command. I also suspect you might be able to improve your backup performance by piping cpio through dd to increase buffering although it is very difficult to keep a DLT streaming with tar or cpio.
Regards, Clay
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP