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
1answer
16 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 ...
0
votes
1answer
74 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 ...
0
votes
1answer
257 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 ...
2
votes
1answer
215 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 be read ...
0
votes
1answer
46 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 ...
2
votes
1answer
1k 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 ...
17
votes
3answers
5k 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. ...
0
votes
1answer
161 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 '...
0
votes
1answer
397 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 ...
2
votes
0answers
664 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 ...
0
votes
1answer
194 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 ...
1
vote
0answers
498 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 ...
0
votes
1answer
37 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 ...
-3
votes
1answer
211 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 ...
-2
votes
1answer
86 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. ...
0
votes
1answer
771 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.....
0
votes
1answer
312 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 ...
0
votes
1answer
315 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 ...
0
votes
1answer
2k 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 ...
-1
votes
1answer
242 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 ...
-2
votes
2answers
1k 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 ...
2
votes
0answers
285 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. ...
1
vote
1answer
1k 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......
1
vote
1answer
779 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 ...
1
vote
4answers
584 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 ...
0
votes
1answer
851 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 ...
2
votes
2answers
539 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 ...
0
votes
1answer
506 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 ...
0
votes
2answers
380 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 ...
0
votes
1answer
214 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 ...
1
vote
1answer
4k 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 ...
2
votes
1answer
541 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 ...
0
votes
1answer
551 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:...
0
votes
1answer
211 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 ...
0
votes
1answer
39 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 ...
37
votes
3answers
9k 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 ...
2
votes
1answer
2k 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 ...
21
votes
2answers
73k 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 ...
0
votes
1answer
37 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 ...
1
vote
1answer
175 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 ...
3
votes
2answers
2k 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 [...
1
vote
1answer
390 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 ...
0
votes
1answer
23 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/...
1
vote
0answers
4k views

How to repair multiply-claimed blocks?

I get a lot of the following logs in dmesg: [26159.277230] EXT4-fs error (device sdb1): ext4_iget:3875: inode #394497188: comm mv: bad extended attribute block 22794025699896 [26219.914802] EXT4-fs ...
2
votes
2answers
1k views

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?
0
votes
1answer
211 views

Ubuntu - Folder replaced by lost+found/ on raid1 disks

Running Ubuntu Server 12.04 LTS I have setup a RAID1 on disks sdb & sdc (md0) following strictly this tutorial which I guess is very classical. I loaded data on my disk for archive purposes. A ...
1
vote
0answers
819 views

How to add a partition to CentOS without losing data on it

we had a CentOS 6.4 server with two RAIDs. One RAID-1 and the other RAID-5 RAID-1 had multiple partitions with OS installed on it. RAID-5 had two partitions with some data on it. In order to ...
0
votes
1answer
180 views

After doing an fsck of a partition, the partition is now empty

I'm sorry if the title is misleading however I did not know how to ask the question in a better way. At work I had to install windows on a machine that had debian. I has three partitions one for root,...
-1
votes
1answer
1k views

Disaster recovery. MDADM/LVM2 Some advance but stuck on final mount

We made a stupid upgrade on a running server using wrong repositories and the system became totally unbootable. The system, a SLES 11 we used a openSuse repository to upgrade, and everything went ...
0
votes
2answers
143 views

How to use fsck? Never have used it but have to check the filesystem

My server crashed several times with rcu_sched self-detected stall on CPU errors. Now after restart it can not repair MySQL tables, some services start, some not. What command I have to issue to ...