fsck - check and optionally repair a file system.

learn more… | top users | synonyms

4
votes
3answers
3k views

Force fsck at boot time on the root file system (prior to mounting file systems, without Single-User mode)

I just wonder if there are any solutions available at all (Googled for 2 hours). How to automatically force fsck disks after crash in `systemd`? - does not mean anything. Setting fsck_y_enable="YES" ...
3
votes
1answer
361 views

What makes fsck so slow on big filesystems?

I have over a dozen of filesystems on my OpenBSD server with 12GB DDR3 and several 1.5TB HDDs. All filesystems themselves are generally between 8GB and 64GB in size. I've noticed that even by ...
1
vote
1answer
81 views

How can fsck be so fast?

Is it normal, that fsck on an SSD takes a second or two? I am on Linux Mint 17.3 and I called sudo touch /forcefsck EDIT: ext4 filesystem
1
vote
1answer
54 views

Which is the best way tu run fsck.hfsplus before mounting an external disk (HFS+)?

I'm using a Raspberry with an external hard disk formatted in HFS+ and sometimes, for example after a power failure, the external hd is mounted only in read-only mode. In this case I run manually the ...
1
vote
1answer
569 views

RHEL7 boot logs show systemd-fsck errors, referencing fsck.ext2, when trying to run on an XFS file system

I get these errors when trying to boot CentOS 7: Jul 6 13:20:15 systemd-fsck: fsck: error 2 (No such file or directory) while executing fsck.ext2 for /dev/disk/by-uuid/45544ef5-118c-478f-a3e8-...
1
vote
1answer
273 views

How to setup boot scripts to save orphan inodes after improper shutdown?

