Questions tagged [fsck]

a tool to check the consistency of and repair a file system for Unix-like operating systems

Fsck ("file system check") is a tool to check the consistency of and repair a file system for and Unix-like operating systems, such as and Mac .

Man page: http://www.manpagez.com/man/8/fsck/

Wikipedia: http://en.wikipedia.org/wiki/Fsck

205 questions
2
votes
1 answer

Rescue Partition setup HOWTO

Could someone point me to a HOWTO on setting up a rescue partition the way it is described here: fsck root filesystem on a remote machine I'm about to place a server in a data center and would love to have something like that setup…
Flatlinebb
  • 41
  • 5
2
votes
1 answer

RedHat server not booting: "The superblock could not be read"

After restarting a RedHat server, it fails to boot into the operating system. It says "an error occurred during the file system check". After doing a fsck, it says The superblock could not be read or does not describe a correct ext2…
2
votes
1 answer

EC2 does not boot, goes to "Press enter for maintenance mode"

Environment EC2/T2 Ubuntu 18.04 I have several instances in this environment; all are built off the same Ubuntu AMI. Sometimes, some instances get stuck on the boot console with a message "Press enter for maintenance (Or press CTRL-D to…
JDS
  • 2,508
  • 4
  • 29
  • 48
2
votes
0 answers

Partition mounted and unmounted simultaneously

Edit: Narrowed this down to virtfs mounts. To jump to the question, mount says the partition is already mounted and umount says that the partition is already unmounted, and fsck agrees with mount. Cannot fsck, mount or umount the partition without a…
Adam
  • 196
  • 5
2
votes
1 answer

how to fix filesystem of a LXC container

This container doen't start anymore with these errors messages : # lxc-start -n deb7 -F INIT: version 2.88 booting Using makefile-style concurrent boot in runlevel S. Cleaning up temporary files... /tmp. Mount point '/proc/sysrq-trigger' does not…
Matthieu
  • 185
  • 1
  • 1
  • 6
2
votes
2 answers

EXT4 md raid show negative value in df -h, fsck failing

I have md raid ext4 with 20 devices, All the devices are in good condition. now, when ever I do df -h I see a negative value under 'Available'. I tried to remount the raid with umount & mount but it didn't help. I was told to run fsck.ext4 /dev/md0…
Shlomi
  • 321
  • 2
  • 6
  • 17
2
votes
1 answer

Filesystem has unsupported features: older fsck.ext3 vs newer mkfs.ext3

For an embedded system I create a filesystem with mkfs.ext3 on a desktop computer. Currently I'm evaluating newer distros for the desktop while the embedded stays the same. When checking the filsystem created with the new distro on the embedded…
Chris
  • 225
  • 1
  • 3
  • 8
2
votes
1 answer

fsck.ext4 error after re installing iptables

I removed iptables, installed it again and rebooted my centos server ; after that my access to the domains on server has denied. When I checked console There was an error: fsck.ext4: No such file or directory while trying to open …
SAM
  • 123
  • 3
2
votes
1 answer

How to disable auto fsck in Centos 7?

Is there a way to disable auto fsck while booting up on Centos 7 when it is XFS file system running on it. I know in legacy versions, we use touch /forcefsck, tune2fs -c0 -i0 /dev/FILESXX etc to disable fsck on boot/reboot. Any idea about how it to…
vjwilson
  • 129
  • 1
  • 6
2
votes
1 answer

Xen virtual host is probably FSCKing - how do I verify?

I have a Xen virtual machine that has been running for over a year under a decent load. I restarted it this morning, and it's been several hours booting. I think it's FSCKing itself. xm list shows that's it's using a lot of cpu. I can't xm console…
2
votes
2 answers

How to run fsck on software raid's real hard disks?

When and how should this be run? Is it better to boot from a DVD-ROM and run fsck on each real hard drive? Or can this be done automatically after X number of mounts?
Edward_178118
  • 895
  • 4
  • 14
  • 30
2
votes
2 answers

How do i fsck / on solaris 10?

[ID 879645 kern.notice] NOTICE: /: unexpected free inode 211471, run fsck(1M) -o f How can i run fsck cleanly (/ unmounted) ? The only solutions i can see are: - detach the SDS mirror, fsck on the other metadevice, reboot on it, and sync back the…
Benoît
  • 1,331
  • 3
  • 11
  • 23
2
votes
2 answers

How can I check /dev/xvda1 if the command 'touch /forcefsck' doesn't work?

On login to EC2 (Ubuntu) instance, I see *** /dev/xvda1 should be checked for errors *** I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. So I tried to use sudo touch /forcefsck as suggested here…
dr house
  • 65
  • 1
  • 7
2
votes
1 answer

Loss of data when trying to fix ext4 "group descriptors corrupted!"

When I try to mount an existing disk, I get the message sudo mount -t ext4 /dev/sdc1 /data mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error In some cases useful info is…
Ryan
  • 5,341
  • 21
  • 71
  • 87
2
votes
1 answer

FreeBSD pkg database deleted

after resolving repeated crashes on startup with fsck I noticed some files were removed, one of them was the sqlite pkg database, so now when I run for example pkg install somepackage I get this erro: pkg: sqlite: file is encrypted or not a…
arul
  • 193
  • 1
  • 3
  • 7