{"id":975,"date":"2023-04-15T19:13:00","date_gmt":"2023-04-15T13:43:00","guid":{"rendered":"https:\/\/syshunt.com\/?p=975"},"modified":"2023-04-15T18:29:09","modified_gmt":"2023-04-15T12:59:09","slug":"remove-lvm-inputoutput-error","status":"publish","type":"post","link":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/","title":{"rendered":"How to remove LVM Input\/output error"},"content":{"rendered":"\n<p>Many times after changing the firmware of the disk or removing the disk\/LUN\u2019s without clean shutdown\/unmount you may get the following error:<\/p>\n\n\n\n<p>\/dev\/sdf: read failed after 0 of 4096 at 0: Input\/output error<\/p>\n\n\n\n<p>\/dev\/sdf: read failed after 0 of 4096 at 3298534817792: Input\/output error<\/p>\n\n\n\n<p>\/dev\/sdf: read failed after 0 of 4096 at 3298534875136: Input\/output error<\/p>\n\n\n\n<p>\/dev\/sdf: read failed after 0 of 4096 at 4096: Input\/output error<\/p>\n\n\n\n<p>\/dev\/sdk: read failed after 0 of 4096 at 0: Input\/output error<\/p>\n\n\n\n<p>\/dev\/sdk: read failed after 0 of 4096 at 6442385408: Input\/output error<\/p>\n\n\n\n<p>\/dev\/sdk: read failed after 0 of 4096 at 6442442752: Input\/output error<\/p>\n\n\n\n<p>\/dev\/sdk: read failed after 0 of 4096 at 4096: Input\/output error<\/p>\n\n\n\n<p># Check which Volume Group has the issue, run \u201cvgscan\u201d command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vgscan<\/code><\/pre>\n\n\n\n<p># Find out the Logical Volumes attached with that Volume Group.<br># Inactive the logical volumes as :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lvchange -an lv-name<\/code><\/pre>\n\n\n\n<p># Inactive Volume group as :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vgchange -an vg-name<\/code><\/pre>\n\n\n\n<p># Again Scan the Volume group using \u201cvgscan\u201d.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vgscan<\/code><\/pre>\n\n\n\n<p># Now activate the Volume Group :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vgchange -ay volume-group-name<\/code><\/pre>\n\n\n\n<p># Run command \u201clvscan\u201d , the error should be gone now.<br># Now activate the Logical Volume Name :<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>lvchange -ay lv-name<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Many times after changing the firmware of the disk or removing the disk\/LUN\u2019s without clean shutdown\/unmount you may get the following error: \/dev\/sdf: read failed after 0 of 4096 at 0: Input\/output error \/dev\/sdf: read failed after 0 of 4096 at 3298534817792: Input\/output error \/dev\/sdf: read failed after 0 of 4096 at 3298534875136: Input\/output error [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":977,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8],"tags":[],"class_list":{"0":"post-975","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-linux","8":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to remove LVM Input\/output error<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to remove LVM Input\/output error\" \/>\n<meta property=\"og:description\" content=\"Many times after changing the firmware of the disk or removing the disk\/LUN\u2019s without clean shutdown\/unmount you may get the following error: \/dev\/sdf: read failed after 0 of 4096 at 0: Input\/output error \/dev\/sdf: read failed after 0 of 4096 at 3298534817792: Input\/output error \/dev\/sdf: read failed after 0 of 4096 at 3298534875136: Input\/output error [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/\" \/>\n<meta property=\"og:site_name\" content=\"SysHunt\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/syshunt\" \/>\n<meta property=\"article:published_time\" content=\"2023-04-15T13:43:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"566\" \/>\n\t<meta property=\"og:image:height\" content=\"564\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Pradeep Pandey\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/\"},\"author\":{\"name\":\"Pradeep Pandey\",\"@id\":\"https:\/\/syshunt.com\/#\/schema\/person\/7269c596454748212fe05bfe229e7a84\"},\"headline\":\"How to remove LVM Input\/output error\",\"datePublished\":\"2023-04-15T13:43:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/\"},\"wordCount\":168,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/syshunt.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg\",\"articleSection\":[\"linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/\",\"url\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/\",\"name\":\"How to remove LVM Input\/output error\",\"isPartOf\":{\"@id\":\"https:\/\/syshunt.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg\",\"datePublished\":\"2023-04-15T13:43:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage\",\"url\":\"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg\",\"contentUrl\":\"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg\",\"width\":566,\"height\":564,\"caption\":\"lvm\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/syshunt.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to remove LVM Input\/output error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/syshunt.com\/#website\",\"url\":\"https:\/\/syshunt.com\/\",\"name\":\"SysHunt\",\"description\":\"We Value Your Time - OpenSource Community\",\"publisher\":{\"@id\":\"https:\/\/syshunt.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/syshunt.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/syshunt.com\/#organization\",\"name\":\"SysHunt.Com\",\"url\":\"https:\/\/syshunt.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/syshunt.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/syshunt.com\/wp-content\/uploads\/2020\/12\/syshunt-logo-1.png\",\"contentUrl\":\"https:\/\/syshunt.com\/wp-content\/uploads\/2020\/12\/syshunt-logo-1.png\",\"width\":500,\"height\":161,\"caption\":\"SysHunt.Com\"},\"image\":{\"@id\":\"https:\/\/syshunt.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/syshunt\",\"https:\/\/www.youtube.com\/channel\/UCIADIHhwsrJOXFAwCFG0L9g\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/syshunt.com\/#\/schema\/person\/7269c596454748212fe05bfe229e7a84\",\"name\":\"Pradeep Pandey\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/syshunt.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8346a128820f023fc797497a976baff4aa4d966711f04b4523eee589ab771d2e?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8346a128820f023fc797497a976baff4aa4d966711f04b4523eee589ab771d2e?s=96&d=monsterid&r=g\",\"caption\":\"Pradeep Pandey\"},\"sameAs\":[\"https:\/\/syshunt.com\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to remove LVM Input\/output error","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:\/\/syshunt.com\/remove-lvm-inputoutput-error\/","og_locale":"en_US","og_type":"article","og_title":"How to remove LVM Input\/output error","og_description":"Many times after changing the firmware of the disk or removing the disk\/LUN\u2019s without clean shutdown\/unmount you may get the following error: \/dev\/sdf: read failed after 0 of 4096 at 0: Input\/output error \/dev\/sdf: read failed after 0 of 4096 at 3298534817792: Input\/output error \/dev\/sdf: read failed after 0 of 4096 at 3298534875136: Input\/output error [&hellip;]","og_url":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/","og_site_name":"SysHunt","article_publisher":"https:\/\/www.facebook.com\/syshunt","article_published_time":"2023-04-15T13:43:00+00:00","og_image":[{"width":566,"height":564,"url":"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg","type":"image\/jpeg"}],"author":"Pradeep Pandey","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#article","isPartOf":{"@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/"},"author":{"name":"Pradeep Pandey","@id":"https:\/\/syshunt.com\/#\/schema\/person\/7269c596454748212fe05bfe229e7a84"},"headline":"How to remove LVM Input\/output error","datePublished":"2023-04-15T13:43:00+00:00","mainEntityOfPage":{"@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/"},"wordCount":168,"commentCount":0,"publisher":{"@id":"https:\/\/syshunt.com\/#organization"},"image":{"@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage"},"thumbnailUrl":"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg","articleSection":["linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/","url":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/","name":"How to remove LVM Input\/output error","isPartOf":{"@id":"https:\/\/syshunt.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage"},"image":{"@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage"},"thumbnailUrl":"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg","datePublished":"2023-04-15T13:43:00+00:00","breadcrumb":{"@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#primaryimage","url":"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg","contentUrl":"https:\/\/syshunt.com\/wp-content\/uploads\/2023\/04\/lvm.jpg","width":566,"height":564,"caption":"lvm"},{"@type":"BreadcrumbList","@id":"https:\/\/syshunt.com\/remove-lvm-inputoutput-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/syshunt.com\/"},{"@type":"ListItem","position":2,"name":"How to remove LVM Input\/output error"}]},{"@type":"WebSite","@id":"https:\/\/syshunt.com\/#website","url":"https:\/\/syshunt.com\/","name":"SysHunt","description":"We Value Your Time - OpenSource Community","publisher":{"@id":"https:\/\/syshunt.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/syshunt.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/syshunt.com\/#organization","name":"SysHunt.Com","url":"https:\/\/syshunt.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/syshunt.com\/#\/schema\/logo\/image\/","url":"https:\/\/syshunt.com\/wp-content\/uploads\/2020\/12\/syshunt-logo-1.png","contentUrl":"https:\/\/syshunt.com\/wp-content\/uploads\/2020\/12\/syshunt-logo-1.png","width":500,"height":161,"caption":"SysHunt.Com"},"image":{"@id":"https:\/\/syshunt.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/syshunt","https:\/\/www.youtube.com\/channel\/UCIADIHhwsrJOXFAwCFG0L9g"]},{"@type":"Person","@id":"https:\/\/syshunt.com\/#\/schema\/person\/7269c596454748212fe05bfe229e7a84","name":"Pradeep Pandey","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/syshunt.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8346a128820f023fc797497a976baff4aa4d966711f04b4523eee589ab771d2e?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8346a128820f023fc797497a976baff4aa4d966711f04b4523eee589ab771d2e?s=96&d=monsterid&r=g","caption":"Pradeep Pandey"},"sameAs":["https:\/\/syshunt.com\/"]}]}},"_links":{"self":[{"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/posts\/975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/comments?post=975"}],"version-history":[{"count":1,"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/posts\/975\/revisions"}],"predecessor-version":[{"id":976,"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/posts\/975\/revisions\/976"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/media\/977"}],"wp:attachment":[{"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/media?parent=975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/categories?post=975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/syshunt.com\/wp-json\/wp\/v2\/tags?post=975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}