{"id":391,"date":"2018-07-04T09:49:01","date_gmt":"2018-07-04T07:49:01","guid":{"rendered":"https:\/\/www.gluecksgriff-taschen.de\/?p=391"},"modified":"2022-07-02T17:45:27","modified_gmt":"2022-07-02T15:45:27","slug":"usb-festplatte-wird-nicht-als-datastore-angezeigt","status":"publish","type":"post","link":"https:\/\/www.gluecksgriff-taschen.de\/?p=391","title":{"rendered":"USB-Festplatte wird nicht als Datastore angezeigt"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Ich sichere meine virtuellen Maschinen per <a href=\"https:\/\/www.gluecksgriff-taschen.de\/?p=350\">ghettoVCB<\/a> auf eine externe USB-Festplatte. Heute habe ich diese Festplatte an einem anderen ESXi-Host angeschlossen, aber sie tauchte partout nicht in der Liste der verf\u00fcgbaren Datenspeicher auf. Auch ein Suchen nach neuen Datenspeichern innerhalb des VMware Host-Clients fand die Festplatte nicht.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Was war denn da los, sollte meine Backup-Platte etwa das Zeitliche gesegnet haben?<\/p>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Wie fast immer hilft auch hier der Blick in die Logfiles. In diesem Fall kommt die Erleuchtung beim Lesen der <code>\/var\/log\/vmkernel.log<\/code>. Dort finden sich dann diese Zeilen<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n2018-07-04T04:33:38.042Z cpu4:2097506)LVM: 11279: Device eui.41736d6564696120:1 detected to be a snapshot:\n2018-07-04T04:33:38.042Z cpu4:2097506)LVM: 11286:   queried disk ID: &amp;lt;type 1, len 21, lun 0, devType 0, scsi 0, h(id) 11990792564627518428&gt;\n2018-07-04T04:33:38.042Z cpu4:2097506)LVM: 11293:   on-disk disk ID: &amp;lt;type 0, len 11, lun 0, devType 0, scsi 0, h(id) 12864720230662623115&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Aha, meine USB-Festplatte wird als Snapshot erkannt, dann kann sie nat\u00fcrlich nicht als g\u00fcltiger Datastore erkannt werden. Das l\u00e4sst sich ja zum Gl\u00fcck recht einfach beheben. Zun\u00e4chst lasse ich mir mal eine Liste der vorhandenen VMFS Snapshots ausgeben.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; gutter: false; highlight: [1]; title: ; notranslate\" title=\"\">\n&#x5B;root@esxi:\/vmfs\/volumes] esxcli storage vmfs snapshot list\n59f11382-d1874ea4-5c0d-0cc47a82ba78\n   Volume Name: USB-Festplatte\n   VMFS UUID: 59f11382-d1874ea4-5c0d-0cc47a82ba78\n   Can mount: true\n   Reason for un-mountability:\n   Can resignature: true\n   Reason for non-resignaturability:\n   Unresolved Extent Count: 1\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Nun kenne ich die VMFS UUID und kann den Datastore einfach manuell mounten.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; gutter: false; highlight: [1]; title: ; notranslate\" title=\"\">\n&#x5B;root@esxi:\/vmfs\/volumes] esxcli storage vmfs snapshot mount -u 59f11382-d1874ea4-5c0d-0cc47a82ba78\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Nach ein paar Sekunden taucht die USB-Festplatte dann als Datastore auf. Logfiles sind schon echt eine feine Sache.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich sichere meine virtuellen Maschinen per ghettoVCB auf eine externe USB-Festplatte. Heute habe ich diese Festplatte an einem anderen ESXi-Host angeschlossen, aber sie tauchte partout nicht in der Liste der verf\u00fcgbaren Datenspeicher auf. Auch ein Suchen nach neuen Datenspeichern innerhalb des VMware Host-Clients fand die Festplatte nicht. Was war denn da los, sollte meine Backup-Platte &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.gluecksgriff-taschen.de\/?p=391\"> <span class=\"screen-reader-text\">USB-Festplatte wird nicht als Datastore angezeigt<\/span> Weiterlesen &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[2],"tags":[77,79,78,11],"class_list":["post-391","post","type-post","status-publish","format-standard","hentry","category-vmware","tag-datastore","tag-detected-as-snapshot","tag-usb-festplatte","tag-vmware"],"_links":{"self":[{"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=\/wp\/v2\/posts\/391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=391"}],"version-history":[{"count":7,"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":801,"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=\/wp\/v2\/posts\/391\/revisions\/801"}],"wp:attachment":[{"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gluecksgriff-taschen.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}