Missing folder in Ubuntu

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Dave
Jedi Knight
Posts: 901
Joined: 2004-02-06 11:55pm
Location: Kansas City, MO

Missing folder in Ubuntu

Post by Dave »

Alright, so two hours ago, I was playing music in Rhythmbox. Then I paused it and went to work on something else, still working on the same computer. I ripped some music to my desktop and went to put its folder in my music folder. Only I had no music folder. It was gone.

Rhythmbox threw file not found errors when I tried to play music. It doesn't seem to have been moved, it hasn't been trashed, it doesn't show up in ls -a, and my list of terminal commands has no mention of the music folder. I haven't left the computer between the time I know it worked and the time I found the folder missing. Forcing Ubuntu to do its startup file system check came up with nothing.

I'm running Ubuntu 10.04 amd64. I have a backup of my music folder I can readily access.

My questions:
Can I recover the folder "conventionally", or should I just copy back the music folder?
Can I trust the file system?
Can I trust the hard drive?
User avatar
Dave
Jedi Knight
Posts: 901
Joined: 2004-02-06 11:55pm
Location: Kansas City, MO

Re: Missing folder in Ubuntu

Post by Dave »

Fuck, it happened again!

I had copied my music from backup back to its original location and kept going for another week. It happened to me again. This time, the computer is still on and has not yet been rebooted.

The filesystem is ext4.
User avatar
Dave
Jedi Knight
Posts: 901
Joined: 2004-02-06 11:55pm
Location: Kansas City, MO

Re: Missing folder in Ubuntu

Post by Dave »

cat /var/log/syslog.1 turns up:

Code: Select all

Mar  1 03:41:05 Spocks-Fist ntfs-3g[1838]: Inode 336289 has corrupt attribute flags (0x8000 <> 0x20): Input/output error
Mar  1 04:17:02 Spocks-Fist CRON[3276]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar  1 04:42:05 Spocks-Fist ntfs-3g[1838]: Inode 336289 has corrupt attribute flags (0x8000 <> 0x20): Input/output error
Mar  1 05:17:01 Spocks-Fist CRON[3465]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar  1 05:43:06 Spocks-Fist ntfs-3g[1838]: Inode 336289 has corrupt attribute flags (0x8000 <> 0x20): Input/output error
Mar  1 06:17:01 Spocks-Fist CRON[3675]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Mar  1 06:25:01 Spocks-Fist CRON[3705]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Mar  1 06:44:05 Spocks-Fist ntfs-3g[1838]: Inode 336289 has corrupt attribute flags (0x8000 <> 0x20): Input/output error
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Re: Missing folder in Ubuntu

Post by Pu-239 »

Hard drive crapping out? Backup everything and fsck(if it's just the filesystem crapping out)?

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Dave
Jedi Knight
Posts: 901
Joined: 2004-02-06 11:55pm
Location: Kansas City, MO

Re: Missing folder in Ubuntu

Post by Dave »

The hard drive is only a year and a half old (which doesn't mean the world, just it isn't terribly old).

Everything's backed up, and I ran fsck on the partition from a liveCD:

Code: Select all

root@ubuntu:/home/ubuntu# e2fsck -pfv /dev/sda5

  678730 inodes used (2.65%)
    2354 non-contiguous files (0.3%)
     679 non-contiguous directories (0.1%)
         # of inodes with ind/dind/tind blocks: 0/0/0
         Extent depth histogram: 637804/382
74738110 blocks used (72.99%)
       0 bad blocks
      19 large files

  546000 regular files
   83525 directories
      60 character device files
      26 block device files
       0 fifos
     613 links
   49081 symbolic links (40419 fast symbolic links)
      29 sockets
--------
  679334 files
No SMART warnings, I ran a SMART self test and nothing came up, etc. I've got no clue what might be causing this.

I have a thread going on the ubuntu forums, but the other guy posting is running out of questions to ask. http://ubuntuforums.org/showthread.php?p=10516340
Post Reply