{"id":639,"date":"2019-07-30T23:37:38","date_gmt":"2019-07-31T04:37:38","guid":{"rendered":"http:\/\/zewwy.ca\/?p=639"},"modified":"2019-07-30T23:37:54","modified_gmt":"2019-07-31T04:37:54","slug":"veeam-smb-and-the-failed-to-get-disk-free-space","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2019\/07\/30\/veeam-smb-and-the-failed-to-get-disk-free-space\/","title":{"rendered":"Veeam, SMB, and the Failed to get disk free space"},"content":{"rendered":"<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"The_Story\"><\/span><strong>The Story<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>I wanted to try Veeam B&amp;R Free again, now that <a href=\"https:\/\/learnvmware.online\/2018\/01\/23\/reset-esxi-6-5-evaluation\/\">I discovered a trick on re-issuing the 60 day trial key on ESXi hosts<\/a>  so I should be able to get past my old issue I blogged about &#8220;<a href=\"https:\/\/zewwy.ca\/index.php\/2018\/09\/06\/free-hypervisor-backup-part-2-the-vmware-screw\/\">The VMware Screw<\/a>&#8220;&#8230;<\/p>\n<p>So I D\/L the latest n greatest from Veeam and that&#8217;s B&amp;R 9.5 Update 4, grab the latest builds <a href=\"https:\/\/www.veeam.com\/virtual-machine-backup-solution-free-download.html\">here<\/a> (Veeam Login Req)&#8230;<\/p>\n<p>Run the installer, nothing special here. Love the new UI, amazing how much nicer it is vs the old Free Edition.<\/p>\n<p>Anyway, navigate to Backup Infrastructure to add a Repo, in this case a simple USB HDD I was sharing via SMB on a FreeNAS server. I had created it with open access so no authentication was required to access the share.<\/p>\n<p>As shown here, I was accessing the file share without issue in Windows Explorer&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/4qyDUzb.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/4qyDUzb.png\" alt=\"\" width=\"783\" height=\"316\" \/><\/a><\/p>\n<p>However, attempting to add it as a Repo&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/R4lPiUE.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/R4lPiUE.png\" alt=\"\" width=\"1005\" height=\"659\" \/><\/a><\/p>\n<p>Whomp, whomm, whmomomomomom.<\/p>\n<p>Kind of annoying that anonymous SMB is I guess not supported as a Repo type, or maybe just not with my particular setup, I&#8217;m not exactly sure what the exact reason for this error being hit as I don&#8217;t have access to Veeam source code. Anyway, I started to google for a possible solution, annoying the first result was simply a post which a Veeam rep simply posted to the <a href=\"https:\/\/forums.veeam.com\/veeam-backup-replication-f2\/failed-to-get-disk-free-space-on-cifs-repository-t45836.html\">second most common solution post<\/a> which basically stated:<\/p>\n<p>&#8220;add the registry setting:<\/p>\n<p>Key: HKLM\\SOFTWARE\\Veeam\\Veeam Backup and Replication\\<br \/>\nDWORD: NetUseShareAccess = 1<\/p>\n<p>As per KB1735&#8221;<\/p>\n<p>Did that and&#8230;. Failed to get disk free space. Since a lot of people on these threads are mentioning the user of a username and password I decided to follow <a href=\"https:\/\/www.ixsystems.com\/community\/threads\/simple-example-of-how-to-configure-share-permissions-freenas-9.35276\/\">this guide<\/a> on creating a user for an SMB share on FreeNAS.<\/p>\n<p>Follow the Veeam wizard and&#8230; &#8220;Can&#8217;t get disk free space&#8221;<\/p>\n<p>Ughhhh&#8230; I was about to give up and actually attempt a physical alternative then I noticed something people were saying&#8230;<\/p>\n<p><a href=\"https:\/\/forums.veeam.com\/veeam-agent-for-windows-f33\/unable-to-browse-nas-data-store-from-veeam-agent-2-2-t52832.html#p292214\">ender<\/a> &#8211; &#8220;Depending on your SMB server, you may need to enter the username as DOMAIN\\user or SERVERNAME\\user before it&#8217;s accepted.&#8221;<\/p>\n<p><a href=\"https:\/\/forums.veeam.com\/vmware-vsphere-f24\/error-mounting-smb-synology-failed-to-get-disk-free-t43060.html\">StivoBerlin<\/a> &#8211; &#8220;Have you tried to write &#8220;YOUDOMAINONYOURSYNOLOGY\\youruser&#8221; instead of only &#8220;youruser&#8221; for the NAS login ?&#8221;<\/p>\n<p><a href=\"https:\/\/forums.veeam.com\/veeam-backup-replication-f2\/failed-to-get-disk-free-space-on-cifs-repository-t45836.html\">michaelbrandi<\/a> &#8211; &#8220;I have found that it makes a difference if you enter &#8220;full&#8221; credentials so not admin but IP\\admin, not sure it&#8217;s universal, but it helped me.&#8221;<\/p>\n<p>That&#8217;s when I added an account to Veeam as &#8220;FREENAS\\TestUser&#8221; along with the password, and used that credential after entering the path, and got past the error!<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/Rxv7357.png\" \/><\/p>\n<p>I was actually rather impressed at the speed of the backups considering it was a USB drive shared over the network via SMB from FreeNAS&#8230;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/j9t4K2v.png\" \/><\/p>\n<p>Look at that, backed up a 20 gig vm in 8 minutes wooo! Not bad for Free.<\/p>\n<p>Maybe I&#8217;ll re-follow up on my old free VM backup series and bring it back with a proper tut on each step required to make it work.<\/p>\n<p>For now I hope this information helps someone!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Story I wanted to try Veeam B&amp;R Free again, now that I discovered a trick on re-issuing the 60 day trial key on ESXi hosts so I should be able to get past my old issue I blogged about &#8220;The VMware Screw&#8220;&#8230; So I D\/L the latest n greatest from Veeam and that&#8217;s B&amp;R &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2019\/07\/30\/veeam-smb-and-the-failed-to-get-disk-free-space\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Veeam, SMB, and the Failed to get disk free space&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5,8],"tags":[215,214,82],"class_list":["post-639","post","type-post","status-publish","format-standard","hentry","category-hypervisors","category-server-administration","tag-failed-to-get-disk-free-space","tag-smb","tag-veeam"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=639"}],"version-history":[{"count":2,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/639\/revisions"}],"predecessor-version":[{"id":641,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/639\/revisions\/641"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=639"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}