Questions tagged [fsck]

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.

148 questions
65
votes
7 answers

fsck an ntfs drive in Linux

Is there a way to fsck/chkdsk an NTFS drive from Linux?
vivin
  • 1,603
56
votes
6 answers

How to check root partition with fsck?

I installed Linux Mint 12 KDE, and I would like to check the root partition for any errors. How do I check the root partition with fsck at boot time?
BlueSky
  • 563
  • 1
  • 4
  • 4
43
votes
3 answers

What is the difference between fsck and e2fsck?

What is the difference between the linux disk error-checking tools fsck and e2fsck?
28
votes
4 answers

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. Running ps -ax shows that it is doing /sbin/fsck_hfs -f -n -x -E /dev/disk3. Only problem: I don’t think I have a /dev/disk3. Why is it…
Nate
  • 4,143
27
votes
4 answers

How to run fsck on an external drive with OS X?

I'm getting this error when trying to repartition an external drive: "". I want to run fsck -fy on the drive, but don't know the proper syntax for doing it on an external drive? Can anyone help me out with this problem?
PETERV
  • 379
  • 1
  • 3
  • 3
16
votes
4 answers

Why is an Ext4 disk check so much faster than NTFS?

I had a situation today where I restarted my computer and it said I needed to check the disk for consistancy. About 10 minutes later (at "1%" complete), I gave up and decided to let it run when I go home. For comparison, my home computer uses Ext4…
Brendan Long
  • 1,808
14
votes
3 answers

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 /dev/sdf1 fsck 1.41.4 (27-Jan-2009) e2fsck 1.41.4…
13
votes
2 answers

Disable automatic fsck_exfat on dirty volume mount in Mac OSX

I've several large hard disks formatted in exFAT to keep clean compatibility between Win7/Bootcamp and Snow Leopard. Here's the problem: fsck_exfat needs something like 6-8gb of RAM to complete on a large disk. (windows' chkdsk works fine, btw). If…
9
votes
3 answers

fsck from a Windows box

Is there any program that is totally equivalent to fsck for ext2/3/4 partitions and runs in Windows? I need it to scan & repair my Android phone's sd-ext partition on SD. I also know that Windows only mounts the firts partition on a removable drive.…
7
votes
1 answer

Running fsck from cygwin shell?

I need to be able to check / fix file system errors on SD cards from a win7 box. I had hoped to use e2fsck from cygwin but am having some issues getting this to work. (SD cards are used to boot fanless PCs to debian) SD cards in question have 3…
ethrbunny
  • 405
7
votes
1 answer

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 (not sure how). I already recovered the data. Now…
7
votes
1 answer

How to update e2fsck correctly?

I just migrated a linux system (Ubuntu 16.04) from a failing hard disk. After lots of troubles, it starts up, but always complains /dev/sda2 has unsupported feature(s): metadata_csum E2FSCK: Get a newer version of e2fsck! So I updated e2fsck to…
7
votes
5 answers

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 read/write all data on the drive. However when I…
Josh
  • 9,947
6
votes
3 answers

Is it safe to disable fsck on boot?

Occasionally fsck would run on it's own when I reboot my server, but most of the time it doesn't. But when it does run, it takes too long to finish. Is it safe to disable this permanently?
IMB
  • 5,583
6
votes
3 answers

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 mount read-write?
joeforker
  • 664
1
2 3
9 10