LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   missing/lost data - where is it, how do I find it ????? (https://www.linuxquestions.org/questions/linux-general-1/missing-lost-data-where-is-it-how-do-i-find-it-672584/)

bigjohn 09-26-2008 03:30 PM

missing/lost data - where is it, how do I find it ?????
 
After multiple problems last weekend and multiple re-installs (distro's various), I've lost some data.....

I don't know why though, because I didn't format the /home at all and my user account has all of the data still there, it's some pictures and documents that have disappeared.

I suspect that the data is still on the disc but how do I go about finding it and putting it back in her /home/user ?

regards

John

Peacedog 09-26-2008 09:49 PM

Hi bigjohn, Were there any file system changes? What file system/systems are we talking about?
Good luck. ;-)

bigjohn 09-27-2008 03:31 AM

Quote:

Originally Posted by Peacedog (Post 3293001)
Hi bigjohn, Were there any file system changes? What file system/systems are we talking about?
Good luck. ;-)

No, it was just kept as ext3 when selecting the file systems for the multiple re-installs (originally sidux i.e. debian SID, then kubuntu, then sabayon, back to an earlier sidux, then sabayon, then back to kubuntu - having visited the latest sidux on the way).

All this sounds very strange, and I won't bore you with the reasons/problems that caused all this.

"It's" still set as ext3 and the /home wasn't touched. I don't follow why my partners /home directory has had this problem because I haven't lost any of my files - just hers i.e. some pictures and some documents (both .doc files and .odt files).

Hence my feeling that the lost files are still there but for some reason they've lost some of the parts of the identifier that tell me where they are and who's directory they belong in.... ?

regards

John

p.s. Oh and I'm not sure if it might be restored if I can re-install the sidux, which is the eventual goal - but is having to wait because at the moment some changes in more recent versions of sidux mean that it won't/can't see my network card at the moment (I'm also trying to sort that so I can get it back onto the system)

Peacedog 09-27-2008 07:57 AM

There is a program that may help called ext3grep.
Good luck. ;-)

Jongi 09-27-2008 09:27 AM

Maybe show us output from fdisk -l and tell us how you treated each of the partitions.

jschiwal 09-27-2008 09:31 AM

Did you also opt to have it not formatted. If you simply choose the same filesystem, it will still be formatted. You could also try the "photorec" program.

bigjohn 10-04-2008 12:58 AM

@ Peacedog - Ok, thanks I'll see what it does etc.

@ Jongi -
Quote:

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005af21

Device Boot Start End Blocks Id System
/dev/sda1 * 1 131 1052226 83 Linux
/dev/sda2 132 327 1574370 82 Linux swap / Solaris
/dev/sda3 328 5549 41945715 83 Linux
/dev/sda4 5550 38913 267996330 83 Linux

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0009e844

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 30401 244196001 83 Linux
That's the output of fdisk -l Jongi. Whatever I did during the various installs, updates etc, I was just making the /dev/sda3 (and no I have no idea why it's decided to call the partitions /sda? because it's an old(ish) machine that only has EIDE hard drives. I would tell "it" that the mount point was /home and make sure that it wasn't formatted - always choosing ext3 for the file system.

@ jschiwal - no it definitely wasn't formatted, because otherwise I'd have lost everything in my /home as well. Mine is/was completely untouched (good really seeing as there's a couple of gig's of music that I've ripped into FLAC format). Hence I have no idea how or why my partners /home has been affected. I'll give the "photorec" a go as well.

I don't recall if I ever managed to make a backup on /dev/sdb1 or not (which was why it was installed in the first place), I haven't worked out how I look at the stuff on it yet, it's all rather confusing as to what's actually happened.

regards

John

p.s. Oh and at the moment, I'm stuck with Kubuntu as it seems my problems with getting Sidux installed are connected with a kernel workround for the natsemi driver for my NIC and their "Ceni" network config app.

bigjohn 10-04-2008 01:02 AM

more weirdness.........
 
It seems that there's no mention of the /dev/sdb in the fstab - but kubuntu has used UUID numbers for device identifiers.

How would I find out what the number for the /dev/sdb is so I can add that to the fstab and see if I did ever manage to do a backup (or at least the missing photo's and documents) on it?

regards

John

mia_tech 10-04-2008 02:15 AM

have you tried something simple like doing a search for your pics?, before getting any deep, I would
Code:

find /home/user -name picturename.jpg

bigjohn 10-04-2008 04:57 AM

Quote:

Originally Posted by mia_tech (Post 3299806)
have you tried something simple like doing a search for your pics?, before getting any deep, I would
Code:

find /home/user -name picturename.jpg

No, because I don't know the names of the pictures i.e. it's those bloody silly aqkl654390.jpg type titles and I haven't got the faintest idea of what the names might be!

Plus it's some .doc files as well..

but of course I'm welcome to any ideas - thinking isn't one of my strong points :D

regards

John

mia_tech 10-05-2008 02:34 PM

Quote:

Originally Posted by bigjohn (Post 3299878)
No, because I don't know the names of the pictures i.e. it's those bloody silly aqkl654390.jpg type titles and I haven't got the faintest idea of what the names might be!

Plus it's some .doc files as well..

but of course I'm welcome to any ideas - thinking isn't one of my strong points :D

regards

John

you can always use wildcards instead eg: *.jpg, *.doc, *.png, etc..


All times are GMT -5. The time now is 06:54 AM.