{"id":111714,"date":"2023-11-23T15:10:22","date_gmt":"2023-11-23T13:10:22","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/v-openzfs-vyyavlena-oshibka-kotoraya-mozhet-privesti-k-povrezhdeniyu-fajlov"},"modified":"2023-11-23T15:10:22","modified_gmt":"2023-11-23T13:10:22","slug":"v-openzfs-vyyavlena-oshibka-kotoraya-mozhet-privesti-k-povrezhdeniyu-fajlov","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/v-openzfs-vyyavlena-oshibka-kotoraya-mozhet-privesti-k-povrezhdeniyu-fajlov","title":{"rendered":"Az OpenZFS-ben hiba l\u00e9pett fel, amely f\u00e1jlok megs\u00e9r\u00fcl\u00e9s\u00e9hez vezethet.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Megjelent az OpenZFS 2.2.1 b\u00e9taverzi\u00f3ja, amely a ZFS f\u00e1jlrendszer Linux \u00e9s FreeBSD alatti megval\u00f3s\u00edt\u00e1s\u00e1t fejleszti. A kiad\u00e1s figyelemre m\u00e9lt\u00f3 a Linux 6.6 kernel t\u00e1mogat\u00e1s\u00e1nak hozz\u00e1ad\u00e1s\u00e1val \u00e9s egy adatk\u00e1rosod\u00e1st (a blokkok egy r\u00e9sz\u00e9nek null\u00e1z\u00e1s\u00e1t) okoz\u00f3 probl\u00e9ma kik\u00fcsz\u00f6b\u00f6l\u00e9s\u00e9nek megk\u00eds\u00e9rl\u00e9s\u00e9vel a f\u00e1jlok m\u00e1sol\u00e1sa ut\u00e1n.       <\/p>\n<p>Kezdetben \u00fagy v\u00e9lt\u00e9k, hogy a probl\u00e9ma csak a 2.2.x \u00e1gon jelentkezik, \u00e9s a 2.2.0-ban tal\u00e1lhat\u00f3 blokkl\u00e1sol\u00e1si mechanizmus hib\u00e1ja okozza, amely lehet\u0151v\u00e9 teszi a f\u00e1jl vagy annak r\u00e9szeinek m\u00e1sol\u00e1s\u00e1t an\u00e9lk\u00fcl, hogy az adatokat megdupl\u00e1zn\u00e1k, a m\u00e1sodik m\u00e1solatban hivatkoz\u00e1sok haszn\u00e1lat\u00e1val az eredeti f\u00e1jl m\u00e1r megl\u00e9v\u0151 blokkjaira an\u00e9lk\u00fcl, hogy t\u00e9nylegesen m\u00e1sol\u00e1sra ker\u00fcln\u00e9nek. Az OpenZFS 2.2.1 verzi\u00f3ban a probl\u00e9ma megakad\u00e1lyoz\u00e1sa \u00e9rdek\u00e9ben a blokkl\u00e1sol\u00e1si mechanizmust alap\u00e9rtelmezetten letiltott\u00e1k, \u00e9s egy zfs_bclone_enabled be\u00e1ll\u00edt\u00e1s ker\u00fclt hozz\u00e1ad\u00e1sra a t\u00e1mogat\u00e1s vissza\u00e1ll\u00edt\u00e1s\u00e1hoz.     <\/p>\n<p>K\u00e9s\u0151bb a fejleszt\u0151k bejelentett\u00e9k, hogy a probl\u00e9ma reproduk\u00e1lhat\u00f3 az OpenZFS 2.1.x \u00e1g konfigur\u00e1ci\u00f3iban is. Meger\u0151s\u00edt\u00e9st nyert az is, hogy a probl\u00e9ma nem csak r\u00e9gebbi coreutils csomagverzi\u00f3kkal rendelkez\u0151 rendszereken jelentkezik - a hib\u00e1t a FreeBSD-n \u00e9s a legfrissebb coreutils 9.4 verzi\u00f3t futtat\u00f3 Linux-disztrib\u00faci\u00f3kban siker\u00fclt reproduk\u00e1lni.     <\/p>\n<p>A f\u00e1jlok s\u00e9r\u00fcl\u00e9se viszonylag ritka k\u00f6r\u00fclm\u00e9nyek k\u00f6z\u00f6tt jelentkezik, p\u00e9ld\u00e1ul Gentoo alatt az \u201eemerge -1 dev-lang\/go\u201d parancs v\u00e9grehajt\u00e1sa sor\u00e1n a Go programoz\u00e1si nyelv eszk\u00f6zt\u00e1r\u00e1nak telep\u00edt\u00e9se f\u00e1jlok s\u00e9r\u00fcl\u00e9s\u00e9hez vezet a \/usr\/lib\/go\/pkg\/tool\/linux_amd64\/compile mapp\u00e1ban. Felt\u00e9telezhet\u0151, hogy a hiba az openzfs 2.1.4 verzi\u00f3ban a \u201ezfs_dmu_offset_next_sync=1\u201d param\u00e9ter alap\u00e9rtelmezett\u00e9 t\u00e9tele ut\u00e1n jelentkezett. A hiba forr\u00e1s\u00e1t eddig nem siker\u00fclt azonos\u00edtani. Javasolt megold\u00e1sk\u00e9nt a hiba blokkol\u00e1s\u00e1hoz a \u201e\/sys\/module\/zfs\/parameters\/zfs_dmu_offset_next_sync\u201d param\u00e9tert 0-ra kell \u00e1ll\u00edtani.<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=60167\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 OpenZFS 2.2.1, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b ZFS \u0434\u043b\u044f Linux \u0438 FreeBSD. \u0412\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u0435\u043d \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u044f\u0434\u0440\u0430 Linux 6.6 \u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u043e\u0439 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043f\u0440\u0438\u0432\u043e\u0434\u044f\u0449\u0435\u0439 \u043a \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u044b\u0445 (\u043e\u0431\u043d\u0443\u043b\u0435\u043d\u0438\u044e \u0447\u0430\u0441\u0442\u0438 \u0431\u043b\u043e\u043a\u043e\u0432) \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u043f\u043e\u0441\u043b\u0435 \u0438\u0445 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0432\u0435\u0442\u043a\u0435 2.2.x \u0438 \u0432\u044b\u0437\u0432\u0430\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0432\u043e \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u043e\u043c \u0432 OpenZFS 2.2.0 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-111714","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 OpenZFS 2.2.1, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b ZFS \u0434\u043b\u044f Linux \u0438 FreeBSD.\" \/>\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\/hu\/blog\/news\/v-openzfs-vyyavlena-oshibka-kotoraya-mozhet-privesti-k-povrezhdeniyu-fajlov\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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\udd47\u0412 OpenZFS \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 OpenZFS 2.2.1, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b ZFS \u0434\u043b\u044f Linux \u0438 FreeBSD.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/v-openzfs-vyyavlena-oshibka-kotoraya-mozhet-privesti-k-povrezhdeniyu-fajlov\" \/>\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=\"2023-11-23T13:10:22+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-11-23T13:10:22+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\udd47Az OpenZFS-ben egy hiba tal\u00e1lhat\u00f3, amely f\u00e1jlok k\u00e1rosod\u00e1s\u00e1hoz vezethet | ProHoster","description":"Megjelent az OpenZFS 2.2.1 b\u00e9taverzi\u00f3ja, amely a ZFS f\u00e1jlrendszer Linux \u00e9s FreeBSD alatti megval\u00f3s\u00edt\u00e1s\u00e1t fejleszti.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/v-openzfs-vyyavlena-oshibka-kotoraya-mozhet-privesti-k-povrezhdeniyu-fajlov","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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\udd47\u0412 OpenZFS \u0432\u044b\u044f\u0432\u043b\u0435\u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432 | ProHoster","og:description":"\u0414\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0430 OpenZFS 2.2.1, \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b ZFS \u0434\u043b\u044f Linux \u0438 FreeBSD.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/v-openzfs-vyyavlena-oshibka-kotoraya-mozhet-privesti-k-povrezhdeniyu-fajlov","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":"2023-11-23T13:10:22+00:00","article:modified_time":"2023-11-23T13:10:22+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/111714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=111714"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/111714\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=111714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=111714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=111714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}