Results 1 to 3 of 3
hi,
I've opensuse 11.0 installed on my desktop in ext2 file system. A week ago, due to some voltage problem, my pc rebooted. After that i got a following file ...
- 12-30-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 4
File system error
hi,
I've opensuse 11.0 installed on my desktop in ext2 file system. A week ago, due to some voltage problem, my pc rebooted. After that i got a following file system error:-
fsck failed.please repair manually.
After that i used following command:-
e2fsck -p
but it didn't worked . so please help me how to repair file system with proper commands. I will be highly gratefull.
- 12-30-2008 #2
The -p flag that you fed to fsck means an automatic repair (it was asking you to do a manual repair).
You want to just do (while the drive is unmounted)
fsck /dev/<partition>
Then for each correction it will ask if you want to repair it. The default options will be to repair (just hit enter). You will have to monitor it during this process and approve the repairs.
This will work 95% of the time, but if the disk corruption is bad enough further steps could have to be taken. In short, cross that road when you get to it. For now just do the manual fsck.
Good luck!Linux since: 2001
Gentoo since: 2004
- - - - - - - -
Translation:
I fix things until they break.
- 12-31-2008 #3Just Joined!
- Join Date
- Aug 2005
- Location
- South West England
- Posts
- 91
Hey, what's wrong with ext3/4/another? They're journaling filesystems, designed to stop you losing all that important data when a power fluctuation like that happens.
To convert to ext3 from ext2 whilst keeping your data:
tune2fs -j /dev/whatever


Reply With Quote