Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@localhost todd]# fsck /dev/sda6
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
/dev/sda6: Attempt to read block from filesystem resulted in short read while reading block 529
/dev/sda6: Attempt to read block from filesystem resulted in short read reading journal superblock
fsck.ext3: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sda6
[root@localhost todd]#
________________________________________________________________________
Then I tried to run debugfs -w and when I try to view any of the files I get:
[root@localhost todd]# debugfs /dev/sda6 -w
debugfs 1.40.8 (13-Mar-2008)
debugfs: ls
2 (12) . 2 (12) .. 11 (20) lost+found 15679489 (12) todd
18104321 (16) share 11436033 (20) lisahedaria 4177921 (16) arlene
14123009 (20) candynally 5980161 (16) louis 2899969 (16) lpinson
2916353 (12) joe 4866049 (12) jeri 13189121 (16) xerox
3063809 (20) jeriwalter 3342337 (16) arlenem 2932737 (3860) joed
debugfs: cd todd
debugfs: ls
Attempt to read block from filesystem resulted in short read
debugfs:
________________________________________________________________________
when I try to mount the partition I get:
[root@localhost todd]# mount /dev/sda6
mount: wrong fs type, bad option, bad superblock on /dev/sda6,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@localhost todd]#
________________________________________________________________________
If I view the log file, this is what I get:
[root@localhost todd]# dmesg | tail
EXT3-fs: error loading journal.
ata1: EH complete
sd 0:0:0:0: [sda] 312500000 512-byte hardware sectors (160000 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 312500000 512-byte hardware sectors (160000 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[root@localhost todd]#
________________________________________________________________________
This is the first time that I've ever even really looked at the file system in 8 years of using Linux. I know I'm an idiot for not caring, but I do now. I've heard for years that ext3 is far better than NTFS and frankly that's always been good enough for me. So if anyone has a clue which direction to point me and can be of assistance it would be greatly appreciated. Yes this is the /home partition of a "win2k domain controler" where all of the user files are. It always bugs me when people start crying about how important the data is so I won't do it. Only that the data was important enough to me that my "win2k domain controler" is not win2k. I here by swear that I will help the next person with a problem that I know how to fix. I would have done that anyway but there it is. Thanks in advance.
Sorry, I tried what you said but it said that the device was in use. I didn't have it mounted and I assumed that would be enough. I'm downloading Knoppix now and will give it another try tomorrow. Thanks for the reply.
root@Knoppix:/ramdisk/home/knoppix# e2fsck -n /dev/sda6
e2fsck 1.40-WIP (14-Nov-2006)
Couldn't find ext2 superblock, trying backup blocks...
/dev/sda6: Attempt to read block from filesystem resulted in short read while reading block 529
/dev/sda6: Attempt to read block from filesystem resulted in short read reading journal superblock
e2fsck: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sda6
root@Knoppix:/ramdisk/home/knoppix#
_____________________________________________________________________________________
This is what happened when I tried to use a different superBlock
root@Knoppix:/ramdisk/home/knoppix# e2fsck -b 32768 /dev/sda6
e2fsck 1.40-WIP (14-Nov-2006)
/dev/sda6: Attempt to read block from filesystem resulted in short read while reading block 529
/dev/sda6: Attempt to read block from filesystem resulted in short read reading journal superblock
e2fsck: Attempt to read block from filesystem resulted in short read while checking ext3 journal for /dev/sda6
root@Knoppix:/ramdisk/home/knoppix#
This is what I got when I asked for all of the backup superBlocks (none of which worked)
root@Knoppix:/ramdisk/home/knoppix# mke2fs -n /dev/sda6
mke2fs 1.40-WIP (14-Nov-2006)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
18628608 inodes, 37246694 blocks
1862334 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1137 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.