{"id":21157,"date":"2018-01-23T20:55:53","date_gmt":"2018-01-23T20:55:53","guid":{"rendered":"https:\/\/home.apeconsulting.co.uk\/adrian\/?p=21157"},"modified":"2018-01-23T20:57:00","modified_gmt":"2018-01-23T20:57:00","slug":"crashplan-bhyve-vm","status":"publish","type":"post","link":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/","title":{"rendered":"CrashPlan bhyve VM"},"content":{"rendered":"<p>When I get started on stuff like this, I like to try and get it finished, so unsurprisingly I spent some time yesterday evening looking at how I would recreate my CrashPlan VM, currently running CentOS in VirtualBox, using iohyve and bhyve.<\/p>\n<p><!--more--><\/p>\n<p>Having failed to migrate a ViirtualBox\u00a0VM running ubuntu I wasn&#8217;t expecting it to be any different with CentOS, so didn&#8217;t even bother with this step. \u00a0Probably a good idea, as getting a CentOS VM up and running from a\u00a0.ISO file proved difficult and after trying version 7 and 6.9 eventually parked that for another day. \u00a0There&#8217;s no reason why this has to be running CentOS, other than I quite like using it, but to be honest once it&#8217;s setup and running I very rarely even look at the VM.<\/p>\n<p>Having successfully got a ubuntu server VM up and running which I blogged about <a href=\"https:\/\/home.apeconsulting.co.uk\/adrian\/bhyve-vm-iohyve\/\">here<\/a>, I thought I&#8217;d start at this point again and creating another was a breeze. \u00a0I also decided to take a snapshot of it so in future if I need another\u00a0ubuntu VM I should just be able to clone this one. \u00a0Unlike the VM I created for Openoffice, having a GUI is pretty useful for both setting up CrashPlan, checking backup progress and fixing any issues, so the first job was to add a GUI to the VM. \u00a0I also need to be able to control it remotely, and with a GUI that&#8217;s not going to be possible through a basic terminal session so will need a VNC server. \u00a0I found <a href=\"https:\/\/linode.com\/docs\/applications\/remote-desktop\/install-vnc-on-ubuntu-16-04\/\">this<\/a> blog, which helped a lot, although it&#8217;s not exactly how I got everything set up.<\/p>\n<p>Once I had a working GUI that I could access remotely, the next step (after another snapshot to hopefully save time in the future) was CrashPlan. \u00a0This was pretty straightforward, although the most nerve-racking\u00a0stage of the process given I have over 4TB of data backed up and didn&#8217;t want to lose any of it or have to start the backup again from scratch. \u00a0Code42 have some pretty good support documentation, which explains how to migrate things to a <a href=\"https:\/\/support.code42.com\/CrashPlan\/4\/Get_started\/Add_a_new_computer_or_change_computers\">new computer<\/a>. \u00a0My configuration is slightly different as I&#8217;m not backing up files stored on the VM, but files mounted via NFS shares on my FreeNAS box, so this was the first step.<\/p>\n<p>I needed to run apt-get install nfs-common and then configure the \/etc\/fstab file, so all the same mount points were created in ubuntu. \u00a0More by luck than good management (I read the guide after created the ubuntu VM) I&#8217;d used the same username, and just to be on the safe side, I set the hostname to be the same (crashplan.centos) even though it&#8217;s running on ubuntu. \u00a0Pretty sure I didn&#8217;t need to do this, but it can&#8217;t hurt.<\/p>\n<p>Once all that was configured, it was then just a case of <a href=\"https:\/\/support.code42.com\/CrashPlan\/4\/Configuring\/Replace_a_device_with_a_different_operating_system_or_file_system\">adopting the old backup<\/a> on the new computer. \u00a0I had some network issues with this which I don&#8217;t understand as this morning everything worked fine! \u00a0The CrashPlan app couldn&#8217;t connect to the service, so I couldn&#8217;t select the backup to adopt, but this morning that worked fine and the folders I was expecting to see appeared and it started syncronising the files. \u00a0Everything worked fine until it began the incremental backup where the CrashPlan app crashed.<\/p>\n<p>I was expecting this, as I&#8217;d only allocated 2GB RAM to the VM and knew that I&#8217;d had to assign over 4GB on the CentOS VM to get the backup to run. \u00a0Checking the Code42 <a href=\"https:\/\/support.code42.com\/CrashPlan\/4\/Troubleshooting\/Adjust_Code42_app_settings_for_memory_usage_with_large_backups\">website<\/a>, it suggests 600MB for every TB of data backed up, so I thought I&#8217;d try with 4GB to begin. \u00a0That also reminded me that I&#8217;d need to set the Java memory allocated to CrashPlan, which is done by running the command java mx 4096, restart.<\/p>\n<p>It&#8217;s been running now for several hours and still has a few hundred GB to backup so will probably be running for many hours, if not days later. \u00a0It all looks fine though, so that&#8217;s my two main VMs migrated to bhyve. \u00a0I have a Windows VM that I occasionally use for demonstrating a Java Glassfish App, although it&#8217;s been a while since I needed it. \u00a0I also like to test newer versions of FreeNAS in a VM, so I&#8217;ll probably look to set that one up next. \u00a0Other than those, I can probably leave VirtualBox behind and look to update to a later version of FreeNAS. \u00a0Pretty sure FreeBSD 10.3 becomes end of life (EOL) in April 2018, so I&#8217;ll start to encounter some problems updating jails. \u00a0I&#8217;m hoping FreeNAS 11.2 has been released by then and I can make one big leap rather than several smaller ones. \u00a0I&#8217;ll let you know when I do&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I get started on stuff like this, I like to try and get it finished, so unsurprisingly I spent some time yesterday evening looking at how I would recreate my CrashPlan VM, currently running CentOS in VirtualBox, using iohyve and bhyve.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[19,2,9,10],"tags":[21],"class_list":["post-21157","post","type-post","status-publish","format-standard","hentry","category-freenas","category-it","category-server","category-software","tag-spellchecked"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CrashPlan bhyve VM - Adrian&#039;s Blog<\/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:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CrashPlan bhyve VM - Adrian&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"When I get started on stuff like this, I like to try and get it finished, so unsurprisingly I spent some time yesterday evening looking at how I would recreate my CrashPlan VM, currently running CentOS in VirtualBox, using iohyve and bhyve.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/\" \/>\n<meta property=\"og:site_name\" content=\"Adrian&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-01-23T20:55:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-23T20:57:00+00:00\" \/>\n<meta name=\"author\" content=\"Adrian\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Adrian\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/\"},\"author\":{\"name\":\"Adrian\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"headline\":\"CrashPlan bhyve VM\",\"datePublished\":\"2018-01-23T20:55:53+00:00\",\"dateModified\":\"2018-01-23T20:57:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/\"},\"wordCount\":816,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"keywords\":[\"Checked\"],\"articleSection\":[\"FreeNAS\",\"IT\",\"Server\",\"Software\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/\",\"url\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/\",\"name\":\"CrashPlan bhyve VM - Adrian&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#website\"},\"datePublished\":\"2018-01-23T20:55:53+00:00\",\"dateModified\":\"2018-01-23T20:57:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/crashplan-bhyve-vm\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CrashPlan bhyve VM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#website\",\"url\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/\",\"name\":\"Adrian&#039;s Blog\",\"description\":\"Ramblings of an IT Geek\",\"publisher\":{\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/home.apeconsulting.co.uk\\\/adrian\\\/#\\\/schema\\\/person\\\/f63f15ff50bb8f956afdd86a816c5d2a\",\"name\":\"Adrian\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\",\"caption\":\"Adrian\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CrashPlan bhyve VM - Adrian&#039;s Blog","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:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/","og_locale":"en_GB","og_type":"article","og_title":"CrashPlan bhyve VM - Adrian&#039;s Blog","og_description":"When I get started on stuff like this, I like to try and get it finished, so unsurprisingly I spent some time yesterday evening looking at how I would recreate my CrashPlan VM, currently running CentOS in VirtualBox, using iohyve and bhyve.","og_url":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/","og_site_name":"Adrian&#039;s Blog","article_published_time":"2018-01-23T20:55:53+00:00","article_modified_time":"2018-01-23T20:57:00+00:00","author":"Adrian","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Adrian","Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/#article","isPartOf":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/"},"author":{"name":"Adrian","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"headline":"CrashPlan bhyve VM","datePublished":"2018-01-23T20:55:53+00:00","dateModified":"2018-01-23T20:57:00+00:00","mainEntityOfPage":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/"},"wordCount":816,"commentCount":1,"publisher":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"keywords":["Checked"],"articleSection":["FreeNAS","IT","Server","Software"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/","url":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/","name":"CrashPlan bhyve VM - Adrian&#039;s Blog","isPartOf":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#website"},"datePublished":"2018-01-23T20:55:53+00:00","dateModified":"2018-01-23T20:57:00+00:00","breadcrumb":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/crashplan-bhyve-vm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/home.apeconsulting.co.uk\/adrian\/"},{"@type":"ListItem","position":2,"name":"CrashPlan bhyve VM"}]},{"@type":"WebSite","@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#website","url":"https:\/\/home.apeconsulting.co.uk\/adrian\/","name":"Adrian&#039;s Blog","description":"Ramblings of an IT Geek","publisher":{"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/home.apeconsulting.co.uk\/adrian\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/home.apeconsulting.co.uk\/adrian\/#\/schema\/person\/f63f15ff50bb8f956afdd86a816c5d2a","name":"Adrian","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g","caption":"Adrian"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/c2e5d9012573aedee25fd68deb071781d974af50ae74bf73aeb0e70433f7390c?s=96&d=mm&r=g"}}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p90DI4-5vf","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts\/21157","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/comments?post=21157"}],"version-history":[{"count":6,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts\/21157\/revisions"}],"predecessor-version":[{"id":21163,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/posts\/21157\/revisions\/21163"}],"wp:attachment":[{"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/media?parent=21157"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/categories?post=21157"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/home.apeconsulting.co.uk\/adrian\/wp-json\/wp\/v2\/tags?post=21157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}