Questions tagged [fsck]
fsck - check and optionally repair a file system.
321
questions
0
votes
0
answers
16
views
How to handle badblocks on a single drive in a three drive raid0 array
I have three drives in a raid 0 array for speed and have a copy of the data in case the array goes bad.
I did a health check on the three discs and found that one of the drives has about 50 read ...
0
votes
0
answers
42
views
fsck.ext4 Error : unable to set superblock flags on /dev/sdaX
/dev/sda3 is my main Linux(Ubuntu) system partition.
/dev/sda4 is my sub Linux(Kubuntu) partition.
I installed Kubuntu on my main SSD that already includes Ubuntu. In this progress, I just resized /...
0
votes
0
answers
31
views
I can't boot into my UBUNTU 20.04 LTS
some problem in partition /dev/sda8 and it has logged me into emergency Mode. I tried running fsck command but to any use and also commented the fstab file but none worked. Please help me !
0
votes
0
answers
26
views
how to locate the root cause of a corrupted ext3 filesystem
I have a 4G Compact Flash card with a 2.5G ext3 partition. The file system has become corrupted. I am not necessarily interested in fixing the file system as identifying exactly what is corrupted in ...
0
votes
1
answer
93
views
Fixed filesystem error
I was working on my VM when suddenly I realised all my files have been marked as read-only. I found it strange, so I rebooted, and then I was prompted into "BusyBox". For some unknown reason,...
1
vote
0
answers
33
views
How did my ext3 superblocks get so messed up? And how to fix them?
I've recently found an old external hard disk and I have no idea what's on it. There was only one partition, encrypted with dm-crypt. Luckily I still remembered some of the passphrases that I used ...
0
votes
0
answers
59
views
Ubuntu home is empty after fsck
I have ubuntu 20.04, I ran into initramfs screen, then after some search I executed
fsck /dev/sda6 -y
when it's done the GUI is up, but I can not login with my user so I decided to use terminal mode ...
0
votes
2
answers
26
views
Modifying files on partition mounted both on host and in KVM guest, understanding the caused corruption
I have a server to which I added two SSDs. On the host I created a RAID 1 with both of them by using mdadm.
The RAID was created by first creating partitions on the SSDs, and using the partitions to ...
0
votes
0
answers
15
views
File system check running for a day after `lvreduce`+`lvextend`
I’ve been running out of space on the root logical volume, so I thought I’d change some over from /home to /. This is the rough sequence of events:
lvreduce -L 100G /dev/mapper/vg-home
lvextend -l+...
2
votes
1
answer
95
views
Why is it necessary to run fsck regularly?
Some systems run fsck on every boot, after so many days, or after so many mounts. For example, in How often should I reboot Linux servers? - Server Fault they discuss a variety of strategies for doing ...
1
vote
2
answers
355
views
What are common causes of ext4 file system corruption?
I'm dealing with regular corruption of an ext4 non-root filesystem holding a data cache. The cache is specifically of images cut into pieces for easier processing later.
The error in the application ...
0
votes
1
answer
194
views
fsck.ext4 consumes all memory and gets killed
I have a probably corrupted external hard disc that I need to check for errors and fix them. I can't create any new directory on it and get the following errors:
2216505.217508] EXT4-fs (sda1): ...
0
votes
0
answers
168
views
what are the causes for "checksum does not match inode" HD problem, even if it says the inode check passed?
Root became RO after some minutes using the PC.
On reboot it required manual fsck.
Then this problem happened:
it said the inode check passed fine ok, but said this problem: "checksum does not ...
0
votes
0
answers
82
views
Boot is long because fsck.exfat spends time because exfat volume was not unmounted cleanly
I have a SDD partition in exFat in order to have a common partition between macOs and Linux Manjaro and Linux Mint.
The Manjaro boot and the Linux Mint boot are very long because fsck of exFat take ...
0
votes
0
answers
20
views
Is my old HP laptop preventing Linux from running smoothly?
I have an older HP laptop. I don't know all the specs but I believe it is a G60 notebook with a dual core intel pentium processor. It used to have Windows Vista on it. I don't remember the exact hard ...
-1
votes
2
answers
240
views
/dev/sda2 unexpected inconsistency run fsck manually
I'm getting the following error:
/dev/sda2 unexpected inconsistency run fsck manually
The boot process stops here and there is no way to input any commands.
See this error message:
0
votes
0
answers
52
views
ERROR: too long label (226 chars). fsck
I did an fsck on exFAT, but it ends up with 19 files that can't be fix.. label too long..
I want to fix it manually, but since it didnt' report where are the files and which files are they.. how can i ...
0
votes
0
answers
106
views
fsck does not return anything
My DELL laptop on Ubuntu 20.04 is currently getting stuck on boot after it crashed. I tried to run fsdk on a ubuntu live USB, but when I run the command on my linux filesystem partition sudo fsck -y -...
0
votes
0
answers
46
views
I'm having fsck problems with samba share drive on ubuntu, running on raspberry pi. Not too fluent with unix, so please go easy
I'm currently running Ubuntu 20.04.3 LTS, focal, on a raspberrypi 4. I have an external USB drive formatted in ext4, which I've set up both as a samba share and to be used by plex. Recently I've run ...
1
vote
0
answers
154
views
Unable to run fsck on boot Archlinux
I'm running Archlinux on ODROID-N2+ with Petitboot (based on Uboot) bootloader. I followed the archlinux wiki to enable fsck on boot, but it still never runs.
I have fsck set as the last hook in ...
0
votes
1
answer
963
views
How to run fsck on boot with BTRFS?
Although this is very similar to many closed questions, I believe this is not a duplicate, as the only answers I can find seem to be specific to ext4.
Is this possible?
0
votes
1
answer
361
views
fsck error on boot: /dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
I have Kali linux 2020.3 installed in a Virtual Box VM. Today when I started the VM, I got an error like this
This is the same error as https://askubuntu.com/questions/1060549/unexpected-...
0
votes
0
answers
39
views
Truncated ext4 partition after trying to access my partition from windows with ext2fs
After trying to access my Linux partition from Windows operating system, my Linux partition is now truncated to a size 1K byte and I am no longer able to mount that partition.
"fdisk" shows ...
1
vote
1
answer
115
views
Can't see mounted drive under lsblk, blkid or mount
I have mounted an external hard drive via /etc/fstab with the following entry:
UUID=a8286fc9-5b08-41d9-8c4e-cb993a8976d1 /home/bu/safe-heaven-2/ ext4 defaults 0
I can read/write from this disk but I ...
1
vote
3
answers
106
views
How to add fsck at boot like a regular service?
I remember that certain distros, used to run fsck at boot after x boots, in a regular way.
How can be added to the boot process the fsck service to be
deployed in rpm distro/Fedora,RHEL,Oracle,Suse?
...
0
votes
0
answers
58
views
fsck returned no errors but badblocks found bad blocks
Using fsck I have tried sudo fsck /dev/sdc1, sudo fsck -n /dev/sdc1, and sudo fsck -f /dev/sdc1. They all returned archive_0: clean, 11/61054976 files, 4114691/244189952 blocks except when I used the -...
0
votes
1
answer
99
views
How to recognize/restore corrupted files after data recovery?
So, I had an ext4 partition mounted at /home that started to fail. After confirming it was a HDD issue, I stopped using it, bought a new one and, from a live USB stick, I formatted the new one and ...
1
vote
1
answer
66
views
fsck + why fsck insist to not use "-a" flag?
Recently we get a lot of kernel messages on our RHEL VM server as:
[Mon Oct 4 11:33:32 2021] EXT4-fs error (device sdb): htree_dirblock_to_tree:914: inode #397095: block 1585151: comm du: bad entry ...
1
vote
0
answers
152
views
Problem with fsck after a blackout (power outage)
Yesterday there was a power outage at my house and, after rebooting my personal computer, the following message was displayed:
/dev/sda2 contains a file system with errors, check forced.
Error reading ...
0
votes
1
answer
476
views
Not sure if I run fsck / xfs_repair correctly
Running CentOS 7.9, I seen computer freeze for many times and I want to check disk for errors.
I am not sure I am doing it correctly or what the command output means.
I created a Centos install disk ...
0
votes
0
answers
209
views
Trying to run fsck manually
I receive an error and it states that I need to run fsck manually. However, I cannot access the root directly to do this. How can I get to the root directory to get this done? I can get to Grub, but ...
0
votes
1
answer
542
views
PopOS (Ubuntu) crashed and booted into emergency mode
I'm new to Linux but I'm going to try my best to describe the problem, please bare with me, if you need more information tell me what I can do to provide more information and I'll get it for you.
...
0
votes
0
answers
128
views
Can't recover ext4 partition after moving
I am running kubuntu 20.04 LTS on an external disk.
I shrunk the windows partition on nvme0n1 by 190GB and using KDE partition manager formatted it as ext4 with the label "EXP". Everything ...
0
votes
1
answer
323
views
file system requires manual fsck on boot
Our company is providing customers with a digital signage Kiosk Machine that is running Customized Ubuntu 20.04. Our customers sometimes report that the Kiosk Machine is not booting because they land ...
2
votes
2
answers
450
views
Got error on system boot, need check filesystem manually
Debian, installed on SSD disk. On system boot got error:
ROOT: UNEXPECTED INCONSISTENCY; RUN fsck manually
(i.e. without -a or -p options)
fsck exited with status code 4.
The root filesystem on /dev/...
-1
votes
1
answer
315
views
fsck not working over disk
Hello I'm trying to exit linux emergency mode after a bad reboot of my system,
First I checked /etc/fstab and got that the following partition has troubles:
UUID=0C80015D80014EA0 /mnt/data ntfs ...
1
vote
0
answers
23
views
How to stop processes to umount mountpoint for fsck
I am trying to do fsck on the NAS via ssh on /volume1. The volume has to be unmounted, and all processes with reference to /volume1 need to be stopped accordingly. Therefore, logged in as root, all ...
0
votes
0
answers
64
views
How to perform a hot repair of a functioning, but limping rootfs with the switch_root command and a blank partition?
I have an extreme edge case that I may never see again, but I'd like to be prepared. I have an embedded system (u-boot) whose primary disk has 4 partitions. One of the partitions is the rootfs (ext4) ...
2
votes
0
answers
476
views
Why won't fsck fix my ext4 partition?
There is a directory on one of my EXT4 partitions that an error, but fsck can't seem to fix it.
# fsck -ClV -vpf /dev/mapper/enc_vols-home
fsck from util-linux 2.37
[/usr/bin/fsck.ext4 (1) -- /home] ...
3
votes
2
answers
498
views
Access ext4 disk that lost superblock and its backups
I found myself in a weird situation with my system's disk. It's Linux system with 3 partitions, boot, swap and filesystem (ext4). A few days ago i used knoppix from a pendrive (I made the bootable usb ...
0
votes
2
answers
861
views
Superblock problem on a crypto_LUKS drive
When I try to boot from my main drive, I get this error:
That message says "Inodes that were part of a corrupted orphan linked list found" so I tried this - https://askubuntu.com/questions/...
1
vote
0
answers
2k
views
e2fsck error - fsck.ext2: no such file or directory while trying to open /dev/root
I am working with embedded Linux build with Yocto. My goal is to enforce file checking during each system booting. I've modified the /etc/default/rcS file and I've set ENABLE_ROOTFS_FSCK=yes and ...
0
votes
2
answers
878
views
How to enforce fsck during booting system and before rootfs is mounted?
I am working with embedded Linux build with Yocto. My goal is to enforce file checking during each system booting. So far I did the following steps:
I've modified the /etc/default/rcS file and I've ...
0
votes
0
answers
2k
views
Filesystem goes read only repeatidly
My 4+yrs old Ubuntu 20.04.2 system on a Dell Latitude E7470 laptop and LITEON CV3-8D128 SSD is now switching to read-only after around 15 mins of use.
Symptoms are:
all commands failing because of &...
1
vote
3
answers
305
views
Please help me rescueing a failing hard drive
My both hard drives where all my data is stored are failing. My system insconstently refuses to load the disks and mount the partitions. I moved one hard drive to other computer where it is recognized ...
1
vote
1
answer
28
views
Unexpected inconsistency error on Fedora Core 16
I am a PhD student and I inherited a small server cluster which runs Fedora Core 16. Unfortunately, my background is in electronics and my knowledge of OS is quite limited. We just use this server to ...
0
votes
1
answer
290
views
fsck is taking a lot of time?(buffer I/O error)
I had a irregular powercut 4-5 times in a row within an hour. My ubuntu suddenly went into busy box mode and showed there are errors on /dev/sda5.
I then tried:
fsck /dev/sda5 -y
It has taken a lot of ...
-2
votes
2
answers
57
views
Reverting of CentOS file to previous state after power outage
There was some issues with the power supply for a CentOS 7 server which caused it to shutdown. After sorting the supply issue and turning on the server it was found that the /etc/hosts file which ...
1
vote
1
answer
967
views
fsckd locks up system on boot after dist-upgrade
Problem
After upgrading from stretch to buster, my laptop gets stuck in boot during fsckd check, with the message:
fsckd-cancel-msg:Press Ctrl+C to cancel all filesystem checks in progress
It does not ...
3
votes
1
answer
6k
views
fsck: dirty bit is set
This issue began when I force-shutdown my system during an update. After that, I could only boot by changing the boot parameter in grub from "ro" to "rw". Then, every time I boot, ...