{"id":124,"date":"2010-06-25T23:46:48","date_gmt":"2010-06-25T22:46:48","guid":{"rendered":"http:\/\/www.p2vpro.com\/?p=124"},"modified":"2010-06-25T23:46:48","modified_gmt":"2010-06-25T22:46:48","slug":"having-a-bad-evening","status":"publish","type":"post","link":"https:\/\/www.p2vpro.com\/?p=124","title":{"rendered":"Having a bad evening"},"content":{"rendered":"<p>You know how sometimes things just won&#8217;t work. Well I&#8217;m having one of those evenings. The problem at hand for the last few days was to create a datastore on a USB stick on my ESXi 4.0.0 system, booted from a USB stick.<\/p>\n<p>Well I couldn&#8217;t get it to work and by the looks of things neither has anyone else, although it apparently worked in 3.5. (Problem 1)<\/p>\n<p>I want to create a datastore on a USB not only because it would be very useful but also to migrate my existing VMs onto it so I could delete my disk based datastore and re-partition my drive in order to install more physical O\/Ss than just Ubuntu.<\/p>\n<p>Anyway, since I couldn&#8217;t create any other datastore I just deleted my VMs and thought it would be quick to re-create them. So try to delete the datastore I created. Can&#8217;t do it: &#8216;Unable to remove datastore xxxxxxx the resource is in use&#8217; (Problem 2).<\/p>\n<p>Lots of people had that problem but none seem to match my scenario.<\/p>\n<p>OK, just boot into Ubuntu and re-partition the drive. Unfortunately I get errors trying to delete the partition and it ends up in a right mess. (Problem 3). The only way to get out of this looks like reformatting the hard drive and re-installing Ubuntu.<\/p>\n<p>So I take my USB drive which I wiped to try and make a datastore. Now I can&#8217;t format it (Problem 4).<\/p>\n<p>See what I mean?<\/p>\n<p>Now I&#8217;ve blown 1hr 40mins time budget on problems but I finally just managed to re-format the USB key and use Unetbootin to put Ubuntu back on. Hurrah! I can boot my machine with it.<\/p>\n<p>But wait! I can&#8217;t now even format the hard drive in my machine when booted from the USB Ubuntu: &#8220;An error occurred while performing an operation on &#8220;1TB Hard Disk&#8221; (ATA Hitachi&#8230;): The operation failed. It thinks it is in use.<\/p>\n<p>I&#8217;m going to bed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You know how sometimes things just won&#8217;t work. Well I&#8217;m having one of those evenings. The problem at hand for the last few days was to create a datastore on a USB stick on my ESXi 4.0.0 system, booted from &hellip; <a href=\"https:\/\/www.p2vpro.com\/?p=124\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":2,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":126,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions\/126"}],"wp:attachment":[{"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.p2vpro.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}