Questions tagged [fsck]

tool for file system check

The system utility fsck (for "file system check") is a tool for checking the consistency of a file system in Unix and Unix-like operating systems such as Linux.

529 questions
31
votes
6 answers

e2fsck: Cannot continue, aborting

I got this output: fsck from util-linux 2.20.1 e2fsck 1.42.9 (4-Feb-2014) /dev/mapper/ubuntu--vg-root is mounted. e2fsck: Cannot continue, aborting. after I used the fsck command. Any answers?
26
votes
4 answers

How do I find out if there will be a fsck during the next boot?

Is there a way to find out if a filesystem check is scheduled for the next boot? Maybe it's similar to a forced check, which gets triggered by the existence of the file /forcefsck?
htorque
  • 64,798
20
votes
2 answers

Trying to repair LVM disk with fsck

I'm on Ubuntu 16, and I'm trying to repair my startup disk. I have followed the instructions here, but once I'm at the root access of Recovery mode, it still says that the disk is mounted and it can't run. If I try sudo fsck -f /dev/sda3, it just…
benwiggy
  • 253
  • 1
  • 2
  • 9
11
votes
1 answer

I'm running fsck and getting "ext2fs_open2: Bad magic number in super-block"

I'm running: fsck -n /dev/sdb2 and I'm getting: fsck from util-linux 2.31.1 e2fsck 1.44.1 (24-Mar-2018) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block…
BlueSkies
  • 2,145
7
votes
2 answers

Force fsck safe?

My ubuntu system just froze, and I was forced to run the REIUSB commands. Now, in windows, you can run chdsk. I've read about "touch /forcefsck", but I have also read that's is dangerous to check a mounted filesystem. Will "touch /forcefsck" check…
DevRandom
  • 404
  • 2
  • 4
  • 12
6
votes
2 answers

dosfsck "Unable to create unique name"

I have an Archos 605 media player that seems to have become corrupted, so I'm trying to run fsck on it. It mounts as a FAT32 hard drive, so I ran sudo dosfsck -a and this is what I got: dosfsck 3.0.7, 24 Dec 2009, FAT32, LFN There are…
4
votes
1 answer

How to handle fsck "Error while scanning inodes"?

I did a check from a bootable Ubuntu USB stick and ran sudo fsck -y /dev/sda2 on the main Linux partition in the computer. The output is something like ... Pass 1B: Rescanning for multiply-claimed blocks Error while scanning inodes (207...):…
Alex
  • 801
3
votes
1 answer

superblock errors?

fsck /dev/sda fsck 1.42.1 (17-Feb-2012) e2fsck 1.42.1 (17-Feb-2012) /sbin/e2fsck: Superblock invalid, trying backup blocks... /sbin/e2fsck: Bad magic number in super-block while trying to open /dev/sda Hi, I had an XP installed for years, never a…
Diego Sendra
  • 31
  • 1
  • 1
  • 2
2
votes
0 answers

Explanation for the listed output of "fsck"

I just executed the fsck command to check my drive using below: sudo fsck /dev/sda2 And I got the following output: /dev/sda2: 1735/32768000 files (22,9 % non-contiguous), 57400225/131072000 Is the file system ok? I mean, it should state clean if…
DevRandom
  • 404
  • 2
  • 4
  • 12
2
votes
0 answers

fsck failed with error code 4

I have a vcenter server that is running ubuntu and I get a 503 error when I try to access the web GUI. when I get on the ESXI host, I can console in to the server but I am getting the below error. As I am pretty green when it comes to Linux, I am…
1
vote
0 answers

I upgraded my ubuntu system and I can not start the system

I only can see the following error /dev/sda1: clean, 220240/30269440 file, 2971359/121076736 blocks Can someone tell me what is happening here?
helio2f
  • 11
1
vote
0 answers

System doesn't boot - fsck died with exit status 4

My system boot, but on status 4/5 it stops and say : fsck died with exit status 4 Checking drive /dev/sda1: 92% (stage 4/5, 1/15) ... fail! What can I do? Please help me
1
vote
1 answer

/dev/sdc should be checked for errors

Can anyone help me troubleshoot this? I tried looking online but for some reason not a lot is coming up, as if it's a big secret or something. Every time I connect to it I see "/dev/sdc should be checked for errors" and below that (not sure if this…
00fruX
  • 1,271
  • 1
  • 16
  • 32
1
vote
1 answer

How do I get fsck to fix the errors it is reporting?

On my laptop with a SSD, executing the following command: sudo fsck -f -E fragcheck /dev/sda1 results in several hundred occurrences of a message similar to this (this is one exact message, the others have different numbers): 3023363(f): expecting…
John
  • 11
1
vote
1 answer

Ubuntu 22.04 asks for manual fcsk

I started my laptop today and get this: What am I supposed to do? Thanks Update: fsck helped! But it came with these messages. Do I need to worry?
doro9034
  • 13
  • 4
1
2 3