LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack Search this Thread
Old 09-26-2008, 03:30 PM   #1
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
Unhappy 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
 
Old 09-26-2008, 09:49 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
Hi bigjohn, Were there any file system changes? What file system/systems are we talking about?
Good luck. ;-)
 
Old 09-27-2008, 03:31 AM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Peacedog View Post
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)

Last edited by bigjohn; 09-27-2008 at 03:33 AM.
 
Old 09-27-2008, 07:57 AM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,277

Rep: Reputation: 166Reputation: 166
There is a program that may help called ext3grep.
Good luck. ;-)
 
Old 09-27-2008, 09:27 AM   #5
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Maybe show us output from fdisk -l and tell us how you treated each of the partitions.
 
Old 09-27-2008, 09:31 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.

Last edited by jschiwal; 10-02-2008 at 04:16 AM. Reason: fixed typo
 
Old 10-04-2008, 12:58 AM   #7
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Original Poster
Rep: Reputation: 45
@ 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.
 
Old 10-04-2008, 01:02 AM   #8
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Original Poster
Rep: Reputation: 45
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
 
Old 10-04-2008, 02:15 AM   #9
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 134

Rep: Reputation: 15
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
 
Old 10-04-2008, 04:57 AM   #10
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by mia_tech View Post
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

regards

John
 
Old 10-05-2008, 02:34 PM   #11
mia_tech
Member
 
Registered: Dec 2007
Location: FL, USA
Distribution: CentOS 5.3, Ubuntu 9.04
Posts: 134

Rep: Reputation: 15
Quote:
Originally Posted by bigjohn View Post
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

regards

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


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HDD partition lost. xandros DVD + me = lost data lein Linux - General 18 05-22-2007 05:47 AM
Howto recover lost and formatted data on lost partitions. Sören Schneider LinuxQuestions.org Member Success Stories 2 04-05-2006 06:38 AM
The postgresql data directory content in the pgsql directory is lost (empty data dir) kisembo Linux - Software 1 02-13-2006 01:11 PM
help... lost data ieuuk Linux - General 3 07-06-2005 05:10 AM
Tell me all his data is not lost! Bruce Hill Linux - Newbie 18 07-06-2003 12:32 PM


All times are GMT -5. The time now is 03:28 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