Results 1 to 5 of 5
Hi I have 1TB USB disk formatted to ext3, I executed:
e2fsck -p -v /media/disk
and it showed me this, I dont know what does it mean?
r-c r-c # ...
- 10-15-2008 #1Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
How to repair ext3 fs on USB disk?
Hi I have 1TB USB disk formatted to ext3, I executed:
and it showed me this, I dont know what does it mean?e2fsck -p -v /media/disk
r-c r-c # e2fsck -p -v /dev/sda1
WD1TB contains a file system with errors, check forced.
Error reading block 135734817 (Attempt to read block from filesystem resulted in short read) while reading indirect blocks of inode 67862530.
WD1TB: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
- 10-15-2008 #2
It shows the system is not properly shutdown (or unmounted).
Try running,
It may prompt you with questions,just press yes,most often fsck will take care of it.fsck /dev/sda1- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 10-15-2008 #3Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
re
disk has 1TB and I have no other 1TB disk
just now I executed fsck /dev/disk
it has been showing me a lot of read errors and asks me to owervrite:
Error reading block 162038050 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 162038051 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 162038052 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 162038053 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 162038054 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error<y>? yes
Force rewrite<y>? yes
Error reading block 162038055 (Attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error<y>? yes
Force rewrite<y>? yes
Can you tell me what fsck do when I press yes on error question?
Is that good solution or is any better?
- 10-16-2008 #4Remember give specific device name,fsck /dev/disk
not just
I should be likefsck /dev/sda
Replace X with appropriate number,In your case it looks likefsck /dev/sdaX
sda1
When you Press Yes - fsck will try to fix the problem on it's own.
In your case, it looks like while scanning inodes you are getting errors may be due to bad blocks.
try fixing it-fsck will pass through different stages-,at the end you will see message like
**** FILE SYSTEM WAS MODIFIED *****
653/32014336 files (6.0% non-contiguous), 60991937/64000944 blocks
Check these links which will give you more informations,
Arch Linux Forums / Questions about fsck
Error occured during the file system check. - *nix Software
Errors with Linux file system - *nix Hardware Configuration
http://www.linuxforums.org/forum/lin...fsck-help.html
All the best- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 10-16-2008 #5Just Joined!
- Join Date
- Oct 2008
- Posts
- 6
re
BEFORE ANYTHING I CHANGED THE INIT FROM 3 TO 1.
It helped this command:
fsck.ext3 -y /dev/disk
it is important to write type of filesystem, because if there is nothing written can be done more damage like without running fsck.
-y means answear on every question yes.


Reply With Quote

