Questions tagged [fsck]

fsck (for "file system consistency check") is a tool for checking the consistency of a file system

The system utility fsck (for "file system consistency check") is a tool for checking the consistency of a file system in Unix and Unix-like operating systems, such as Linux and OS X. A similar command, CHKDSK exists in Microsoft Windows.

Source: WikiPedia

47 questions
15
votes
0 answers

fsck(file system check) in WSL(Windows Subsystem for Linux)

How to check integrity of the root file system? /etc/fstab says it's ext4, and /etc/mtab says it's lxfs. Is there fsck for lxfs to run on the unmounted root from outside? Or chkdsk in windows is sufficient for WSL files?
user12926805
9
votes
2 answers

git commit broken time zone

> git fsck error in commit %hash%: invalid author/committer line - bad time zone > git show %hash% Date: Mon Mar 18 23:57:14 2201 -5274361 How this can be fixed? With git rebase in master branch and delete\update commit info, or do some magic in…
Alex
  • 571
  • 1
  • 8
  • 26
7
votes
1 answer

Hadoop HDFS - Difference between Missing replica and Under replicated blocks

I know that both Under-replicated blocks and Mis-replicated blocks occur due to lesser data node count with respect to replication factor set. But what is the difference between them? On re-setting replication factor to 1 where available data node…
Dinesh Kumar P
  • 1,128
  • 2
  • 18
  • 32
5
votes
3 answers

HBase cluster with corrupt region file on HDFS

We have this HBase cluster: 30+ nodes, 48 tables, 40+TB on HDFS level, replication factor 2. Due to disk failure on two nodes, we have a corrupt file on HDFS. Current HDFS status Excerpt of hdfs fsck / output, which shows a corrupt HBase region…
Stefaan
  • 4,696
  • 3
  • 23
  • 16
5
votes
1 answer

Hadoop fsck shows missing replicas

I am running Hadoop 2.2.0 cluster with two datanodes and one namenode. When I try checking the system using hadoop fsck command on namenode or any of the datanodes, I get the following: Target Replicas is 3 but found 2 replica(s). I tried…
abbasdjinn
  • 157
  • 4
  • 9
4
votes
2 answers

How to check a ubifs filesystem?

ubifs has no fsck program, so how do you check the filesystem integrity when using ubifs? My target system is ARM, Linux 3.2.58.
SeanLabs
  • 1,739
  • 4
  • 18
  • 22
4
votes
2 answers

Where can I get fsck code?

I have been trying to find out fsck code. I cannot find it in the coreutils package in Ubuntu. Could someone please let me know, where I would be able to take a look at the fsck code?
Shehbaz Jaffer
  • 1,944
  • 8
  • 23
  • 30
3
votes
3 answers

Target Replicas is 10 but found 3 replica

How can I fixed this? /tmp/hadoop-yarn/staging/ubuntu/.staging/job_1450038005671_0025/job.jar: Under replicated BP-938294433-10.0.1.190-1450037861153:blk_1073744219_3398. Target Replicas is 10 but found 3 replica(s). I get this when I run hadoop…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
2
votes
0 answers

fsck finds Multiply-claimed block(s) and files are shared with badblock inode #1

I have an LVM hard drive. It holds all my media for use by Kodi. It occasionally (about once a week) cannot access the media. Attempting to remount the device with sudo mount -a resulted in Input/Output error. The solution from various sources was…
Dav
  • 121
  • 3
2
votes
0 answers

How to check/verify Git repository which uses submodules?

It seems that git fsck doesn't check any submodules (that is, verify that submodules do not have corrupted files). Seeing that git fsck --recursive is not not supported either. What's the correct way to check the whole repository hierarchy? The…
Mikko Rantalainen
  • 14,132
  • 10
  • 74
  • 112
2
votes
1 answer

HDFS fsck command output

I got this in output so I just want to know what is BP, Blk? Can you explain me what each thing means in this output? I know the BP-929597290-192.0.0.2-1439573305237:blk_1074084574_344316 len=2 repl=3…
Naveen
  • 123
  • 3
  • 15
1
vote
0 answers

Manual fsck stuck and no progress during disk check

I wanted to run an fsck check on my 5TB external hard drive on my raspberry pi. This is the output: $ sudo e2fsck -c -v /dev/sda e2fsck 1.44.5 (15-Dec-2018) Checking for bad blocks (read-only test): 0.46% done, 5:04 elapsed. (0/0/0…
Deffa
  • 194
  • 6
1
vote
1 answer

How to fix corrupted delta lake table on AWS S3

I ended up manually deleting some delta lake entries(hosted on S3) . Now my spark job is failing because the delta transaction logs point to files that do not exist in the file system. I came across this…
kk1957
  • 8,246
  • 10
  • 41
  • 63
1
vote
1 answer

git fsck -- If this is clean then is git repo in good shape? (I put my repos in dropbox and want to check integrity)

I accidentally put my repositories in dropbox. One of my repositories I couldn't do git status without a message about a missing tree. (git fsck also reported this) On the other ones I did git fsck and there was just dangling objects and commits. If…
Chris Muench
  • 17,444
  • 70
  • 209
  • 362
1
vote
1 answer

Data loss under Linux

I work under linux debian buster. This morning I worked as usual and my PC crashed. I forced it to shut down and when I restarted, it presents the terminal with initramfs (if I'm not mistaken) by inviting me to do an fsck. This is not the first time…
1
2 3 4