lookitseman
September 5th, 2008, 02:32 AM
I figure no matter what I come across, I'm not the first, and I'm not the last...the answer has to be somewhere, but I have met my match, because in this case, I don't want to make a wrong step. With that said...
This is what an ls on my external hard drive looks like (abridged):
┴.├
┘.█
!.#
).+
±.≤
.
▒.│
╣.╗
╔.╦
╤.╙
....
....
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
a t.c t
a
t.c
t
at.ct
at.ct
a
t.c
t
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
....
....
í■s.ú■s
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
i t.k t
i
t.k
t
it.kt
it.kt
i
t.k
t
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.Kt
it.Kt
it.Kt
it.Kt
it.Kt
it.Kt
....
You see the problem. I searched around, and found out about fsck and dosfsck, but neither helped. I ran fsck against the unmounted drive.
sudo fsck /dev/sdb
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
and i don't even know if dosfsck is appropriate in this case, but it wasn't any help. Fat32 isn't an ext2 filesystem is it?
I think the problem was caused when I was pulling data off of my home network onto my hard drive. I first noticed the problem once the drive moved to my other laptop, running Windows XP (hence the reason for FAT32). I *think* after I pulled down the data, but before I moved the drive to the other laptop...the hard drive was fully functional.
Now every time I access the drive, what I see changes, I can't open any files, I can see the folder names at the hard drive root (amongst hundreds of junk entries like the ones above), but subfolders are either missing or have garbled titles.
I'm open for suggestions...what steps does one take to try to diagnose a hard drive???
This is what an ls on my external hard drive looks like (abridged):
┴.├
┘.█
!.#
).+
±.≤
.
▒.│
╣.╗
╔.╦
╤.╙
....
....
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
a t.c t
a
t.c
t
at.ct
at.ct
a
t.c
t
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
at.ct
....
....
í■s.ú■s
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
i t.k t
i
t.k
t
it.kt
it.kt
i
t.k
t
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.kt
it.Kt
it.Kt
it.Kt
it.Kt
it.Kt
it.Kt
....
You see the problem. I searched around, and found out about fsck and dosfsck, but neither helped. I ran fsck against the unmounted drive.
sudo fsck /dev/sdb
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
and i don't even know if dosfsck is appropriate in this case, but it wasn't any help. Fat32 isn't an ext2 filesystem is it?
I think the problem was caused when I was pulling data off of my home network onto my hard drive. I first noticed the problem once the drive moved to my other laptop, running Windows XP (hence the reason for FAT32). I *think* after I pulled down the data, but before I moved the drive to the other laptop...the hard drive was fully functional.
Now every time I access the drive, what I see changes, I can't open any files, I can see the folder names at the hard drive root (amongst hundreds of junk entries like the ones above), but subfolders are either missing or have garbled titles.
I'm open for suggestions...what steps does one take to try to diagnose a hard drive???