{"id":92,"date":"2010-02-14T02:49:17","date_gmt":"2010-02-14T02:49:17","guid":{"rendered":"http:\/\/poojanwagh.opalstacked.com\/techblog\/un\/freebsd-and-zfs-drive-ordering\/"},"modified":"2010-02-14T03:01:38","modified_gmt":"2010-02-14T03:01:38","slug":"freebsd-and-zfs-drive-ordering","status":"publish","type":"post","link":"https:\/\/tech.poojanblog.com\/blog\/unix-linux\/freebsd-and-zfs-drive-ordering\/","title":{"rendered":"FreeBSD and ZFS drive ordering"},"content":{"rendered":"<p>So, as it turns out, ZFS relies on the FreeBSD slice names to determine what goes where. This can be a problem, since the slice drive names can move around&#8211;if, for example, you switch what USB ports your drives plug into. Which is what I just did.<br \/>\nI have no idea what ordering they were before, but I figured out how to find out what they are now. I did a:<br \/>\n<code><br \/>\ndmesg | egrep &#8220;da.:&#8221;<br \/>\n<\/code><br \/>\nWhich resulted in:<\/p>\n<code>da0: &lt;MICRONET FANTOM DRIVE 2.10&gt; Fixed Direct Access SCSI-4 device<br \/>\nda0: 40.000MB\/s transfers<br \/>\nda0: 476940MB (976773168 512 byte sectors: 255H 63S\/T 60801C)<br \/>\nda1: &lt;Maxtor 6 Y250M0 &gt; Fixed Direct Access SCSI-2 device<br \/>\nda1: 40.000MB\/s transfers<br \/>\nda1: 239372MB (490234752 512 byte sectors: 255H 63S\/T 30515C)<br \/>\nda2: &lt;MICRONET FANTOM DRIVE 2.10&gt; Fixed Direct Access SCSI-4 device<br \/>\nda2: 40.000MB\/s transfers<br \/>\nda2: 953869MB (1953525168 512 byte sectors: 255H 63S\/T 121601C)<br \/>\n<\/code>\n<div class='wp_likes' id='wp_likes_post-92'><a class='like' href=\"javascript:wp_likes.like(92);\" title='' ><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/tech.poojanblog.com\/blog\/wp-content\/plugins\/wp-likes\/images\/like.png\" alt='' border='0'\/><\/a><span class='text'>Be the first to like.<\/span><\/p>\n<div class='like' ><a href=\"javascript:wp_likes.like(92);\">Like<\/a><\/div>\n<div class='unlike' ><a href=\"javascript:wp_likes.unlike(92);\">Unlike<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>So, as it turns out, ZFS relies on the FreeBSD slice names to determine what goes where. This can be a problem, since the slice drive names can move around&#8211;if, for example, you switch what USB ports your drives plug into. Which is what I just did. I have no idea what ordering they were [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10],"tags":[33,34,35,32,12,31,3],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-unix-linux","tag-da0","tag-da1","tag-da2","tag-fdisk","tag-freebsd","tag-usb-drive","tag-zfs"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/92","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":9,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"predecessor-version":[{"id":101,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/posts\/92\/revisions\/101"}],"wp:attachment":[{"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.poojanblog.com\/blog\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}