LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-08-2009, 04:09 PM   #1
plumm
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
desperately seeking files backed up with k3b DVD burner


Hello Fellow Linux Users,

I thought I'd never qualify for a newbie question, I guess I am ripe for one now. I did a backup of text, binary, and ogg files on a 4.4 GB DVD using K3B (filling only 4.2 GBs). All the files previously resided on a reiserFS partition, so I am optimistic that there may be a way to replay the journal, in spite of the fact that soon thereafter, I reformatted the HD to ext3 and installed Linux Mint. Lo and behold, I love Linux Mint, so I do not miss the 90% of the files that are alas up until now unrecoverable. The files inside "nested" directories, those that are 2 or more levels deep, do show a magic number in kilobytes when I click on the properties. They are not 0 byte files attached to directory names. When I try copying them or opening them with their respective apps, I get I/O error. The text files that are nested only 1 level deep, I can open and copy. Say,
Code:
/media/cdrom0/hosts  --> opens fine
/media/cdrom0/Recipes/ApplePieCrust.txt  -->  I/O error, opens 0 bytes [read only][READ ERRORS] (in gvim)
I inspected the problem on another file /media/cdrom0/Java/AbsoluteLayoutDemo.java using "mc," midnight commander. I see the file name in the directory, but K3B (God rest it's soul) has "truncated" the file name under Joliet extensions and so it reads 1959 bytes in size but is showing as 'Absolute~mo.java', and the screen is blank. When I try to open in gvim using the full path /media/cdrom0/Java/Absolute~mo.java, I end up opening a new file, and using TAB completion populates the original file name. The files exist (hopefully), but I get the same result on another system with another DVD/CDROM drive. The machine tries to read the file name (but cannot). So I tried to verify that the short name files should be fine, and I tried opening 'Alpha.java'. I get I/O read error again, whereas 'mc' is reporting 291 bytes and the file is the file Alpha.java. My theory is the file(s) start/offset table is not 'correcto mundo' due to their being truncated. How can I read and copy them and eventually restore them to their glory, or should I use the DVD as a coaster? Maybe it is time to do a little binary snooping with a hex editor. Maybe I could use the Disk Druid to copy them to the new partition and remount them as reiserFS? Luckily none of the files were compressed, tared, or zipped. Any suggestion will be most welcome. If my boss finds out, I am going to end up on the chopping block.

With warm wishes for a happy solution,

plumm
 
Old 09-08-2009, 07:14 PM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,657
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
There is a couple of ways to do this.

testdisk/photorec is a program for recovering files, you may need to rename them after.

dd-rhelp/dd-rescue is a program for recovering files.

google is your friend!

you may even be able to get the files from the formatted drive this way, but you'll need a clean partition as large as the original to do so.

It's going to take time! But you should be able to recover them files.

Regards Glenn
 
Old 09-08-2009, 08:00 PM   #3
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

yes and do not have the target partition mounted (mentioned) in any /etc/fstab by another partition.

do not boot that partition but certain distros can work on it with a live cd mode.

2) but I thought I would add that it was the way that you burnt that may have caused a certain issue?

I am thinking you used Joliet?
http://www.yolinux.com/TUTORIALS/Lin...ialCDBurn.html
 
  


Reply



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
LXer: Desperately Seeking Xen LXer Syndicated Linux News 1 06-29-2007 11:53 PM
K3b not seeing my DVD burner xxxxspitfire Linux - Software 2 08-14-2005 06:40 AM
Desperately seeking drivers!!! navarre9 Linux - Networking 2 11-25-2003 06:01 PM
Desperately seeking drivers!!! navarre9 Linux - Software 2 11-25-2003 01:29 PM
Desperately seeking a ~real~ SATA driver: DrEntropy Linux - Hardware 6 11-03-2003 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 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
Open Source Consulting | Domain Registration