LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-15-2017, 03:34 AM   #1
Lionelo
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Rep: Reputation: Disabled
Restoring Data using cpio -icvdumC51200 "xxxx/*" </dev/st0


Backup were done using a Quantum Ultrium3 tape drive.
Restore were done using the same device.
We replaced the Quantum Ultrium3 with a Tandberg Ultrium3
We cannot restore date that was done using the Quantum
The backup command is the same for both devices
find . -print | cpio -ocvC51200 > /dev/nst0
and the restore command is the same for both devices
cpio -icvdumC51200 "xxxx/*" </dev/st0

Any ideas
Thanks
Lionel
 
Old 11-15-2017, 04:33 AM   #2
!!!
Member
 
Registered: Jan 2017
Posts: 613

Rep: Reputation: 234Reputation: 234Reputation: 234
Welcome to LQ. What is the exact error (msg)??? OS?

Might the new drive be st1? ls -l /dev/st*
 
Old 11-15-2017, 04:45 AM   #3
Lionelo
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
I dont get a error msg the restore seems to hang
The tape I'm trying to retore was backup up using /dev/st0
The backups to the new drive is using /dev/st0
 
Old 11-15-2017, 04:57 AM   #4
Lionelo
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Restoring Data using cpio -icvdumC51200 "xxxx/*" </dev/st0

I dont get a error msg the restore seems to hang
The tape I'm trying to retore was backup up using /dev/st0
The backups to the new drive is using /dev/st0
 
Old 11-15-2017, 10:27 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,426

Rep: Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938Reputation: 1938
One method I have used in the past to "test" the basic functionality of a tape drive is via the dd command.
Code:
Write to tape
dd if=/some/file of=/dev/st0

Read from tape
dd if=/dev/st0 of=/some/file1
If there are no errors and file=file1 then I would assume that it is working correctly.
 
Old 11-16-2017, 12:28 AM   #6
Lionelo
LQ Newbie
 
Registered: Nov 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for the reply Michael
The current backups and retores on the Tandberg are working fine
My problem is I need to restore a file from a tape that was backed up using a Quantum drive and using the same cpio command
 
Old 11-17-2017, 02:01 AM   #7
!!!
Member
 
Registered: Jan 2017
Posts: 613

Rep: Reputation: 234Reputation: 234Reputation: 234
Ah: 'hang'!!! Use `strace` [-f -o mylog -p PID#] [cmd]
to see what's it's doing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Automount fails with "key "xxxx" not found in map source(s)" thealmightyos Linux - General 2 12-03-2015 10:26 AM
[SOLVED] Checking "Remember this Application for "xxxx" Files" does not work p3aul Ubuntu 1 08-01-2012 12:42 AM
recover data after running "dd if=/dev/zero ..." for a few seconds... Heeelp! ste85 Linux - Newbie 19 03-20-2009 10:04 PM
in linux redhat 8 what does "kernel: st0:block limits 1 - 16777215" mean ? lwsam01 Linux - Newbie 1 08-07-2008 10:45 AM
error "tar (child): /dev/st0: Wrote only 0 of 10240 bytes? hocheetiong Linux - Newbie 3 02-03-2008 06:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration