Mohit,

Take a look at this article:
http://www.kernelhardware.org/how-should-run-fsck-linux-file-system/



From: Mohit Vadhera [mailto:project.linux.p...@gmail.com]
Sent: Friday, March 01, 2013 1:52 PM
To: <user@hadoop.apache.org>
Subject: hadoop filesystem corrupt

Hi,

While moving the data my data folder didn't move successfully. Now while 
running the FSCK i get the file system is corrupt. Can anybody help me at the 
earliest please. I shall be thankful

$ sudo - hdfs hadoop fsck /

-----------------------------
-------------------------

...Status: CORRUPT
 Total size:    739698399117 B
 Total dirs:    2179
 Total files:   9064 (Files currently being written: 1)
 Total blocks (validated):      17060 (avg. block size 43358640 B)
  ********************************
  CORRUPT FILES:        4
  CORRUPT BLOCKS:       4
  ********************************
 Minimally replicated blocks:   17060 (100.0 %)
 Over-replicated blocks:        0 (0.0 %)
 Under-replicated blocks:       232 (1.3599062 %)
 Mis-replicated blocks:         0 (0.0 %)
 Default replication factor:    1
 Average block replication:     1.0
 Corrupt blocks:                4
 Missing replicas:              2088 (10.904533 %)
 Number of data-nodes:          1
 Number of racks:               1
FSCK ended at Fri Mar 01 13:56:41 EST 2013 in 509 milliseconds


The filesystem under path '/' is CORRUPT

Reply via email to