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
12-26-2006 03:12 AM
12-26-2006 03:12 AM
tar
At the end of the year, a db backup is created and copied to tape using tar.
I need to restore these backups so that I can convert them to windows.
Using tar -tvf /dev/rmt/2mn I get nothing. No errors - nothing. It just returns to the prompt.
Is there nothing on these tapes??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2006 03:34 AM
12-26-2006 03:34 AM
Re: tar
The first thing to do is to confirm you are specifying the correct device with tar. 'ioscan -fnC tape' will list your tape drive(s). Alternatively, check the backup script used to create the archive to see which device is specified. If no device is specified, the default device (/dev/rmt/0m) was used.
Then, be sure to rewind the tape before attempting to list archive contents.
For example:
# mt -f /dev/rmt/0mn rew
# tar tvf /dev/rmt/0mn
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2006 03:35 AM
12-26-2006 03:35 AM
Re: tar
Are the files that were backed up larger than 2 GB? If so was tar patched to allow it to backup files up to 8GB?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2006 03:44 AM
12-26-2006 03:44 AM
Re: tar
Do you know if the backup tapes were created by hand or from a script? If by script, take a look at the script to see how the backup was made and what actions were taken after the tar completed.
Do you know if any of the backups were ever verified? This is one of those inconvenient but crucial steps for a backup strategy.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2006 04:31 AM
12-26-2006 04:31 AM
Re: tar
1.You can check the following :
After inserting the correct tape:
# mt -t /dev/rmt/2mn status
# mt -t /dev/rmt/2mn rew
(it will take sometime to rewind the tape if it is not in starting position
# mt -t /dev/rmt/2mb status ( check it is in BOT ready)
# tar -tvf /dev/rmt/2mn
( Does this command lists any files.)
2. Do you know which command used to take the backup , was it tar ? ,or cpio , or through anyother script. If it is not tar then you cantry to find out the script or something that used to take the backup.
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2006 05:54 AM
12-26-2006 05:54 AM
Re: tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2006 12:28 PM
12-26-2006 12:28 PM
Re: tar
Drive: QUANTUM DLT8000
Format:
Status: [41118985] BOT online compression immediate-report-mode
File: 0
Block: 0
#
# mt -f /dev/rmt/2mb status
Drive: QUANTUM DLT8000
Format:
Status: [41118985] BOT online compression immediate-report-mode
File: 0
Block: 0
#
tar -tvf /dev/rmt/2mn shows:
Tar: blocksize = 16
directory checksum error
The drive was previously identified as /dev/rmt/1mn - it was replaced (due to failure) a couple of weeks ago. Could that be the source of my problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-26-2006 03:16 PM
12-26-2006 03:16 PM
Re: tar
It seems that your media is getting currpted due to faulty tape drive as it is showing the check sum error.
But in some case (very rare) it may work fine with other drive.