{"id":824,"date":"2013-01-19T17:02:55","date_gmt":"2013-01-19T22:02:55","guid":{"rendered":"https:\/\/haughtypenguin.com\/?p=824"},"modified":"2013-03-06T22:26:36","modified_gmt":"2013-03-07T03:26:36","slug":"ufs-and-debian-migrating-from-freenas-to-openmediavault","status":"publish","type":"post","link":"https:\/\/haughtypenguin.com\/?p=824","title":{"rendered":"UFS and Debian: Migrating from FreeNAS to OpenMediaVault"},"content":{"rendered":"<p>I have been trying to migrate away from freeNAS for the past 2 years now since the advent of Open Media Vault. I&#8217;ve come across the issue of accessing data from my UFS filesystem drives ( freeNAS uses has the option to use UFS being based on BSD platform). Suffice it to say it was difficult to access the drive since I did not have any computers loaded with BSD. I had windows\/mac and Linux (ubuntu). Scouring the web, there were many options, but I did not have the free time or spare computers to fully explore how to do this. I remember last year I found some info how to do this but did not have the time to follow through. Today I was determined to do it.<\/p>\n<p>Basically, I needed to access and transfer files from an UFS drive and back it up \u00a0to either an NTFS or EXT-4 drive, then I could re-purpose the old UFS drive.<\/p>\n<p>Simplest way for me was to mount the UFS drive on my Ubuntu computer, and then move the files. Ubuntu does not support UFS out of box, but with the help of this <a title=\"UFS on Ubuntu\" href=\"http:\/\/askubuntu.com\/a\/85160\" target=\"_blank\">post,<\/a> I was able to get things working in a Jiffy.<\/p>\n<blockquote><p>Mounting UFS file systems in Ubuntu should be straight forward. Follow these simple steps to make sure that your are mounting your FreeNAS disks properly in Ubuntu:<\/p>\n<p>Load the UFS module (or make sure its loaded)<\/p>\n<pre><code>sudo modprobe ufs\r\n<\/code><\/pre>\n<p>Make a directory where to mount the files on<\/p>\n<pre><code>mkdir ~\/ufs_mount\r\n<\/code><\/pre>\n<p>To find out which device holds your UFS file system use the command\u00a0<code>fdisk -l<\/code>, note which device you intend to mount.<\/p>\n<p>Mount the file system to the directory your previously created<\/p>\n<pre><code>sudo mount -r -t ufs -o ufstype=ufs2 \/dev\/sdb1 \/home\/&lt;your_username&gt;\/ufs_mount\r\n<\/code><\/pre>\n<p>(where:\u00a0<code>sdb1<\/code>\u00a0is the UFS partition you want to mount and\u00a0<code>&lt;your_username&gt;<\/code>\u00a0is the your current username where the intended mounting point was created previously.<\/p><\/blockquote>\n<p>(Credits to\u00a0Bruno Pereira user on AskUbuntu.com)<\/p>\n<p>The &#8220;fdisk -l&#8221; did not seem to output what I was looking for, but I just used Gparted to figure out the partition name in question.<\/p>\n<p>Just wanted to share this tid bit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been trying to migrate away from freeNAS for the past 2 years now since the advent of Open Media Vault. I&#8217;ve come across the issue of accessing data from my UFS filesystem drives ( freeNAS uses has the option to use UFS being based on BSD platform). Suffice it to say it was &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/haughtypenguin.com\/?p=824\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;UFS and Debian: Migrating from FreeNAS to OpenMediaVault&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":852,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"ngg_post_thumbnail":0,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[166,167],"tags":[171,172,169,175,174,173,168,170],"class_list":["post-824","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-home-servers","category-projects-2","tag-ext4","tag-filesystems","tag-freenas","tag-home-server","tag-media-server","tag-nas","tag-open-media-vault","tag-ufs"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/haughtypenguin.com\/wp-content\/uploads\/2013\/01\/NAS.jpg","_links":{"self":[{"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=\/wp\/v2\/posts\/824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=824"}],"version-history":[{"count":2,"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=\/wp\/v2\/posts\/824\/revisions"}],"predecessor-version":[{"id":853,"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=\/wp\/v2\/posts\/824\/revisions\/853"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=\/wp\/v2\/media\/852"}],"wp:attachment":[{"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haughtypenguin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}