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

0
votes
0answers
11 views

ext4 partition got damaged after I increased the size

The file system got damaged, so it´s unreadable. Tried with GParted, the terminal (fsck, e2fsck) but nothing. I had Windows next to Linux and deleted Windows and extended Linux but don´t know why, the ...
0
votes
0answers
13 views

Running fsck.ext3 removes symlink to device

I have an external usb drive for which I have udev create the symlink /dev/externalbackup when it is plugged in via the following rule: KERNEL=="sd?1", ATTRS{idVendor}=="0c0b", ...
11
votes
2answers
40k 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 ...
0
votes
0answers
14 views

Runing fsck triggers udev rule

On a Debian stable system with udev and systemd (215-17+deb8u2) I have the following udev rule that I use to start a systemd service that runs a backup script: KERNEL=="sd?1", ...
1
vote
1answer
44 views

Why is fsck working so inconsistently?

Okay, this is hard to describe, so I'll take it point by point. I got a Linux server, it's running the latest version of Ubuntu. I ran fsck read only to check the hard drive. Here's the output: ...
0
votes
0answers
64 views

“Bad magic number in super-block” with external HDD ext4 partition

I have a self-powered external HDD plugged through USB to my laptop. I deleted the single partition it had, intending to create a new encrypted partition. But I started getting an error once I ...
2
votes
3answers
3k 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
2answers
118 views

Mac OSx Yosemite trouble to boot

My MacBook Pro doesn't start suddently. After following lot of posts i tried single user login, Disk Utility etc * Disk utility shows no errors its always successful. * fsck -fy gives me the ...
1
vote
1answer
516 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 ...
16
votes
5answers
34k 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?
0
votes
2answers
50 views

Unable to access or analyze external HDD

a friend gave me a corrupted HDD. He said, his laptop crashed during a formatting process with a BSOD. Now from time to time (on Windows) it's being detected but if you try to access it, it prints ...
0
votes
1answer
67 views

EXT4 partition didn't get any free space after expansion

I have expanded the root partition on my Banana Pi using the following script: fdisk /dev/mmcblk0 <<EOF p d $PART_NUM n p $PART_NUM $PART_START p w EOF After a reboot I got a 32 GB partition ...
0
votes
0answers
100 views

CentOS 7: Partition resizing issue where now there is a lost+found folder full of numbered folders and the data is gone

Set up Running a home server with a 2TB HDD. Running VMWare ESXi 5.5 that has 2 guest OS; CentOS 7 and Windows Server 2012 R2. There are 3 virtual disks (VMDK) thickly provisioned: 20GB CentOS 7 ...
1
vote
1answer
113 views

What does fsck mean with “Filesystem has n clusters but only space for n-m FAT entries. (m>0)”?

I started a long time copy action onto my external HD. I went away, and somehow the energy saving mechanism must have realized that the user was idle and suspended the machine. (BTW, what exactly is ...
0
votes
1answer
48 views

Can the Vboxfs mount point be formatted?

As I am working on the Oracle XE 11g database installation on virtualbox guest os: CentOS 7. Installed all the prerequisite libraries. when I have run the rpm command it is not able to execute that ...
15
votes
4answers
52k views

fsck an ntfs drive in Linux

Is there a way to fsck/chkdsk an NTFS drive from Linux?
0
votes
1answer
254 views

btrfs check: “Couldn't open file system”

When I run btrfs check /dev/sda1, it returns "Couldn't open file system," whether /dev/sda1 is mounted or not. Why? (cf. this)
4
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 ...
1
vote
0answers
103 views

fsck scheduled for reboot - ignored?

Recently my server had a power failure which obviously led to hard drive corruption: sudo fsck -n fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-2014) Warnung! /dev/mapper/pdc_gahfdjcb2 ist ...
5
votes
6answers
12k 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 ...
4
votes
0answers
505 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 ...
2
votes
0answers
182 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
176 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 ...
2
votes
2answers
717 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
0answers
365 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
27 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 ...
17
votes
3answers
17k views

What is the difference between fsck and e2fsck?

What is the difference between the linux disk error-checking tools fsck and e2fsck?
1
vote
1answer
264 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
82 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 ...
1
vote
2answers
1k 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, ...
3
votes
5answers
5k 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
1answer
228 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 ...
0
votes
1answer
592 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
214 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 ...
6
votes
3answers
30k 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 ...
1
vote
1answer
213 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, ...
4
votes
3answers
3k 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
808 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
30 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
1k 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
102 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 ...
4
votes
1answer
4k 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 ...
0
votes
1answer
411 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 ...
3
votes
1answer
2k 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
695 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 ...
1
vote
0answers
303 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
2answers
9k 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 ...
1
vote
0answers
372 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 ...
1
vote
1answer
2k 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 ...