{"id":3885,"date":"2013-10-17T17:12:33","date_gmt":"2013-10-17T14:12:33","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=3885"},"modified":"2025-05-20T12:34:00","modified_gmt":"2025-05-20T09:34:00","slug":"zfs_prefetch_disable-1","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=3885","title":{"rendered":"zfs_prefetch_disable = 1"},"content":{"rendered":"<h1><span style=\"color: #0000ff;\"><strong>Solaris<\/strong><\/span><\/h1>\n<p>\u041d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u0435 \u0432 <strong>\/etc\/system<\/strong> \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438:<\/p>\n<p><code>set zfs:zfs_prefetch_disable = 1<\/code><\/p>\n<p>\u041d\u0430\u043b\u0435\u0442\u0443 \u0442\u0430\u043a:<\/p>\n<p><code># echo zfs_prefetch_disable\/W0t1 | mdb -kw<\/code><\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435:<\/p>\n<p><code># echo \"::zfs_params\" | mdb -k | grep zfs_prefetch_disable<\/code><\/p>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c<\/p>\n<p><code>#\u00a0bootadm update-archive<\/code><\/p>\n<p>\u0438\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u043e\u0439\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430.<\/p>\n<h1><span style=\"color: #0000ff;\"><strong>FreeBSD<\/strong><\/span><\/h1>\n<p>\u041d\u0430\u043b\u0435\u0442\u0443:<\/p>\n<p><code>sysctl vfs.zfs.prefetch.disable=1<\/code><\/p>\n<p>permanent (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 <strong>\/etc\/sysctl.conf<\/strong>):<\/p>\n<p><code>vfs.zfs.prefetch.disable=1<\/code><\/p>\n<h1><span style=\"color: #0000ff;\"><strong>Linux<\/strong><\/span><\/h1>\n<p>\u041d\u0430\u043b\u0435\u0442\u0443<\/p>\n<p><code>echo 1 &gt; \/sys\/module\/zfs\/parameters\/zfs_prefetch_disable<\/code><\/p>\n<p>permanent (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 <strong>\/etc\/modprobe.d\/zfs.conf<\/strong>)<\/p>\n<p><code>options zfs zfs_prefetch_disable=1<\/code><\/p>\n<p>\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c <strong>initrd<\/strong>:<\/p>\n<p><code>update-initramfs -u<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Solaris \u041d\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u0435 \u0432 \/etc\/system \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438: set zfs:zfs_prefetch_disable = 1 \u041d\u0430\u043b\u0435\u0442\u0443 \u0442\u0430\u043a: # echo zfs_prefetch_disable\/W0t1 | mdb -kw \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435: # echo &#8220;::zfs_params&#8221; | mdb -k | grep zfs_prefetch_disable \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c #\u00a0bootadm update-archive \u0438\u043d\u0430\u0447\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0432\u043e\u0439\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430. FreeBSD \u041d\u0430\u043b\u0435\u0442\u0443: sysctl vfs.zfs.prefetch.disable=1 permanent (\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \/etc\/sysctl.conf): vfs.zfs.prefetch.disable=1 Linux \u041d\u0430\u043b\u0435\u0442\u0443 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,24],"tags":[],"class_list":["post-3885","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-linux","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3885"}],"version-history":[{"count":4,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3885\/revisions"}],"predecessor-version":[{"id":6580,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/3885\/revisions\/6580"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3885"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}