{"id":1264,"date":"2018-01-05T14:17:09","date_gmt":"2018-01-05T12:17:09","guid":{"rendered":"https:\/\/burakcaliskan.org\/blog\/?p=1264"},"modified":"2018-01-05T14:17:09","modified_gmt":"2018-01-05T12:17:09","slug":"zfs-mount-freebsd","status":"publish","type":"post","link":"https:\/\/burakcaliskan.org\/blog\/zfs-mount-freebsd\/","title":{"rendered":"ZFS mount FreeBSD"},"content":{"rendered":"<p>service cron stop<br \/>\nls -l \/dev\/ada*<br \/>\nchmod -R 777 \/ZFS7<br \/>\nzpool destroy ZFS7<br \/>\nzpool create -f ZFS7 \/dev\/ada0<br \/>\nchmod -R 777 \/ZFS7<br \/>\nzpool import ZFS7<br \/>\nchmod -R 777 \/ZFS7<br \/>\nchmod -R 777 \/ZFS7\/<br \/>\nzpool list<br \/>\ndf -h<br \/>\nzfs get status<br \/>\nzfs set compression=on ZFS7<br \/>\nzfs get compression ZFS7<br \/>\ncp \/usr\/share\/zoneinfo\/Europe\/Moscow \/etc\/localtime<br \/>\nreboot<\/p>\n<p>service cron stop<br \/>\nsqlite3 \/usr\/local\/var\/backup\/backup_server.db &#8220;CREATE TRIGGER test5 AFTER INSERT ON logs BEGIN UPDATE logs SET logdata = REPLACE(LOWER(logdata),&#8217;backup&#8217;,&#8217;xbackup&#8217;) where LOWER(logdata) like &#8216;%backup%&#8217;; END;&#8221;<br \/>\nreboot<\/p>\n<p>zpool create -f ZFS7 mirror \/dev\/da1 \/dev\/da2<\/p>\n<p>zpool create -f ZFS7 mirror \/dev\/ada1 \/dev\/ada2<\/p>\n<p>zpool add ZFS7 mirror \/dev\/ada2<\/p>\n<p>zfs unmount ZFS7<br \/>\nzpool destroy -f ZFS7<\/p>\n<p>zpool status<\/p>\n","protected":false},"excerpt":{"rendered":"<p>service cron stop ls -l \/dev\/ada* chmod -R 777 \/ZFS7 zpool destroy ZFS7 zpool create -f ZFS7 \/dev\/ada0 chmod -R 777 \/ZFS7 zpool import ZFS7 chmod -R 777 \/ZFS7 chmod -R 777 \/ZFS7\/ zpool list df -h zfs get status zfs set compression=on ZFS7 zfs get compression ZFS7 cp \/usr\/share\/zoneinfo\/Europe\/Moscow \/etc\/localtime reboot service cron stop [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[170],"tags":[],"_links":{"self":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/1264"}],"collection":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/comments?post=1264"}],"version-history":[{"count":1,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/1264\/revisions"}],"predecessor-version":[{"id":1265,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/posts\/1264\/revisions\/1265"}],"wp:attachment":[{"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/media?parent=1264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/categories?post=1264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/burakcaliskan.org\/blog\/wp-json\/wp\/v2\/tags?post=1264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}