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.
|