{"id":1257,"date":"2014-06-16T17:34:17","date_gmt":"2014-06-16T16:34:17","guid":{"rendered":"http:\/\/www.kozeniauskas.com\/itblog\/?p=1257"},"modified":"2014-06-16T17:54:08","modified_gmt":"2014-06-16T16:54:08","slug":"nexus-pre-upgrade-check-failed-return-code-0x40930062-free-space-in-the-filesystem-is-below-threshold","status":"publish","type":"post","link":"https:\/\/www.kozeniauskas.com\/itblog\/2014\/06\/16\/nexus-pre-upgrade-check-failed-return-code-0x40930062-free-space-in-the-filesystem-is-below-threshold\/","title":{"rendered":"Nexus: Pre-upgrade check failed. Return code 0x40930062 (free space in the filesystem is below threshold)."},"content":{"rendered":"<p>While trying to upgrade Nexus 5000 series switch I ran into following issue:<\/p>\n<div id=\"attachment_1258\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/12.png\"><img aria-describedby=\"caption-attachment-1258\" loading=\"lazy\" class=\"size-medium wp-image-1258\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/12-300x12.png\" alt=\"Pre-upgrade check failed. Return code 0x40930062 (free space in the filesystem is below threshold).\" width=\"300\" height=\"12\" srcset=\"https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/12-300x12.png 300w, https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/12.png 831w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1258\" class=\"wp-caption-text\">Pre-upgrade check failed. Return code 0x40930062 (free space in the filesystem is below threshold).<\/p><\/div>\n<p>Switch has enough free:<\/p>\n<div id=\"attachment_1259\" style=\"width: 281px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/21.png\"><img aria-describedby=\"caption-attachment-1259\" loading=\"lazy\" class=\"size-full wp-image-1259\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/21.png\" alt=\"Enough free space\" width=\"271\" height=\"69\" \/><\/a><p id=\"caption-attachment-1259\" class=\"wp-caption-text\">Enough free space<\/p><\/div>\n<p>Look at install logs to identify where the problem is by typing:<br \/>\n<em>show system internal log install details | include space<\/em><\/p>\n<div id=\"attachment_1260\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/31.png\"><img aria-describedby=\"caption-attachment-1260\" loading=\"lazy\" class=\"size-medium wp-image-1260\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/31-300x9.png\" alt=\"show system internal log install details | include space\" width=\"300\" height=\"9\" srcset=\"https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/31-300x9.png 300w, https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/31-1024x33.png 1024w, https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/31.png 1171w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1260\" class=\"wp-caption-text\">show system internal log install details | include space<\/p><\/div>\n<p>As you can see the problem is because <strong><em>\/var\/tmp<\/em><\/strong>\u00a0is bellow the threshold.<br \/>\nTo identify what is \u00a0taking space in\u00a0<strong><em>\/var\/tmp<\/em><\/strong>\u00a0type:<br \/>\n<em>show system internal dir \/var\/tmp<\/em><!--more--><\/p>\n<div id=\"attachment_1261\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/41.png\"><img aria-describedby=\"caption-attachment-1261\" loading=\"lazy\" class=\"size-medium wp-image-1261\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/41-300x285.png\" alt=\"show system internal dir \/var\/tmp\" width=\"300\" height=\"285\" srcset=\"https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/41-300x285.png 300w, https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/41.png 709w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1261\" class=\"wp-caption-text\">show system internal dir \/var\/tmp<\/p><\/div>\n<p>Above we can see that most of the space is taken by <strong>smm.log<\/strong> file.<br \/>\nTo delete the file, type:<br \/>\n<em>filesys delete \/var\/tmp\/smm.log<br \/>\n<\/em><\/p>\n<div id=\"attachment_1265\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/5.png\"><img aria-describedby=\"caption-attachment-1265\" loading=\"lazy\" class=\"size-medium wp-image-1265\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/5-300x57.png\" alt=\"filesys delete \/var\/tmp\/smm.log\" width=\"300\" height=\"57\" srcset=\"https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/5-300x57.png 300w, https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/5.png 340w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1265\" class=\"wp-caption-text\">filesys delete \/var\/tmp\/smm.log<\/p><\/div>\n<p>If for some reason you cannot delete the file than there are 2 options:<br \/>\nCall CiscoTAC and asked them to delete the file. They would use dplug to do that<br \/>\nReboot the switch<\/p>\n<p>After deleting the file there was enough free space to start upgrade<\/p>\n<div id=\"attachment_1266\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/61.png\"><img aria-describedby=\"caption-attachment-1266\" loading=\"lazy\" class=\"size-medium wp-image-1266\" src=\"http:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/61-300x37.png\" alt=\"Upgrade started\" width=\"300\" height=\"37\" srcset=\"https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/61-300x37.png 300w, https:\/\/www.kozeniauskas.com\/itblog\/files\/2014\/06\/61.png 886w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-1266\" class=\"wp-caption-text\">Upgrade started<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>While trying to upgrade Nexus 5000 series switch I ran into following issue: Switch has enough free: Look at install logs to identify where the problem is by typing: show system internal log install details | include space As you can see the problem is because \/var\/tmp\u00a0is bellow the threshold. To identify what is \u00a0taking [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[380,451,452],"tags":[497,499,388,425],"_links":{"self":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/1257"}],"collection":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/comments?post=1257"}],"version-history":[{"count":5,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/1257\/revisions"}],"predecessor-version":[{"id":1274,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/posts\/1257\/revisions\/1274"}],"wp:attachment":[{"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/media?parent=1257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/categories?post=1257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kozeniauskas.com\/itblog\/wp-json\/wp\/v2\/tags?post=1257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}