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
0answers
60 views

Reuse broken disk

My Western-Digital hard drive (WDC WD3200BEVT-80A0RT1) got broken yesterday. I don't care about the data on it, but I want to reuse this disk. As long as I do not have Windows installation DVD anymore ...
1
vote
1answer
97 views

Why does file system get error repeatedly even if I fsck it over and over again (on linux)?

My system is Gentoo Linux (kernel is 3.16.0), my file system is reiserfs. A couple days ago, I unpacked a big tarball which is more than 100MB, and is about 1.3GB and 10,000 files after unpack , then ...
0
votes
0answers
114 views

Ubuntu doesn't boot after fsck on /

I had this problem with Ubuntu when it boots: http://askubuntu.com/questions/392720/the-disk-drive-for-tmp-is-not-ready-yet-s-to-skip-mount-or-m-for-manual-recove The problem appeared from nothing, ...
1
vote
0answers
21 views

Ext3-formated hard drive is corrupted

I have two hard drives put together to one logical volume. Both hard drives are ext3 formated I'm running rasbian For a few days now mounting the LV failes. I receive the following error message when ...
1
vote
1answer
123 views

Arch Linux error on boot: “fsck: /sbin/fsck.ext4: execute failed: Exec format error”

I am not sure what this is or how to fix it. This error displays on boot and shortly afterwards everything appears to freeze just before my display manager is loaded. I have also tried chroot'ing ...
0
votes
0answers
52 views

Corrupt disk after fsck for ntfs

A while ago, I found out that I could not use my 2TB type 07 (NTFS) USB disk when connected to a computer with a Windows boot. Disk had only one partition. However, I could mount and use it under ...
0
votes
0answers
335 views

RPi kernel panic with Raspbian

Some background: my RPi has been randomly shutting down since pretty much ever, I just reboot it (unplug / wait 1-2 minutes / plug) and it usually works again. I've never been able to trace the ...
3
votes
0answers
192 views

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 ...
0
votes
0answers
37 views

Running fsck with other program and UDEV in bash

After much trouble I got the UDEV rule to run after inserting an USB. It runs a program to convert the names of pictures and movies. I use {} & to run the program in the background: The only thing ...
0
votes
2answers
1k views

Mark bad blocks as unusable on NTFS using linux

one of my laptops are using windows and after a certain impact it doesn't boots up anymore, I figured the disk might've been damaged. So I've launced live Kali linux and scanned it with badblocks ...
0
votes
1answer
266 views

Hard disk very slow, failing with more and more errors

