fsck - check and optionally repair a file system.

learn more… | top users | synonyms

1
vote
0answers
352 views

Resolving unmet installation dependencies; file system problems

Somehow part of my ext3 file system got corrupted and large portions of my python installation got all sorts of messed up. The only thing I could notice immediately was Python raising a missing module ...
0
votes
1answer
1k views

What is in fsck section in fstab?

I have a basic understanding of fsck utility but what does "fsck" section in /etc/fstab denote? It has values 0, 1, 2 what are these values? Googling says 0- it wont be checked 1- will ...
6
votes
1answer
971 views

Significant difference in speed between fsck using ext3 and ext4 on Debian Squeeze

Recently I installed Debian Squeeze, first using ext3 and then again using ext4 on the same machine. The automatic fsck done after a certain number of mounts is much faster using ext4 (about 1 min) ...
8
votes
2answers
1k views

How to repair an ext3 partition after broken resize operation?

I was using gparted to resize a near-terabyte ext3 partition, adding about 40 GB to the left. After nearly 12 hours of moving data (and with 23 more hours estimated to remain) the system hung. Now ...
6
votes
1answer
2k views

How does the Unix “fsck” differ from the Windows “chkdsk”?

What are the differences between Unix's fsck and Windows' chkdsk?
2
votes
2answers
461 views

Did `sudo init 6` cause my file system to be corrupted?

I was developing some code and had open qtcreator (software development IDE), gnome-terminal, and possibly firefox. I needed to restart to test something. So i restarted using sudo init 6. When my ...
5
votes
2answers
726 views

How can I diagnose and repair missing drive space?

I have a small ext3 / partition on a 2T drive which appears to have a discrepancy in its free space. How can I determine what is causing it and how it can be fixed. After trying everything I could ...
10
votes
1answer
3k views

What does fsck -p (preen) do on ext4?

I was reading a blog post about filesystem repair and the author posted a good question… fsck -p is supposed to fix minor errors automatically without human intervention. But what exactly will it fix ...
1
vote
1answer
1k views

e2fsck progress bar?

How can I see the progress of e2fsck in the terminal? Are there any pv like ways? For example how can I see how far along this command is in progress: e2fsck -f -y -v /dev/sdb1
1
vote
2answers
726 views

How can I fix linux disk without unmount it?

I had large file 200GB in my ext2 disk, then I deleted it(three are no files in Trash). And I haven't gained any free space. I don't want to use fsck as it requres me to unmount disk. I were windows ...
5
votes
1answer
1k views

How to view bad blocks on mounted ext3 filesystem?

I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except badblock inode). Now I'd like to get badblock ...
3
votes
2answers
477 views

How to test file system correction done by fsck

How to make sure that fsck is correcting corruptions while keeping the integrity of file system? Suppose clients are writing lots of files through NFS to server, and there happens something that ...
4
votes
1answer
4k views

e2fsck: unable to set superblock flags on LogicalVolume

When I boot my machine either in normal mode or runlevel 1 it throws following error and I'm unable to boot the machine: checking filesystems /dev/MyGroup/LogVol00: UNEXPECTED INCONSISTENCY; RUN ...