after abnormal shutdown in dmesg I have [ 16.107445] EXT4-fs (dm-1): INFO: recovery required on readonly filesystem [ 16.107450] EXT4-fs (dm-1): write access will be enabled during recovery [ ...
1
vote
1answer
2k views

Force fsck check after reboot with single command

I'm looking for systemd's equivalent to the shutdown -F command. I know that I can force fsck by adding fsck.mode=force to kernel options or tweak mount count for disks. I have tried touch /forcefsck ...
0
votes
1answer
50 views

Where does Knoppix store the location of hard drives/

I've been looking on the web and through the few Knoppix books I have. I cannot see where to locate the hard drives for a CentOS server I've booted with Knoppix. I am booting the CentOS server with ...
-1
votes
1answer
39 views

repair ext4 after squashfs thrown error & gparted move failed

i was: merging (sda9) unused space with sda10 moving (sda10) to right to be able to move free space (from merged sda9 to sda14) on hdd with gparted gui on ubuntu started from usb and i encounter a ...
-1
votes
1answer
192 views

Getting out of Emergency Shell after fsck failure

After re-arranging some hard drives across my SATA ports (this is a desktop machine), I get the following error after trying to boot up Arch: What could have caused this? Did I accidentally turn ...
4
votes
0answers
3k views

How can I reset an unknown root password if a file system check interrupts the startup sequence?

This morning I was helping a fellow admin with a crash that occurred on a CentOS 5.8 VM. Earlier in the day, the underlying SAN hosting various VMs experienced an issue and ultimately caused some ...
4
votes
0answers
448 views

Confusion with how to restore corrupt ext3 files if power outage occurs during a file write

I am running a small embedded system. Because the system will never be gracefully shutdown and will just have the power cable unplugged, I am running an initramfs but mounting an ext3 partition on a ...
3
votes
0answers
990 views

Bad superblock after server crash

My server (CentOS 6) crashed, and it now kernel panics on boot. It's currently using a mdadm RAID1 array with two 1TB drives. vg_server2422-LogVol01 is / vg_server2422-LogVol00 is Swap ...
2
votes
0answers
197 views

fsck.hfsplus cannot repair keys out of order

My MacBook pro suddenly was no longer able to boot. Going into the disk utility from the recovery boot I tried to repair the drive and it failed saying that keys were out of order. I then made a copy ...
2
votes
0answers
143 views

Problems with USB goflex 2 TB

I am using CentOS 5.5 and have been using cpio to write backups to a 2 TB GoFlex USB drive. This drive worked great for over a year, but am now running into a problem and not sure what to do. When ...
1
vote
0answers
22 views

Can skipping `fsck` on boot impact serial-port communication?

I have a bizarre serial-port (RS-232) communications issue (it appears that some data is being dropped, though I'm not sure if it's outgoing, incoming, or both) that I'm observing sporadically. I've ...
1
vote
0answers
34 views

External USB drive fsck fails on boot

Yesterday I tried setting the fsck flag on fstab to 2 for the external USB HDD I use in my Raspberry Pi, so that it would be checked on boot, like: proc /proc ...
1
vote
0answers
32 views

Why could I need to fsck check the root file system?

This could sound like a rather obvious question, but we all know that soft-checking of any partition is sometimes a need, and we perform it in cases like unstabilities found, lost files or (...
1
vote
0answers
43 views

FSCK doesn't run automatically

My /etc/fstab for my main OS parition: UUID=5ee65c50-5672-42a6-9dcf-8bdba30c38aa / ext4 defaults,noatime,nodiratime,data=writeback,errors=remount-ro 0 1 One of the options is set to ...
1
vote
0answers
198 views

How to run full SSD disk check with `fsck` command on system reboot (Debian)?

Please advice how to run full SSD disk check with fsck command on system reboot? (Debian) sdb2 is root, sdb1 is boot partitions. What is recommended options and where to find check report? I would ...
1
vote
0answers
77 views

ETX4-fs error on startup

Hi everybody, today I run dmesg and at the bottom I found some error lines about the device mmcblk0p2. Everything works fine even with those errors but I'd like to understand the problem. I've ...
1
vote
0answers
221 views

fsck single disk from Raid 0 lvm

My NAS (Seagate Blackarmor) is refusing to connect to the network after a fsck. I assume the root filesystem (stored on flash) might have been corrupted somehow after running fsck. The setup was a ...
1
vote
0answers
480 views

Arch Linux boot failure: Fsck check on LVM /var mount fails

I recently installed Arch Linux on an older laptop that I am using as a personal workstation and machine to better learn how to administer Linux. I have a persistent boot failure that has started ...
1
vote
0answers
188 views

Error file system check

I enabled the package e2fsprogs and always when the system starts it return the following error (when partition mounting): Jan 01 00:00:03 xxxx systemd[1]: Found device /dev/mmcblk0p3. Jan 01 00:00:...
1
vote
0answers
139 views

bad inodes reappear after fsck() for vps guests

I have several vps guests that were created by virt-resize. I do daily backups on the guests by creating a snapshot and rsync file contents. But some of them don't have a clean disk image. As soon as ...
1
vote
0answers
368 views

Boot time discrepancy using systemd on Debian 7.4

I recently installed systemd on my Debian 7.4 system. The time from pressing the power button to usable desktop is around 42-44 seconds. The BIOS takes 6-7 seconds to load and transfer control to GRUB....
1
vote
0answers
420 views

Resolving unmet installation dependencies; file system problems

Somehow part of my ext3 file system got corrupted and large portions of my python installation got all sorts of messed up. The only thing I could notice immediately was Python raising a missing module ...
0
votes
0answers
11 views

Image file and filesystem errors

Since several weeks I'm working on an image file of a file-system. It is composed of three partition (boot, rootfs, home). I did a lot of work inside with chroot and external tools. Then I used ...
0
votes
0answers
15 views

Files not showing after restoring partition with testdisk and fixing with fsck

Long story short: I have the same problem as in here: http://askubuntu.com/questions/151232/all-files-gone-after-running-fsck-how-can-i-recover-my-files I used fsck on /home partition and it worked ...
0
votes
0answers
47 views

e2fsck progress bar after writing output to file

I ran: fsck.ext4 -yvf -C0 /dev/vg1/volume_1 > /home/layke/dump.txt Unfortunately, I realised after the fact that I have no idea how long this is going to take. I have no idea what would happen ...
0
votes
0answers
38 views

`cp -iprv` from UFS to NTFS panics FreeBSD and reboots

My nas4free OS seems to be dead, so I mounted its 2GB UFS data partition on my FreeBSD machine, and my 1TB external USB NTFS HDD (using ntfs-3g /source /mnt/dest). I tried the casual cp -iprv /SOURCE /...
0
votes
0answers
35 views

Linux hanging at fsck

Apologies for the bad photo but it's a big hassle to type it out as a dualboot user: http://i.imgur.com/1aMfwLy.jpg (it won't let me post images due to low rep) It hangs there for ages, no matter ...
0
votes
0answers
91 views

Debian 8.1 with Uboot bootloader cannot run FSCK on reboot

I am running Debian 8.1 on an SD card on a Banana PI with U-boot bootloader. I'm trying to force my system to run fsck on reboot, but no matter what I do, nothing happens. Here are what I have tried ...
0
votes
0answers
149 views

Does converting raw dd-image to VDI touch the filesystem?

I have a raw dd-image of a harddrive from a Mac, and I need to extract the files from it. The problem is that the filesystem (HFS+) is corrupt, and from what I've been able to google is that it's ...
0
votes
0answers
210 views

Live shrinking of root partition has failed on Linux Mint

Steps taken: *Used fdisk to delete the existing root partition and created a new root partition (PV) starting on the same block *Added the 'a' flag using fdisk to make it bootable as /boot is under ...
0
votes
0answers
159 views

impossible to make fsck

I'm trying to make a fsck to a pendrive and it says me: e2fsck 1.42.8 (20-Jun-2013) Pass 1: Checking inodes, blocks, and sizes Error reading block 40402759450689 (Invalid argument). Ignore error? ...
0
votes
0answers
5k views

RHEL server Booting problem: "fsck.ext3: unable to resolve 'LABEL=/u01'

We had an old Linux server in the workplace for last few years, so I decided to turn it on and it's showing this problem during boot up: No devices found Setting up Logical Volume Management. ...
0
votes
0answers
375 views

e2fsck -y /dev/sda changed my 6TB disk into 1.8TB

After problems with mount I run e2fsck -y -b BLOCK /dev/sda and it was running for 3 days on 6TB raid 0, when it completed this was the output: /dev/sda: ***** FILE SYSTEM WAS MODIFIED ***** /dev/...
0
votes
0answers
256 views

What's the problem with fsck.ext3?

It seems there is some problem with my HDD in my satellite box. The box records to and plays video from the HDD, but occasionally it hangs (it was stable before). It's Linux version 2.6.32....