- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- tar and cpio commands problems
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
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
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
тАО09-01-2005 03:21 PM
тАО09-01-2005 03:21 PM
tar and cpio commands problems
Hi Guys,
I'm trying to backup a data filesystem and I'm getting an error message while running the tar and cpio command.
Below are the commands that I have used and the error message.
tar -cvf /dev/rmt/3m /fsname
find . | cpio -ovcB > /fsname
The error message is,
error: tape hardware path 56/52.3.0.0: WARNING non terminated volume (verify ANSI compliance of media).
I have also included the full path name of the backup commands in the /etc/PATH, but no difference.
Any help would be greatly appreciated. And by the way i do assign points.
Thanks Guys,
Raf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 03:47 PM
тАО09-01-2005 03:47 PM
Re: tar and cpio commands problems
If /dev/rmt/3m is a valid device node this command should work.
find . | cpio -ovcB > /fsname
Wrong, I I can assume you are trying to do the equivalent to the tar command then:
find /fsname -print | cpio -ocvB > /dev/rmt/3m
I would prefer:
cd /fsname
find . -print | cpio -ocBv > /dev/rmt/3m
because non-absolute paths are much easier to restore to alternate destinations.
You should also not that both cpio and tar (unless patched) support a maximum filesize of 2GB for an individual file although the tar/cpio image itself may be much larger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 04:03 PM
тАО09-01-2005 04:03 PM
Re: tar and cpio commands problems
Hi Clay,
Thanks for your prompt response mate, I have actually tried the command tar cvf /dev/rmt/3m /fsname, however the error message is same.
I should have included the full error message in my original note and be more specific.
It actually starts backing up the data O.K but after 30seconds or so it aborts with an error message below, the filesystem I'm trying to backup is 1.9Gig, so its below 2Gig..
Here is an error message again.
Tar: end of tape
tape hardware path 56/52.3.0.0: WARNING non terminated volume (verify ANSI compliance of media).
Please advise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2005 07:32 PM
тАО09-01-2005 07:32 PM
Re: tar and cpio commands problems
Forgive me if this bit is insulting, but is it the right sort of tape? E.g. you're not putting a DDS3 in a DDS2 drive?
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2005 11:06 AM
тАО09-05-2005 11:06 AM
Re: tar and cpio commands problems
Thanks guys for your response, sorry for the late reply as I was away from work. Mark I have put in the right tape and cleaned it many times.
It appears to be that the tape drive is faulty and I have logged a hardware call for that. Hopefully the problem will be resolved once we've replaced it.
Thanks for all the help guys. We have a great team here.
Regards,
Raf