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
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
1answer
43 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: ...
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 ...
1
vote
1answer
213 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 ...
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, ...
0
votes
1answer
249 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)
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 ...
4
votes
0answers
504 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 ...
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 ...
2
votes
0answers
181 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
0answers
102 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 ...
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 ...
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 ...
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
0answers
371 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
0answers
109 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 ...
1
vote
0answers
133 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
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", ...
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", ...
0
votes
0answers
61 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 ...
0
votes
0answers
99 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 ...
0
votes
0answers
362 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, ...
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 ...
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 ...
0
votes
0answers
890 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 ...
0
votes
0answers
80 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 ...