<br />
<b>Warning</b>:  Undefined array key "global_protection_id" in <b>/home/wikitechy/public_html/interview-questions/wp-content/plugins/content-protector/inc/class-ps-rest-handler.php</b> on line <b>51</b><br />
{"id":271,"date":"2021-07-12T17:31:48","date_gmt":"2021-07-12T17:31:48","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=271"},"modified":"2021-09-18T11:10:43","modified_gmt":"2021-09-18T11:10:43","slug":"what-is-fsck","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/","title":{"rendered":"What is fsck ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"what-is-fsck\" class=\"color-pink\" style=\"text-align: justify;\">What is fsck ?<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Fsck stands for\u00a0<b>File System Check<\/b>. This command is used by HDFS and also used to check inconsistencies and if there is any problem in the file.<\/li>\n<li>For example, if there are any missing blocks for a file, HDFS gets notified through this command.<\/li>\n<li>There are two modes used in fsck command interactive and non-interactive.\n<ul>\n<li><b>Interactive mode<\/b>\u00a0prompts the user each time it finds an error to determine whether or not the user wants to fix the error or continue without fixing.<\/li>\n<li><b>Non-interactive mode<\/b>\u00a0automatically corrects errors without prompting the user.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"img-responsive center-block aligncenter\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif\" alt=\"What is fsck\" \/><\/div>\n<\/div>\n<div class=\"TextHeading\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<h2 id=\"command-list\" class=\"color-purple\">Command list<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>There are different arguments that can be passed with this command to emit different results.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"hddn\">\n<table class=\"table-bordered table-striped table table-responsive\">\n<tbody>\n<tr style=\"text-align: justify;\">\n<th>COMMAND_OPTION<\/th>\n<th>Description<\/th>\n<\/tr>\n<tr style=\"text-align: justify;\">\n<td class=\"text-leftalign\">path<\/td>\n<td class=\"text-leftalign\">Start checking from this path.<\/td>\n<\/tr>\n<tr style=\"text-align: justify;\">\n<td class=\"text-leftalign\">move<\/td>\n<td class=\"text-leftalign\">Move corrupted files to \/lost+found<\/td>\n<\/tr>\n<tr style=\"text-align: justify;\">\n<td class=\"text-leftalign\">delete<\/td>\n<td class=\"text-leftalign\">Delete corrupted files.<\/td>\n<\/tr>\n<tr style=\"text-align: justify;\">\n<td class=\"text-leftalign\">openforwrite<\/td>\n<td class=\"text-leftalign\">Print out files opened for write.<\/td>\n<\/tr>\n<tr style=\"text-align: justify;\">\n<td class=\"text-leftalign\">files<\/td>\n<td class=\"text-leftalign\">Print out files being checked.<\/td>\n<\/tr>\n<tr style=\"text-align: justify;\">\n<td class=\"text-leftalign\">blocks<\/td>\n<td class=\"text-leftalign\">Print out block report.<\/td>\n<\/tr>\n<tr style=\"text-align: justify;\">\n<td class=\"text-leftalign\">locations<\/td>\n<td class=\"text-leftalign\">Print out locations for every block.<\/td>\n<\/tr>\n<tr>\n<td class=\"text-leftalign\" style=\"text-align: justify;\">racks<\/td>\n<td class=\"text-leftalign\" style=\"text-align: justify;\">Print out network topology for data-node locations.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : Fsck stands for File System Check. This command is used&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"passster_activate_protection":false,"passster_protect_child_pages":"","passster_protection_type":"password","passster_password":"","passster_activate_overwrite_defaults":"","passster_headline":"","passster_instruction":"","passster_placeholder":"","passster_button":"","passster_id":"","passster_activate_misc_settings":"","passster_redirect_url":"","passster_hide":"no","passster_area_shortcode":"","gtb_hide_title":false,"gtb_wrap_title":false,"gtb_class_title":"","gtb_remove_headerfooter":false,"footnotes":""},"categories":[3712],"tags":[195,1119,360,203,199,214,1189,1120,205,1193,1203,485,222,1180,1202,1183,1185,1194,1201,1181,1196,1187,484,1199,1197,196,212,286,1191,1190,1195,1182,970,366,288,367,1198,1188,206,1184,975,200,974,1204,1192,197,280,364,1200,968,216,285,1121],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-hadoop","tag-accenture-interview-questions-and-answers","tag-att-interview-questions-and-answers","tag-atos-interview-questions-and-answers","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-check-disk-command","tag-collabera-technologiesinterview-questions-and-answers","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-disk-linux","tag-e2fsck","tag-ernst-young-interview-questions-and-answers","tag-flipkart-interview-questions-and-answers","tag-fsck","tag-fsck-command","tag-fsck-command-in-hadoop","tag-fsck-command-in-linux","tag-fsck-example","tag-fsck-linux","tag-fsck-linuxfsck-command","tag-fsck-on-mounted-drive","tag-fsck-ubuntu","tag-genpact-interview-questions-and-answers","tag-how-to-repair-filesystem-in-redhat-linuxfsck-mac","tag-how-to-run-fsck-on-root-filesystem-in-linux","tag-ibm-interview-questions-and-answers","tag-indecomm-global-services-interview-questions-and-answers","tag-lt-infotech-interview-questions-and-answers","tag-linux-file-system-commands","tag-linux-find-file","tag-linux-fsck-on-boot","tag-mac-repair","tag-mindtree-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-r-systems-interview-questions-and-answers","tag-rbs-india-development-centre-pvt-ltd-interview-questions-and-answers","tag-repair-filesystem","tag-run-fsck-manually","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-system-file-checker","tag-tata-consultancy-service-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-trigent-software-interview-questions-and-answers","tag-types-of-files-in-unix","tag-types-of-files-in-unixf","tag-unitedhealth-group-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-wells-fargo-interview-questions-and-answers","tag-what-is-fsck","tag-wipro-infotech-interview-questions-and-answers","tag-wipro-interview-questions-and-answers","tag-xoriant-solutions-pvt-ltd-interview-questions-and-answers","tag-zs-associates-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is fsck ? - Big Data Interview Questions - Wikitechy<\/title>\n<meta name=\"description\" content=\"What is fsck ? - fsck stands for File System Check. It is a command used by HDFS. This command is used to check inconsistencies and if there is any problem in the file\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is fsck ? - Big Data Interview Questions - Wikitechy\" \/>\n<meta property=\"og:description\" content=\"What is fsck ? - fsck stands for File System Check. It is a command used by HDFS. This command is used to check inconsistencies and if there is any problem in the file\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-12T17:31:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-18T11:10:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/\",\"name\":\"What is fsck ? - Big Data Interview Questions - Wikitechy\",\"isPartOf\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif\",\"datePublished\":\"2021-07-12T17:31:48+00:00\",\"dateModified\":\"2021-09-18T11:10:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is fsck ? - fsck stands for File System Check. It is a command used by HDFS. This command is used to check inconsistencies and if there is any problem in the file\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/#primaryimage\",\"url\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif\",\"contentUrl\":\"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#website\",\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is fsck ? - Big Data Interview Questions - Wikitechy","description":"What is fsck ? - fsck stands for File System Check. It is a command used by HDFS. This command is used to check inconsistencies and if there is any problem in the file","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/","og_locale":"en_US","og_type":"article","og_title":"What is fsck ? - Big Data Interview Questions - Wikitechy","og_description":"What is fsck ? - fsck stands for File System Check. It is a command used by HDFS. This command is used to check inconsistencies and if there is any problem in the file","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/","og_site_name":"Wikitechy","article_published_time":"2021-07-12T17:31:48+00:00","article_modified_time":"2021-09-18T11:10:43+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif"}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/","name":"What is fsck ? - Big Data Interview Questions - Wikitechy","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif","datePublished":"2021-07-12T17:31:48+00:00","dateModified":"2021-09-18T11:10:43+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is fsck ? - fsck stands for File System Check. It is a command used by HDFS. This command is used to check inconsistencies and if there is any problem in the file","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/hadoop\/what-is-fsck.gif"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":2,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":3692,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/271\/revisions\/3692"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}