The system utility fsck (from "file system check" or "file system consistency check") is a tool used to check the consistency of a file system in Unix and clones.

learn more… | top users | synonyms

1
vote
1answer
200 views

Proper way to run (e2)fsck on a server I am diagnosing?

I was reading an old sysadmin manual and it said to use the badblocks program to feed e2fsck with the -l parameter the bad cylinders, but newer "guides" are saying to use the -c switch instead. I am ...
1
vote
1answer
385 views

Filesystem handling for embedded Linux device

I am developing a device that will run Linux as its operating system. The device is a small form factor X86 device with a flash drive exposed as a SATA-device. So it is not very dissimilar from any ...
10
votes
3answers
40k views

fsck an ntfs drive in Linux

Is there a way to fsck/chkdsk an NTFS drive from Linux?
1
vote
5answers
1k views

Why does linux check disks during boot instead of shutdown? [closed]

I'm just curious - why do all linux distros (all I've seen) run their periodic disk checks during boot? I mean, I understand that a disk should be checked now and then, but why does the system do it ...
1
vote
5answers
4k views

Perform bad blocks scan on root partition in Linux

My root partition is formatted as ext3 and I would like to perform a bad blocks scan on it. Normally e2fsck -c -c does this, but you can not run it on a mounted partition. I know it is possible to ...
1
vote
2answers
978 views

External USB harddrive going unresponsive after a few hours of use

I mount my Seagate FreeAgent Pro external harddrive to my Fedora box via USB. I use it as storage for my backups. Recently, it's been giving me some problems. I attempted to contact Seagate and they ...
2
votes
1answer
1k views

how can fsck to recover from hardware failure?

I have a RAID 5 array using mdadm and ext4 as its filesystem. We got a strong power surge and one of the drive faulted, while another one got a bit flakky, aka "click of death". I replaced the disks ...
0
votes
1answer
2k views

Why won't xfs_check run?

I'm running a fully updated Ubuntu 9.04 "Jaunty" i686 server. I have an single XFS volume in an LVM group called /dev/mapper/vg0-bigthree. If I boot to single user mode and ensure that the volume is ...
20
votes
3answers
24k views

Why has my Mac been running fsck_hfs for two days now?

I first noticed that fsck_hfs was running, taking up 50-75% of a CPU, yesterday. It continues to run today. ps shows that it is doing /sbin/fsck_hfs -f -n -x -E /dev/disk3. Only problem: I don’t ...
4
votes
1answer
2k views

What are “Missing thread recordng” erros when running fsck -fy?

There is some error reported when I run Disk Utility and verify the root volume on my OS X MacBook. So I boot and CMD-S into the shell mode and run /sbin/fsck -fy. Errors are like: ** Checking ...
4
votes
3answers
8k views

Can't mount FAT32 drive under Ubuntu Linux

I have a 320GB USB drive with a single large FAT32 partition. The volume mounts perfectly fine on my Mac OS X 10.5.8 machine and Disk Utility on the mac reports no issues with the volume. I can ...
1
vote
1answer
4k views

fsck error: currently, only 1 or 2 FATs are supported, not 34

Why do I get the fsck error: "currently, only 1 or 2 FATs are supported, not 34?" And what can I do to successfully run fsck? I'm fsck-ing my Transcend 16GB Class-6 SD card. It got corrupted recently ...
3
votes
3answers
10k views

How do I prevent a memory card from mounting as read-only in Ubuntu Linux?

I'm using Ubuntu 9.04 and when I try to mount an SD card with the GUI I have to type sudo mount -o remount,rw /media/disk before I can write anything to the card. Is there a hidden setting to make it ...
3
votes
6answers
11k views

Ext3 drive will not mount after power failure; how to recover files?

After a recent power failure which caused my linux box (Ubuntu 8.10) to rapidly poweroff twice from a normal running state, I have a drive that will not mount. UPDATE: The drive will sometimes ...
0
votes
1answer
525 views

Unable to boot to Ubuntu. Inconsistency in disk, X server didn't start. Illegal blocks in Inode

I am unable to boot into my Ubuntu system. First I get that fsck died with exit status 4 Then I try to do it manually as prompted and I get that an Inode has illegal blocks and asked to clear it. ...
1
vote
2answers
3k views

Ubuntu Forced fsck on boot fails

fsck has lots of errors reading block 24251xx (attempt to read block from filesystem resulted in short read) while getting next inode from scan. Ignore error (y)? Force rewrite (y)? Sometimes ...
6
votes
3answers
25k views

fsck: Options for most thorough disk check

I've got a disk with a known problem (I know because dd gags when I try to clone it). But when I boot with a live CD and run fsck on the unmounted partition, I get this: ubuntu@ubuntu:~$ sudo fsck ...
12
votes
3answers
12k views

What is the difference between fsck and e2fsck?

What is the difference between the linux disk error-checking tools fsck and e2fsck?