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

where to find the replicas of corrupt blocks

I have some corrupt blocks in my hadoop cluster and the replication factor that we use is 3 . my understanding is even if a block is corrupt we will be having 2 more good replicas in other nodes. when i do a fsck in a good file path i get the…
avi
  • 35
  • 1
  • 6
0
votes
2 answers

SD-card becomes read only

I am running my application on colibri-vf50 toradex(running over angstrom distribution) board having sqlite database resides on sd-card. My sd-card becomes read-only whenever I remove power-supply just after board boot up(same time my app start…
MBajaria
  • 19
  • 1
  • 3
0
votes
1 answer

Automated fsck (with init 1/init 5) on a FreeBSD machine?

I'm looking to automated fsck on my FreeBSD server. I have an idea how to do this, but because it's running pretty powerful commands, I'd like some more eyes on it before I set it to run. Step 1. Cron job. My cron will look something like this: 0 17…
Eric Miller
  • 429
  • 4
  • 11
0
votes
3 answers

hdfs fsck Permission denied

I'm running this command line to resolve the problem of corrupt HDFS FIles : hdfs fsck / And I get this warning : Connecting to namenode via http://master1:50070 FSCK started by root (auth:SIMPLE) from /192.168.1.30 for path / at Mon Oct 24…
G.Saleh
  • 509
  • 1
  • 11
  • 29
0
votes
1 answer

CDH HDFS node decommission never ends

We have a 12 servers hadoop cluster(CDH), Recent, we want to decommission three of them, but this process already been running there more than 2 days. But it never ends, Especially, in the past 24 hours, I saw there are only 94G data available on…
user1330526
  • 151
  • 1
  • 3
  • 10
0
votes
1 answer

Where to physically locate a replicated block

I have 2 datanodes + 1 namenode in my cluster. I can see my file emails.json is replicated on both the datanodes. I can see the locations here based on fsck output. 192.168.99.1:50010 192.168.99.100:50010 I can find the physical location of the…
Ravi
  • 1,811
  • 1
  • 18
  • 31
0
votes
1 answer

Slave VMs are down in CloudLab

Two of my three slave VMs are down and I can't ssh them. We have performed a hard reboot but still they are down. Any idea how to bring them back or how to debug to find the reason. Here's what jps: 3542 RunJar 9920 SecondaryNameNode 10094…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
0
votes
1 answer

Debian cant find file but ls shows the file

my MySQL Server doesnt starts because a file is missing. The funny thing is that the file is visible for ls -al but other commands cant find the file. And thats the error. A few files works. If i use shutdown -rF now to check the filesystem i get…
PatrickB
  • 3,225
  • 5
  • 31
  • 55
0
votes
1 answer

GCE: Is there access to the maintenance shell?

One of my instances is having trouble with a disk. The serial console teasingly displays the erro and a console prompt: fsck.ext4: No such file or directory while trying to open /dev/sdbt Possibly non-existent device? fsck died with exit status…
user3126740
  • 121
  • 1
  • 1
  • 8
0
votes
1 answer

fsck - correcting the inconsistency

I have a confusion regarding the fsck correction. I have corrupted an ACL block of an inode. Trying to understand how fsck corrects. What value does it compares and performs the correction. Does fsck corrects the inconsistency of the file…
Angus
  • 12,133
  • 29
  • 96
  • 151
0
votes
1 answer

What is the result of fsck command if not run properly?

If I ran this command #fsck without arguments or options. Will it delete everything?
user2164574
  • 9
  • 1
  • 6
0
votes
1 answer

Windows 7 seems to mess up ext4 group descriptors

I recently installed Linux Mint Debian Edition - it was installed into a logical partition (formatted to ext4) under a 40 GB extended partition that was previously used as a backup/recovery disk in Windows 7. It works quite well - the only problem…
-1
votes
1 answer

In linux, fsck gpt external hard disk fail

In linux, fsck gpt external hard disk fsck fail to check a gpt partitioned external hdd. What to do? I cannot fsck the filesystem of that disk! How I can check my filesystem? What I am doing wrong? Below is some information on my external HDD. …
Estatistics
  • 874
  • 9
  • 24
-1
votes
1 answer

My Ubuntu does not boot, and the the error during that is "UNEXPECTED INCONSISTENCY, RUN FSCK MANUALLY". If i run "fsck /dev/sda2" it works,but why?

i had an error at Ubuntu 17.04 before booting. It said: "UNEXPECTED INCONSISTENCY, RUN FSCK MANUALLY" . So i typed after finding the problem's solution in Google: fsck /dev/sda2 . After rebooting my System worked normally without any errors. My…
Animalz
  • 90
  • 8
-1
votes
1 answer

HDFS disk usage showing different information

I got below details through hadoop fsck / Total size: 41514639144544 B (Total open files size: 581 B) Total dirs: 40524 Total files: 124348 Total symlinks: 0 (Files currently being written: 7) Total blocks (validated): …
Naveen
  • 123
  • 3
  • 15