LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 03-24-2008, 03:08 PM   #1
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,596
Blog Entries: 1

Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
lost some folders - hd corrupted?


Hi,

I just found out that some folders on my hd with data have become block devices

Code:
drwxr-xr-x    3 sycamorex sycamorex      4096 Jan 20 20:02 gfx/
drwxr-xr-x    4 sycamorex sycamorex      4096 Feb 17 22:07 guitarfilms/
drwxr-xr-x    3 sycamorex sycamorex      4096 Jan 17 22:04 installs/
drwxr-xr-x    5 sycamorex sycamorex      4096 Mar 21 15:57 iso/
drwxr-xr-x   11 sycamorex sycamorex      4096 Jul 23  2007 languages/
drwx------    2 sycamorex sycamorex     16384 Jan 11 23:22 lost+found/
drwxr-xr-x    4 sycamorex sycamorex      4096 Jan 12 21:29 musicrecord/
drwxr-xr-x    2 sycamorex sycamorex      4096 Feb 24 15:37 my/
drwxr-xr-x    7 sycamorex sycamorex      4096 Mar 10 22:56 notes/
drwxr-xr-x   21 sycamorex sycamorex      4096 Jan 12 18:37 oldgames/
brwx------ 8205 536879605 536879605    168, 0 Feb 28  2025 photographs
drwxr-xr-x    7 sycamorex sycamorex      4096 Feb 24 18:29 projects/
brwxr-xr-x 8194 536879605 536879605    240, 0 Feb 27  2025 shared
brwxr-xr-x 8197 536879605 536879605    184, 0 Sep 30  2024 tabs
brwxr-xr-x 8201 536879605 536879605     56, 0 Jan 30  2025 themes
drwx------    2 sycamorex sycamorex      4096 Feb 24 16:20 .Trash-sycamorex/
brwxrwxrwt 8198 536879605 536879605     96, 0 Feb 28  2025 virtual_boxes
Basically, all those dodgy entries used to be folders yesterday

I haven't tampered with it. The computer has been running for some time playing music and due to Easter I spent most of my time with my family.
I just discovered that something went terribly wrong. I know I should've backed up my photographs on dvds. What can I do about it? I tried rebooting the computer, still the same. It's an IDE drive. I bought it one year ago and up til now didn't have any problems with it.


thanks
 
Old 03-24-2008, 03:28 PM   #2
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by sycamorex View Post
Hi,

I just found out that some folders on my hd with data have become block devices

Code:
drwxr-xr-x    3 sycamorex sycamorex      4096 Jan 20 20:02 gfx/
drwxr-xr-x    4 sycamorex sycamorex      4096 Feb 17 22:07 guitarfilms/
drwxr-xr-x    3 sycamorex sycamorex      4096 Jan 17 22:04 installs/
drwxr-xr-x    5 sycamorex sycamorex      4096 Mar 21 15:57 iso/
drwxr-xr-x   11 sycamorex sycamorex      4096 Jul 23  2007 languages/
drwx------    2 sycamorex sycamorex     16384 Jan 11 23:22 lost+found/
drwxr-xr-x    4 sycamorex sycamorex      4096 Jan 12 21:29 musicrecord/
drwxr-xr-x    2 sycamorex sycamorex      4096 Feb 24 15:37 my/
drwxr-xr-x    7 sycamorex sycamorex      4096 Mar 10 22:56 notes/
drwxr-xr-x   21 sycamorex sycamorex      4096 Jan 12 18:37 oldgames/
brwx------ 8205 536879605 536879605    168, 0 Feb 28  2025 photographs
drwxr-xr-x    7 sycamorex sycamorex      4096 Feb 24 18:29 projects/
brwxr-xr-x 8194 536879605 536879605    240, 0 Feb 27  2025 shared
brwxr-xr-x 8197 536879605 536879605    184, 0 Sep 30  2024 tabs
brwxr-xr-x 8201 536879605 536879605     56, 0 Jan 30  2025 themes
drwx------    2 sycamorex sycamorex      4096 Feb 24 16:20 .Trash-sycamorex/
brwxrwxrwt 8198 536879605 536879605     96, 0 Feb 28  2025 virtual_boxes
Basically, all those dodgy entries used to be folders yesterday

I haven't tampered with it. The computer has been running for some time playing music and due to Easter I spent most of my time with my family.
I just discovered that something went terribly wrong. I know I should've backed up my photographs on dvds. What can I do about it? I tried rebooting the computer, still the same. It's an IDE drive. I bought it one year ago and up til now didn't have any problems with it.


thanks
could be a bad hd, could be some fs corruption, whatever it is, it doesn't look good.

what type of file system? You may be able to run an fsck on to rebuild/recover data, just check over all the man pages for the fsck for your fs type before doing so.
 
Old 03-24-2008, 03:46 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,596
Blog Entries: 1

Original Poster
Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
I umounted it and ran fsck without any parameters (fsck /dev/hda3) it fixed a lot of errors, I remounted it then, but it's exactly the same

I umounted it again. This time fsck doesn't show any errors.

What else can I do? I'm going to physically re-plug the drive now


please don't......!!!!
 
Old 03-24-2008, 03:52 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,596
Blog Entries: 1

Original Poster
Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
still the same, it's ext3 fs

is there anything else I can do?
thanks
 
Old 03-24-2008, 05:07 PM   #5
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,590

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by sycamorex View Post

I umounted it and ran fsck without any parameters (fsck /dev/hda3) it fixed a lot of errors, I remounted it then, but it's exactly the same

I umounted it again. This time fsck doesn't show any errors.

What else can I do? I'm going to physically re-plug the drive now

Take a look in the lost+found directory on the partition that you ran fsck against. See if fsck placed any orphan files in lost+found.

--------------------
Steve Stites
 
Old 03-24-2008, 05:31 PM   #6
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,596
Blog Entries: 1

Original Poster
Rep: Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046Reputation: 1046
Quote:
Take a look in the lost+found directory on the partition that you ran fsck against. See if fsck placed any orphan files in lost+found.

They are there!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
The 'lost+found' folder makes sense now I always wondered what it's for



thanks guys, If we ever meet, I'll treat you both to a drink (or two ) of your choice


I'm going to burn the photos on dvds now


Last edited by sycamorex; 03-24-2008 at 05:32 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted SD Card - Have I lost my photos? linmix Linux - Hardware 2 07-07-2006 05:37 PM
Lost files and folders Draylath MEPIS 3 08-14-2005 07:53 PM
Thunderbird folders corrupted by virus? toes Linux - Security 2 03-08-2005 05:22 PM
Lost association for folders on desktop jax79sg Linux - General 0 01-01-2004 08:33 AM
lost Mozilla folders! thekirk Linux - Newbie 2 01-04-2003 12:29 PM


All times are GMT -5. The time now is 08:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration