Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [fsck]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
89 views

Filesystem in KVM-QEMU VM switching to read-only mode although smartctl is not reporting any errors

I have a Debian 10 Host running a Debian 10 virtual machine with QEMU / KVM. In the past few days, I got the "Error: Read-only file system" twice, after the virtual machine was running some ...
user avatar
  • 101
0 votes
0 answers
191 views

Bad magic number in super-block....Rsync Issue

I am struggling to figure out if I setup this 4TB external drive wrong. Unfortunately, it now is like 95% full, so I don't want to start over. The issue started with not being able to run rsync ...
user avatar
0 votes
0 answers
257 views

mkfs + any solution for “could not read block” or disk replacing

we doing mkfs on the disk sda as the following mkfs.ext4 -j -m 0 /dev/sda -F mke2fs 1.42.9 (28-Dec-2013) Warning: could not erase sector 2: Attempt to write block to filesystem resulted in short ...
user avatar
1 vote
1 answer
38 views

replace phases of fsck in fstab

I'm searching some way to replace fsck phases in my fstab file but only for line which contains specific path. currently fstab looks like that: /dev/mapper/vgroot-root / xfs defaults ...
user avatar
  • 13
2 votes
1 answer
657 views

linux + disk apears from lsblk but blkid not give the UUID

we have rhel 7.6 server with sdb and sdc and sdd disks the machine is physical machines with disk of 1.7T each of them we notice the sdd disk displayed from lsblk as lsblk | grep data sda ...
user avatar
2 votes
1 answer
194 views

fsck raid10 ext4 partition currupted, restore data

there is a volume in raid10 /dev/md3 it has a GPT partition /dev/md3p1 in ext4 with a size of 16TB. I accidentally ran fsck -y /dev/md3 causing the filesystem in /dev/md3p1 to get corrupted. fsck -b ...
user avatar
0 votes
1 answer
618 views

Hang on FDISK New Partition

I am attempting to reformat a drive. Was originally formatted for Solaris with a ZFS filesystem. I am reformatting for my Linux (debian). I used fdisk to remove all existing partitions. Both fdisk and ...
user avatar
  • 169
0 votes
1 answer
57 views

fsck on disk while Linux machine is up with runlevel N 5

we have linux machine , and we did the disk repair as the following umount /grid/sde fsck.ext4 /dev/sde e2fsck 1.42.9 (28-Dec-2013) /dev/sde: clean, 103867/1310720 files, 4725204/5242880 blocks this ...
user avatar
0 votes
1 answer
4k views

FSCK run and unmount issue

A partition /dev/sdb in web my server has failed FSCK check but I can't seem to figure out a way to repair it. OS is CentOS 6.8. In /etc/fstab, I have commented out this partition. I used the ...
user avatar
0 votes
1 answer
2k views

`fsck` does some work, then aborts/stops. How to make it continue to run?

I have a filesystem on a LVM device which suffered a disk failure. Some data was lost (since one of the 4 disks which had data is gone). I am trying to mount this filesystem so as to recover as much ...
user avatar
  • 29.9k
2 votes
1 answer
855 views

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 ...
user avatar
0 votes
1 answer
72 views

trouble with fsck on raid - abort or not abort

I have a problem. While I was a away, a server with a 50 TB hardware raid (I think 5) apparently for some reason kicked out two drives. A collegue just put them back in by just adding them back in the ...
user avatar
  • 1
2 votes
1 answer
3k views

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 ...
user avatar
  • 2,488
20 votes
3 answers
9k views

How long can fsck take on a 30 TB volume?

In mid-November, a VPS that I am renting from a hosting company stopped responding. When I contacted support, they explained that a power outage in the datacenter caused a forced reboot and fsck. ...
user avatar
  • 347
0 votes
1 answer
419 views

How to force Google Compute Engine ubuntu instance to do fsck?

I have an instance in Google Compute Engine (cloud server) running ubuntu 16.04. I noticed filesystem corruption on the root filesystem as follows: ==>ls -l data/vocabulary/ ls: cannot access '...
user avatar
0 votes
1 answer
1k views

Error in My Hard Disk on Debian (OSSIM)

I have a Problem with my Debian (OSSIM), after a three days I can't create or edit any files, because of this issue: root@ossim:~$ mkdir test mkdir: cannot create directory `test': Read-only file ...
user avatar
  • 11
3 votes
0 answers
3k views

Every startup i need to manually run fsck /dev/mapper/ubuntu--vg-root

Hi every day when I start my ubuntu 18.04, then it's not starting and gives a below error. (initramfs) exit /dev/mapper/ubuntu--vg-root contains a file system with errors, check forced. Inodes that ...
user avatar
  • 131
0 votes
1 answer
312 views

ext4 mysterious "No space left on device" error

Im having trouble with my ext4 filesystem. Im using this with NFS to make it available to remote machines. Now its showing a mysterious "No space left on device" error when im trying to mkdir $name ...
user avatar
  • 35
1 vote
0 answers
2k views

fsck.ext4 complaining that the device is in use. Can't find what exactly is using it

Our setup is a 3-node RHEL 7.3 bare-metal Kubernetes cluster running on Docker. We have a multipath FC SAN block device discovered on all three nodes. This device is used as a Kubernetes Persistent ...
user avatar
0 votes
1 answer
60 views

Impact of disabling automatic fsck on reboot

I have a client on cloud hosting with some sizable drives on the vps. Twice in the past year after a forced reboot the server was down for a few hours because fsck ran automatically when the server ...
user avatar
-3 votes
1 answer
374 views

fsck -n /dev/nandb giving errors . how to solve fsck errors [closed]

I want to know how to solve this error? help me out!! INPUT "fsck -n /dev/nandb" OUTPUT fsck from util-linux 2.25.2 e2fsck 1.42.12 (29-Aug-2014) Warning! /dev/nandb is mounted. /dev/nandb ...
user avatar
-1 votes
1 answer
141 views

FSCK while booting Centos [closed]

I want to do fsck check while booting. my centos, not booting and kernel panic error showing. so how to use fsck in kernel command line to do a file system check. please do let me know as its urgent. ...
user avatar
4 votes
1 answer
2k views

Vagrant up not working, it requires a manual fsck

My setup: My OS is Ubuntu 18.04 Vagrant 2.0.0 VirtualBox 5.2.18 r124319 Ubuntu installed into vagrant/virtualbox (version uknown) sudo vagrant up was always working, suddenly it has stopped working.....
user avatar
  • 233
0 votes
1 answer
619 views

XFS fs does not mount on boot but mounts ro ok from cli

I have a server with a LSI raid controller. The server shows two devices sda and sdb. sdb is not partitioned but has a xfs fs formatted directly (i don't know why) into it. We decide to reboot it ...
user avatar
0 votes
1 answer
563 views

ext4 corruption leading to unbootable disk. Partition is mountable, but grub detects unknown filesystem

I'm trying to recover from a system disk corruption issue without having to reinstall the OS, which would be super-painful currently. I'm using Ubuntu 18.04, the affected partition is ext4 and on a ...
user avatar
1 vote
1 answer
6k views

Is there any way to mount an EXT4 file system with errors?

I may have been somewhat foolish, but kept putting off the warning signs about the impending failure of my EXT4-on-LVM Ubuntu machine (like the partition remounting itself R/O, SMART errors, etc.) and ...
user avatar
-1 votes
1 answer
417 views

Recover RAID 1 after unclean unmount

I have two drives in my desktop in RAID 1. My computer locked up on me yesterday, so I used SysRq REISUB for a "safe" restart. When the machine booted back up, I realized there was no data on my RAID ...
user avatar
  • 99
-2 votes
2 answers
3k views

redhat 6 version + xfs_repair or fsck.xfs in order to fix corrupted file-system

we have redhat machines version - 6.x all disks that mounted have xfs files system as: UUID=198s5364-a29c-429e-b16d-e772acd /data_SA xfs rw,noatime,inode64,allocsize=16m 1 2 we ...
user avatar
  • 451
2 votes
0 answers
505 views

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. ...
user avatar
  • 196
2 votes
1 answer
2k views

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......
user avatar
  • 175
1 vote
1 answer
1k views

file system corrupt in a virtual machine

I have a virtual machine hosted by vmware esxi. It has been started for over 80 days. And about ten days ago, its file system got corrupted. Although I can use fsck to fix this file system, I am ...
user avatar
  • 37
1 vote
4 answers
909 views

How to responsibly avoid "fsck forced"?

So I just swapped out a RAID HDD on a server. I got the "hasn't been checked for X days, fsck forced" message, and am patiently waiting right now. This got me wondering: how can I responsibly avoid ...
user avatar
0 votes
1 answer
1k views

linux + how to identify disk health

we have linux redhat server version 7 we are suspects that one of the disks (/dev/sdc ) in the machine HW ( dell ) is in bad state, ( and that because required to do fsck from dmesg ) but we not ...
user avatar
  • 451
2 votes
2 answers
628 views

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 ...
user avatar
  • 321
0 votes
1 answer
613 views

Linux RHEL5.2 VM Won't boot - Cannot fsck to repair [closed]

I have a redhat 5.2 VM which will not boot on VMWare... I've tried logging into maintenance mode and adding a file 'forcefsck' to /, which forced a check on next boot... that didnt get me anywhere ...
user avatar
  • 525
0 votes
3 answers
884 views

e2fsck takes lot of time to run

I am running e2fsck on one of my disk partitions (ext4) but it seems to take eternity. It is already running now for almost 10 hours or so and it is still at 42%. The size of the partition is around ...
user avatar
  • 103
0 votes
1 answer
396 views

Could reserved block count of zero hinder `fsck`?

I am considering setting the reserved block percentage to 0% (tune2fs -m 0 /dev/sdb1) for an ext4 partition. The partition is only used by non-privileged users anyway. Let's say I mistakenly fill up ...
user avatar
  • 1,365
1 vote
1 answer
5k views

Repair FAT filesystem on image

I've got a USB pen drive with a corrupted FAT filesystem. Now I try to repair it. So to first try what I can get from it without endangering the original hardware further, I've created an image with ...
user avatar
2 votes
1 answer
657 views

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 ...
user avatar
  • 123
0 votes
1 answer
880 views

Unable to execute linux commands after fsck

I'm new on this but I'm stuck. I have a small virtual machine running nagios. Today it started to fail and I saw some errors on the messages log. @someone~]# tail /var/log/messages Aug 31 02:25:...
user avatar
0 votes
1 answer
267 views

Prevent corruption on ext3 Linux Vms running on Xenserver after Equallogic hung for 45 minutes

I face a problem today with my Storage Equallogic PS4000E, they get stucked for 45 minutes then goes up and running normally, no logs, no nothing to help us discover what happens. Well, I run a ...
user avatar
0 votes
1 answer
61 views

Power loss, hard drive missing on next reboot (?!)

There was a power failure earlier today, and now my system won't boot anymore. It shows the following error message and drops me to a root shell to try and recover the data for myself: Log of fsck -C ...
user avatar
37 votes
3 answers
11k views

When is fsck dangerous?

Recently I've seen the root filesystem of a machine in a remote datacenter get remounted read-only, as a result of consistency issues. On reboot, this error was shown: UNEXPECTED INCONSISTENCY: RUN ...
user avatar
  • 473
2 votes
1 answer
3k views

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 ...
user avatar
  • 129
24 votes
2 answers
101k views

Proper way to deal with corrupt XFS filesystems

I recently had an XFS filesystem become corrupt due to a powerfail. (CentOS 7 system). The system wouldn't boot properly. I booted from a rescue cd and tried xfs_repair, it told me to mount the ...
user avatar
0 votes
1 answer
50 views

Ubuntu ntfsundelete on md0 software raid after fsck

System was failing and the colocation facility ran fsck -y on a raid that had some important data. The result is a lost+found folder with 2 million files in it. It is possible to get any of the ...
user avatar
  • 301
1 vote
1 answer
262 views

Portwell motherboard: Boot-time fsck finds "unexpected inconsistency" due to system time

Although this question involves an embedded motherboard, serverfault seemed to me the best stackexchange forum to post to. My colleagues and I have been investigating this weird Linux boot problem ...
user avatar
3 votes
2 answers
3k views

eCryptfs headers errors

I'm getting the following error on a server where a partition is encrypted thru ecryptfs. [3440851.003561] Valid eCryptfs headers not found in file header region or xattr region, inode 22545087 [...
user avatar
  • 135
1 vote
1 answer
490 views

Fsck finds errors in OS, but not using LiveCD

Running fsck on a booted machine yields errors on the root file system. In an attempt to fix this, I booted from a LiveCD - but fsck on the LiveCD instance doesn't find any errors at all. I also tried ...
user avatar
0 votes
1 answer
38 views

what does fsck.ext3 do on a partition that contains a portion of unformatted space?

I always thought fsck operated on the filesystem level only, but recently I came across the following procedure for growing an ext3 partition: https://www.howtoforge.com/...
user avatar

1
2 3 4 5