HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- tar restore from tape
Operating System - Linux
1829409
Members
2132
Online
109991
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
07-09-2006 06:49 AM
07-09-2006 06:49 AM
tar restore from tape
Hi all,
I currently installed fedora core 5 on my machine and I have to restore some files from my dds3 tape. If I issue the command tar -xvf /dev/nst0 -f $file I receive an error.
Can anyone tell me what the default blocksize for tar is on fc4 and if that is different from fc5?
tia,
Renarios
I currently installed fedora core 5 on my machine and I have to restore some files from my dds3 tape. If I issue the command tar -xvf /dev/nst0 -f $file I receive an error.
Can anyone tell me what the default blocksize for tar is on fc4 and if that is different from fc5?
tia,
Renarios
Nothing is more successfull as failure
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2006 11:45 AM
07-09-2006 11:45 AM
Re: tar restore from tape
There shouldn't be one.
Things to do:
First, what was the error you received? You didn't say.
Also the tar command you've given has two -f's. Why?
Can you list the tape with a flat tar:
tar tvf /dev/nst0
(NOTE: No, you don't need the -, and you can stack the command arguments).
Can you read data from the tape using 'dd' after doing an 'mt -f /dev/nst0 rewind' ?
What make/model of drive and how is it connected? You've said 'DDS3', so it's probably a SCSI drive, contents of '/proc/scsi/scsi' ?
Things to do:
First, what was the error you received? You didn't say.
Also the tar command you've given has two -f's. Why?
Can you list the tape with a flat tar:
tar tvf /dev/nst0
(NOTE: No, you don't need the -, and you can stack the command arguments).
Can you read data from the tape using 'dd' after doing an 'mt -f /dev/nst0 rewind' ?
What make/model of drive and how is it connected? You've said 'DDS3', so it's probably a SCSI drive, contents of '/proc/scsi/scsi' ?
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2006 04:51 AM
07-10-2006 04:51 AM
Re: tar restore from tape
Hi Renarios,
the correct syntax for tar is as follow:
tar xvf /dev/nst0 $file
You should check if the $file is/are in archive by using:
tar tvf /dev/nst0 $file
HTH
Francis
the correct syntax for tar is as follow:
tar xvf /dev/nst0 $file
You should check if the $file is/are in archive by using:
tar tvf /dev/nst0 $file
HTH
Francis
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