{"id":34664,"date":"2019-10-31T21:59:41","date_gmt":"2019-10-31T18:59:41","guid":{"rendered":"https:\/\/prohoster.info\/blog\/zfsonlinux-0-8-fichi-stabilizatsiya-intrigi-nu-i-trim\/"},"modified":"2019-10-31T21:59:41","modified_gmt":"2019-10-31T18:59:41","slug":"zfsonlinux-0-8-fichi-stabilizatsiya-intrigi-nu-i-trim","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/zfsonlinux-0-8-fichi-stabilizatsiya-intrigi-nu-i-trim","title":{"rendered":"ZFSonLinux 0.8: features, stabilization, intrigues. And trim","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Just days ago, the fresh stable version of ZFSonLinux was released, a project that is now central to the development of OpenZFS. Farewell, OpenSolaris; hello to the fierce GPL-CDDL incompatible world of Linux.<\/p>\n<p><img decoding=\"async\" alt=\"ZFSonLinux 0.8: features, stabilization, intrigues. And trim\" src=\"\/wp-content\/uploads\/2019\/05\/f3b649ec9ba25f020faa38eef874e637.png\" style=\"display:block;margin: 0 auto;\" \/><br \/>\nBelow is an overview of the most interesting things (as expected, <u>2200<\/u> commits!), and for dessert \u2014 a bit of intrigue.<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>New features<\/h3>\n<p>\nOf course, the most anticipated is <b>native encryption<\/b>. Now you can encrypt only the necessary datasets with the built-in ZFS encryption, and (in my opinion, importantly) \u2014 you can send encrypted data via <i>zfs send<\/i> and WITHOUT decrypting check data integrity with built-in tools; all the capabilities for ensuring data integrity in ZFS will be at your disposal!<\/p>\n<p>Next in importance, we should mention the long-awaited <b>TRIM<\/b>Yes, it took a long time to reach production. Partly because the wear issue with SSDs is not as critical for CoW file systems. But now we are all at ease \u2014<i> zpool trim <\/i>will save our delicate flash drives.<\/p>\n<p>Now you can <b>delete<\/b> accidentally added vdev arrays from the pool (but only if they are sparse or mirror). A useful little feature.<\/p>\n<p>Next in our hit parade is <b>pool checkpoints<\/b>. In short \u2014 snapshots for the entire state of the pool, BUT allowing the rollback of changes not only to data but also to features enabled on the pool and changes in structure. Another way to ensure safety.<\/p>\n<p><b>Pool initialization <\/b> \u2014 filling the underlying storage with zeros. Useful for working in environments with thin-provisioned disks to explicitly allocate space and avoid unexpected drops in performance later.<\/p>\n<p><b>Project accounting and quota<\/b> \u2014 in the existing quota mechanism, it is now possible to use division into projects.<\/p>\n<p><b>Channel programs<\/b> \u2014 the ability to perform administrative tasks atomically using Lua scripts. There are limits on execution time and memory. If you are into automation \u2014 this is for you.<\/p>\n<p><b>Direct IO<\/b> \u2014 for simplicity, Direct IO work was integrated; nothing inside changed (just calls go directly around the cache), but now software wanting to operate in this mode will not complain.<\/p>\n<p>Project <b>Pyzfs<\/b> merged into the main repository and taken under the wing of the ZFSonLinux project. Now there are more tools for management from Python (and it will be more stable in terms of module support). Also, many Python scripts have been adapted for Python3.<\/p>\n<h4>And now the delicious part \u2014 performance<\/h4>\n<p>\nNow during scrub and resilver operations, metadata is read first, and only then the data in the most comprehensive form. <b>serial.<\/b> This ensures that array recovery and integrity checks are performed at maximum speed.<\/p>\n<p><b>Allocation classes<\/b> \u2014 vdev arrays now have a type of storage device, allowing the separation of metadata \/ deduplication tables (DDT) \/ data blocks less than X KBytes onto a dedicated vdev array from more performance-oriented disks. <u>More speed to the god of speed!<\/u> (and indeed \u2014 this capability will be very useful in the near future <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/zfsonlinux\/zfs\/pull\/8016\">DRAID<\/a><\/noindex>).<\/p>\n<p>Many administrative commands now work faster due to targeted metadata caching (for example, <i>zfs list, zfs get<\/i>).<\/p>\n<p>The data allocation process <b>is now parallelized<\/b>, and now multiple allocators are created for each free space slab (metaslab). With NVMe, everything won't be maximized, but it will improve.<\/p>\n<p><b>Deferred integrity recovery<\/b> of the array will prevent overloading the array by simultaneously rebuilding multiple disks, doing so sequentially instead. This will reduce both the impact on performance and the rebuild time.<\/p>\n<p>When importing pools <b>with a large number of volumes<\/b> the speed of their registration in the system has increased.<\/p>\n<p>Also <b>QAT<\/b> now allows for the offloading of encryption and checksum computations.<\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/zfsonlinux\/zfs\/releases\/tag\/zfs-0.8.0\">Plus a bunch of minor changes (after all, 2000+ commits in the release!).<\/a><\/noindex><\/p>\n<h3>And for dessert \u2014 intrigue<\/h3>\n<p>\nAlthough ZFSonLinux promptly adds support for the latest Linux kernels (currently supporting versions 2.6.32 \u2014 5.1*), the kernel maintainers show clear disinterest in assisting third-party modules (<noindex><a rel=\"nofollow\" href=\"https:\/\/lkml.org\/lkml\/2019\/5\/22\/233\">...we do not care at all about<br \/>\nexternal kernel modules...<\/a><\/noindex> \u2014 greg k-h). Thus, the calls required for efficient operation in branch 5.0 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/torvalds\/linux\/commit\/12209993e98c5fa1855c467f22a24e3d5b8be205\">were changed to GPL-only. <\/a><\/noindex>. In kernels with this patch, the performance of ZFS will be significantly worse. The fact that this functionality can be implemented on the module side is a saving grace, which will likely be done. For now, you can take a cue from NixOS \u2014 they <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/NixOS\/nixpkgs\/pull\/61076\">simply rolled back the patch in the kernel.<\/a><\/noindex> \ud83d\ude42<\/p>\n<p>The project has also introduced a Code of Conduct, which sparked a wave of debates. But we stood firm \ud83d\ude42<\/p>\n<p>Wishing everyone productive backups and stable releases!<\/p>\n<p>Useful links:<br \/>\n \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/zfsonlinux\/zfs\/releases\/tag\/zfs-0.8.0\">release on Github<\/a><\/noindex><br \/>\n \u2014 <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/314506\/\">my introduction to ZFS<\/a><\/noindex><br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/453400\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043d\u0430 \u0434\u043d\u044f\u0445 \u0440\u0435\u043b\u0438\u0437\u043d\u0443\u043b\u0438 \u0441\u0432\u0435\u0436\u0443\u044e stable \u0432\u0435\u0440\u0441\u0438\u044e ZFSonLinux, \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0435\u043f\u0435\u0440\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0432 \u043c\u0438\u0440\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 OpenZFS. \u041f\u0440\u043e\u0449\u0430\u0439, OpenSolaris, \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0439 \u0441\u0432\u0438\u0440\u0435\u043f\u044b\u0439 GPL-CDDL \u043d\u0435\u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0439 \u043c\u0438\u0440 Linux. \u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043e\u0431\u0437\u043e\u0440 \u0441\u0430\u043c\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439 (\u0435\u0449\u0451 \u0431\u044b, 2200 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432!), \u0430 \u043d\u0430 \u0434\u0435\u0441\u0435\u0440\u0442 \u2014 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0440\u0438\u0433. \u041d\u043e\u0432\u044b\u0435 \u0444\u0438\u0448\u043a\u0438 \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, \u0441\u0430\u043c\u0430\u044f \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0430\u044f \u2014 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0435 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":26117,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-34664","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043d\u0430 \u0434\u043d\u044f\u0445 \u0440\u0435\u043b\u0438\u0437\u043d\u0443\u043b\u0438 \u0441\u0432\u0435\u0436\u0443\u044e stable \u0432\u0435\u0440\u0441\u0438\u044e ZFSonLinux, \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0435\u043f\u0435\u0440\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0432 \u043c\u0438\u0440\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 OpenZFS.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/zfsonlinux-0-8-fichi-stabilizatsiya-intrigi-nu-i-trim\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47ZFSonLinux 0.8: \u0444\u0438\u0447\u0438, \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u0438\u043d\u0442\u0440\u0438\u0433\u0438. \u041d\u0443 \u0438 trim | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043d\u0430 \u0434\u043d\u044f\u0445 \u0440\u0435\u043b\u0438\u0437\u043d\u0443\u043b\u0438 \u0441\u0432\u0435\u0436\u0443\u044e stable \u0432\u0435\u0440\u0441\u0438\u044e ZFSonLinux, \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0435\u043f\u0435\u0440\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0432 \u043c\u0438\u0440\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 OpenZFS.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/zfsonlinux-0-8-fichi-stabilizatsiya-intrigi-nu-i-trim\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:59:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:59:41+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 ZFS on Linux 0.8: features, stabilization, intrigue. And trim | ProHoster","description":"Just the other day, a fresh stable version of ZFS on Linux was released, a project that is now central to the world of OpenZFS development.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/zfsonlinux-0-8-fichi-stabilizatsiya-intrigi-nu-i-trim","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47ZFSonLinux 0.8: \u0444\u0438\u0447\u0438, \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u0438\u043d\u0442\u0440\u0438\u0433\u0438. \u041d\u0443 \u0438 trim | ProHoster","og:description":"\u0411\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043d\u0430 \u0434\u043d\u044f\u0445 \u0440\u0435\u043b\u0438\u0437\u043d\u0443\u043b\u0438 \u0441\u0432\u0435\u0436\u0443\u044e stable \u0432\u0435\u0440\u0441\u0438\u044e ZFSonLinux, \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u0435\u043f\u0435\u0440\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u043c \u0432 \u043c\u0438\u0440\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 OpenZFS.","og:url":"https:\/\/prohoster.info\/en\/blog\/administrirovanie\/zfsonlinux-0-8-fichi-stabilizatsiya-intrigi-nu-i-trim","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:59:41+00:00","article:modified_time":"2019-10-31T18:59:41+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"34664","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 20:09:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:17:23","updated":"2026-01-21 20:09:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/34664","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=34664"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/34664\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media\/26117"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=34664"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=34664"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=34664"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}