Since a couple days, my Seagate Momentus 7200.4 has been failing more and more, possibly because of a power outage. After the "WARNING: Your hard drive is failing" (I'm using fedora), the main symptom ...
1
vote
1answer
123 views

After power failure SSD behaves strangely

SSD contains 2 partitions. I can't mount root partition(ext3) and can mount home(ext4), but I can't fsck any of them, I get same "fsck.ext(3,4) Input/output error" for each. I'm sure there was minor ...
0
votes
0answers
259 views

Mac OS X: access unlcean ext4 on TrueCrypt partition

I have two external drives (mirrored), encrypted with TrueCrypt, that host ext4 filesystems, each. I use ParagonExtFS to mount them at work, on the Macs we use there. At home, I have a Linux box. ...
1
vote
3answers
1k views

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?
0
votes
1answer
475 views

Mac: I/O Error when checking extended attributes files

My Macbook Pro has stopped booting, so I went into single user mode, and did this: fcsk_hfs -Re. However, it always stops at this point (I tried like 30 times): Checking catalogue file. Checking ...
1
vote
0answers
27 views

What's the purpose of the Linux filesystem checkers' “interactive mode”?

Linux's fsck disk-repair tool often runs in an "interactive mode" by default. This means that, if it finds problems, it may ask me questions. But these questions tend to assume that I am a filesystem ...
1
vote
1answer
156 views

fsck -y breaks system

I have a Red Hat development box and I recently had an outage where the SAN disk was unavailable and and some applications were not running right so I ran fsck -y to check if the file system was ok, ...
0
votes
1answer
717 views

Prevent fsck on every boot

I'm analyzing boot times with systemd-analyze and, after optimizing it as far as I could, I noticed fsck-ing every partition on boot sometimes take up to 20 seconds. I feel it's unnecessary since I ...
0
votes
0answers
87 views

setting system time at startup from ext4 filesystem

I have a pc with no battery backup and using ubuntu 12.04 with ext4 it will constantly ask me to handle the situation by saying that my superblocks last write is in the future. So I wonder - can I ...
0
votes
1answer
327 views

About fsck and a HDD's reserved space for bad sectors

So when you do a full fsck on a hard drive to find bad blocks, does it ignore or exempt that space on the drive where it puts (reallocates) bad blocks into? I'm talking about the space implied by the ...
2
votes
1answer
1k views

Does the number of files affect fsck's performance?

Will a 100GB disk with 1,000,000 files take longer than a 100GB disk with 100 files when running fsck?
1
vote
2answers
504 views

Linux, corrupted file, ran fsck, file still corrupted

Here's my situation: I have a server running Ubuntu Server 9.04 I copied a file on the server and was able to access the file from a Windows client computer without any problem. Then recently I ...
2
votes
2answers
537 views

Find files > 0 bytes in length that consist only of NUL in Debian/Ubuntu

After fsck'ing an ext4 drive that had been running in a QNAP nas without an fsck for about four years, I now have a number of files that seem but be the correct size (typically 8-12mib), but each byte ...
0
votes
1answer
1k views

Forcing a verbose fsck on reboot (Ubuntu)

I'd like to force a verbose fsck on reboot of my Ubuntu linux server, I can get fsck to run on reboot by creating a file /forcefsck in my root dir ... Additionally, by adding a y into the contents of ...
1
vote
0answers
249 views

Frequent Mac lockups due to fsck_hfs

My Macbook Pro (10.6.8) locks up every day at noon for several minutes (and often after sleep). I put 'Activity Monitor' up front right before noon sorted by %CPU, and saw that it ran 'fsck_hfs'. ...
1
vote
0answers
294 views

Can you run “fsck.ext2 -fycc /dev/mapper/truecrypt1” on an unmounted Truecrypt device?

Can you run "fsck.ext2 -fycc /dev/mapper/truecrypt1" on an unmounted Truecrypt device? The "extra c" in the -fycc causes it to do a supposedly "non destructive" read-write (Similar to what ...
0
votes
1answer
42 views

backing up restricted folder

my MacBook just died and I have really important data on my Macintosh HD. So I try to do a backup using Ubuntu 12.10 (Windows does not recognize the Volume as it is HFS+ Journaled, may also be a Win8 ...
1
vote
0answers
84 views

fsck did not recover all files - anything else to try or fresh install?

yesterday a server of mine (debian) went into read-only mode because of problems with the main device (ext3). I contacted the hosting support and the guy told me to boot into rescue and do a fsck on ...
5
votes
2answers
20k views

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 ...
3
votes
2answers
7k views

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 ...
1
vote
1answer
1k views

Bad blocks detected by fsck. SMART says disk is good

Using Ubuntu 12.04, I booted into maintenance mode and selected fsck from the menu. This ran a filesystem check on all my volumes (all ext2), mounting them read/write by default. After the tests ...
0
votes
1answer
2k views

Cannot run fsck on broken FAT after “unsafe” device removal

I've got an SD card I've accidentally removed without unmounting on an Android phone. After this, the card shows up as having files with garbage names and dates. Seems, that FAT got broken but I ...
2
votes
1answer
1k views

Can't recover hard drive

My drive got corrupt after a thunderstorm. It used to be 1 partition of 2.5tb but now it shows 2 partitions. It's weird because 300gig free space is about how much it had before corrupting, but it was ...
2
votes
1answer
620 views

Hard drive partition size wrong. How do I resize without loss of data?

$ fsck fsck from util-linux 2.20.1 e2fsck 1.42 (29-Nov-2011) The filesystem size (according to the superblock) is 610471680 blocks The physical size of the device is 536870911 blocks Either the ...
0
votes
1answer
975 views

Why does LVM HDD fail “mount” command when booting from CDROM?

Currently I have a superuser post asking if I can install/upgrade existing LUKS/LVM without having to erase and rebuild the partitions. This has provided instructions to mount the HDD, but there are ...
1
vote
2answers
6k views

How can I repair the OSX root partition without the original disk?

I used /Applications/Utilities/Disk Utility.app to check root partitions for problems and Verify Disk function said there were some issues. But there seems to be no way to run Repair Disk - it wants ...
2
votes
2answers
3k views

touch /forcefsck not working on Fedora16

I need to run fsck in order to repair my one and only hard-disk. I have no rescue CD/USB available. I did the following: touch /forcefsck chmod a+rw /forcefsck # just to be really sure reboot But ...
2
votes
1answer
1k views

Filesystem corruption (?) and appropriate use of fsck

Last week at work, our linux server (CentOS 5.5) was unresponsive to log in attempts, so I had to hard shut down it. After pulling out a couple of disks, on boot up it reported a degraded raid array ...
8
votes
3answers
16k views

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?
3
votes
3answers
2k views

break out of e2fsck on boot

Is it possible to somehow break out of e2fsck on boot? My system runs e2fsck every 30 days, which is fine by me and I want it to stay that way. But sometimes when I turn on the computer and 30 days ...
0
votes
0answers
689 views

Fsck says read block too short

Yesterday I left my Ubuntu laptop alone for a bit, and the power cable got knocked out, so the computer got shut down. Upon starting it up, it insisted on running fsck, which failed, asking me to run ...
1
vote
2answers
665 views

Prevent e2fsck from running out of memory?

I have a box running Ubuntu 11.10 with 512MB RAM and no swap. It has a 1TB USB HDD with ext3 filesystem attached. Sitting idle, it's only using about 60MB. When I run e2fsck, it runs out of memory, ...
2
votes
1answer
4k views

How can I run fsck on a disk image via Mac Terminal?

I want to run fsck on a disk image before I use it to restore (replace) a corrupted volume. Using Terminal, what would be the proper command, syntax, and options for this operation? I've just ...
2
votes
0answers
2k views

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 ...
0
votes
0answers
75 views

Ubuntu 64-bit server - Hanging at fsck after adding PCI wireless card

The most random problem has raised its head; and left me a bit baffled. I have a Gigabyte GA-H55M motherboard; configured to run a SW RAID5 array, and utilising Ubuntu Server 64-bit system. I have ...
0
votes
2answers
663 views

How to tell when a machine is fsck-ing and hasn't had a kernel panic?

I have a server with Debian on it that I regularly reboot after upgrades. Sometimes (on schedule) fsck will check a disk when the computer is booting. With the exception of sitting in front of the ...
1
vote
0answers
131 views

Unable to boot Ubuntu

I used a live CD to install Ubuntu 10.10 on my HP Netbook (Mini Atom 1GHz CPU). I booted it up and then upgraded it to 11.04 Natty Narwhal. From the below I assume it got hacked, so how do I securely ...
0
votes
1answer
865 views

Is fsck for ext4 available for 64-bit systems?

First, I'd like to thank James T & ct64116 for their help on my first question; I accidentally overwrote an ext4 partition with the Windows 7 installer and lost something like 300Gb of files. I ...
3
votes
1answer
1k views

How do I check for bad superblocks and fix them on a USB device in Ubuntu 10.04

I've found some instructions for this, but it seems the fsck options are outdated. Currently I am trying: mke2fs -n /dev/sdc4 then using the blocks listed in this: fsck -y -b 163840 ...
1
vote
2answers
182 views

Can I cpulimit fsck without problems?

My special laptop tends to overheat and shutdown under Linux unless I cpulimit demanding programs. Would there be a problem with using cpulimit to limit fsck? Basically, the target process, which ...