LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-12-2013, 09:54 AM   #1
Typeroon
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Rep: Reputation: Disabled
File Not found on tape during Interactive restore on Fedora Core 9


Hi,

I did a dump level 0 of my FC9 to a remote file. The result was a single file of about 7Gb. (I am assuming this is what we call a single volume)

I want to restore it onto a new hard drive that I partitionned and formated using mkfs and mounted to /mnt/chvicpxy02

The mounted disk is accessible and working fine.

I ftp'ed my backup file back to /tmp/chvicpxy02/chvicpxy02 on my FC9 machine so the restore process will be faster.

I go to /mnt/chvicpxy02 and start the interactive restore from there so the files and directories are extracted right into /mnt/chvicpxy02 (on my mounted hard disk)

By doing that, I assume my new mounted hard disk will become an exact image of my FC9 machine when the backup was done. *** Is is a good way to do it ***

my problem is that some files are not extracted from the restore -i commands, while some others are.

the exact command I used is

cd /mnt/chvicpxy02
restore -i -f /tmp/chvicpxy02/chvicpxy02
restore > add *
restore > extract
You have not read any volumes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume # (none if no more volumes): 1 *** I entered 1 because my backup was done on one single file ***

*** here, the system seems to read the hole backup file because nothing was happenning for a while and then display the following text ***

Mount tape volume 2
Enter ''none'' if there are no more tapes
otherwise enter tape name (default: /tmp/chvicpxy02/chvicpxy02) *** here I pressed Enter because the default is actually my backup file ***
Wrong volume (1)
Mount tape volume 2
Enter ''none'' if there are no more tapes
otherwise enter tape name (default: /tmp/chvicpxy02/chvicpxy02) *** here I wrote /tmp/chvicpxy02/chvicpxy02 in case I had to write it instead of just pressing enter ***
Wrong volume (1)
Mount tape volume 2
Enter ''none'' if there are no more tapes
otherwise enter tape name (default: /tmp/chvicpxy02 *** here I wrote none because it seems that the system is seeing that there was only 1 volume ***
Warning: End-of-input encountered while extracting ./usr/share/texmf/tex/latex/lsc/lsc.sty
You have read volume 1
Specify next volume # (none if no more volumes):

*** at this point, I opened another terminal session and browsed /mnt/chvicpxy02 and noticed that the directory structure has been recreated and some files were restored but not that much. ****

*** I went back to the terminal where I started the restore and answered 2 to see what would happened ****

Specify next volume # (none if no more volumes):2
Mount tape volume 2
Enter ''none'' if there are no more tapes
otherwise enter tape name (default: /tmp/chvicpxy02 *** here I pressed enter ***
Wrong volume (1)
You have read volumes: 1
Specify next volume # (none if no more volumes):none

*** at that point, thousands of filenames appeared on the screen with the following information ****

./directory/filename: (inode xxxxxxx) not found on tape

*** also, thousands of link files were unable to get retreived and were appearing with the following information ***

restore: warning: cannot create hard link ./directory -> ./directory/filename: no such file or directory

*** and at the end I had ***

set owner/mode for '.'? [yn] *** Here I answered n but I don't know why exactly. ***


I also tried to restore my backup file from Webmin to see if I will have the same issue.

Here is what webmin displayed when the backup started.


You have not read any volumes yet.
Unless you know which volume your file(s) are on you should start
with the last volume and work towards the first.
Specify next volume # (none if no more volumes): 1
You have read volumes:1
Specify next volume #

Restore failed: Multi-volume restores are not supported.


I thought my backup file could have been corrupted so I did another backup level 0 but got the same result.

I also browsed my backup file with restore -i and I can see some of the files that are not being restored so I don't understand why the restore process says that the files are not on tape. There was so much 'not found' files that I could not check them all.

Can someone explain me what is happening exactly ?

Thanks to anybody who can solve this issue because I have no more idea.

Thanks

Last edited by Typeroon; 06-12-2013 at 10:01 AM. Reason: I forgot to mention something.
 
Old 06-12-2013, 04:22 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,919

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
You are aware that fedora 9 is now 9 ( soon to be 10 ) versions out of date
That there has been no support for fedora 9 since it went End Of Life on "2009-07-10"
That there have been NO security updates to Fedora9 for 4 years

Fedora 18 is the current, and fedora is only supporting fedora 17 and 18
 
Old 06-13-2013, 12:58 PM   #3
Typeroon
LQ Newbie
 
Registered: Jun 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for your reply John,

I totally understand that but unfortunately, the system that crashed was running FC9 so I was hoping that maybe someone may have already got this issue and found a solution. If upgrading is the solution, that's fine but I, at least, would like to know if somebody in the world, been in this situation before and if yes, what was the solution.

I cannot imagine being the only one in the world trying to restore an old system that crashed and that was backed-up with dump.

Thanks
 
Old 06-13-2013, 01:26 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,919

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
as i recall fedora 9 was using an experimental LVM by default

or did you format the drives to ext2 and use a custom install
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Core 2 Duo heat sink found with double stick tape needsleep Linux - Hardware 7 05-11-2012 02:45 PM
Fedora Bare Metal Restore From Tape antoniemail Linux - Server 2 07-17-2010 01:39 PM
Restore from a file dumped to disk not tape tarheel92x Linux - Server 2 09-09-2007 03:42 AM
dump restore: not found on tape remargorp Linux - Newbie 1 03-21-2007 07:47 PM
dump restore: not found on tape eddi.b Linux - Newbie 1 02-05-2004 08:36 AM


All times are GMT -5. The time now is 08:08 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration