{"id":485041,"date":"2026-06-25T15:29:29","date_gmt":"2026-06-25T15:29:29","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=485041"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=485041","title":{"rendered":"Bcachefs \u043f\u043e\u0441\u043b\u0435 \u0441\u043d\u044f\u0442\u0438\u044f experimental: \u0433\u043e\u043d\u044f\u0435\u043c \u0442\u0435\u0441\u0442\u044b \u043d\u0430\u00a0Ubuntu 26.04"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0412\u044b\u043d\u043e\u0441 \u0441\u043e \u0441\u043a\u0430\u043d\u0434\u0430\u043b\u043e\u043c Bcachefs \u0438\u0437\u00a0mainline\u2011\u044f\u0434\u0440\u0430 Linux \u0432\u00a0\u043a\u043e\u043d\u0446\u0435 2025\u00a0\u0433\u043e\u0434\u0430 (\u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441\u00a0\u0440\u0435\u043b\u0438\u0437\u0430 6.18) \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0435\u00a0\u043f\u043e\u0445\u043e\u0440\u043e\u043d\u0438\u043b. \u041d\u0430\u043f\u0440\u043e\u0442\u0438\u0432, \u044d\u0442\u043e \u044f\u0432\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0435\u0433\u043d\u0443\u043b\u043e \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u043a\u00a0\u0436\u0435\u0441\u0442\u043a\u043e\u0439 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u0435. \u0421\u043f\u0443\u0441\u0442\u044f 7\u00a0\u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0448\u0435\u043b \u043d\u0430\u00a0DKMS\u2011\u043c\u043e\u0434\u0435\u043b\u044c \u0438 <a href=\"https:\/\/pikabu.ru\/story\/bcachefs_posle_snyatiya_experimental_gonyaem_testyi_na_ubuntu_2604_14089872?u=https%3A%2F%2Fwww.opennet.ru%2Fopennews%2Fart.shtml%3Fnum%3D65729&amp;t=%D0%BE%D1%84%D0%B8%D1%86%D0%B8%D0%B0%D0%BB%D1%8C%D0%BD%D0%BE%20%D1%81%D0%BD%D1%8F%D0%BB%20%D1%81%D1%82%D0%B0%D1%82%D1%83%D1%81%20experimental&amp;h=3ba02a488f0826dcd5f6bd5f9667eb1e8eaa2690\" rel=\"noopener noreferrer nofollow\">\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441\u043d\u044f\u043b \u0441\u0442\u0430\u0442\u0443\u0441 experimental<\/a>.<\/p>\n<p>\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u043b \u0442\u0435\u0441\u0442\u043e\u0432\u0443\u044e \u0412\u041c \u0432\u00a0Proxmox, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u00a0\u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 UX: \u043a\u0430\u043a\u00a0\u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f, \u043a\u0430\u043a\u00a0\u0432\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u043f\u0440\u0438\u00a0\u043e\u0442\u043a\u0430\u0437\u0435 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438 \u0441\u0442\u043e\u0438\u0442\u00a0\u043b\u0438 \u0442\u0430\u0449\u0438\u0442\u044c \u0432\u00a0homelab \u0438\u043b\u0438\u00a0\u043f\u0440\u043e\u0434.<\/p>\n<blockquote>\n<p><em>\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440. \u042d\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0441\u0442\u044b, \u0430\u00a0\u043d\u0435\u00a0\u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a (\u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0435 \u043f\u043e\u0432\u0435\u0440\u0445 ZFS \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u00a0\u2014 \u0442\u0430\u043a\u043e\u0435 \u0441\u0435\u0431\u0435). \u0426\u0435\u043b\u044c\u00a0\u2014 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u00a0\u0430\u0432\u0430\u0440\u0438\u0438.<\/em><\/p>\n<\/blockquote>\n<h3>1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 DKMS\u2011\u043d\u044e\u0430\u043d\u0441\u044b<\/h3>\n<p>\u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0441\u044f \u043d\u0430\u00a0Ubuntu 26.04\u00a0\u0441\u00a0\u044f\u0434\u0440\u043e\u043c <code>7.0.0-22-generic<\/code>. \u0428\u0442\u0430\u0442\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u0432\u00a0\u044f\u0434\u0440\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 \u043d\u0435\u0442, \u0442\u0430\u043a \u0447\u0442\u043e\u00a0\u0438\u0434\u0435\u043c \u0432\u00a0\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0437\u0430\u00a0DKMS:<\/p>\n<pre><code class=\"bash\"># \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 apt.bcachefs.org (unstable \/ bcachefs-tools-release) \u0438 \u0437\u0430\u0442\u0435\u043c \u0441\u0442\u0430\u0432\u0438\u043c \u0432\u0441\u044e \u043e\u0431\u0432\u044f\u0437\u043a\u0443sudo apt install bcachefs-tools bcachefs-kernel-dkms fio btrfs-progs<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:87px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u00a0\u0438\u0442\u043e\u0433\u0443 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c (<code>bcachefs.ko.zst<\/code> \u0432\u0435\u0440\u0441\u0438\u0438 1.38.6), \u0438 dmesg \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e \u0441\u044b\u043f\u043b\u044e\u0449\u0438\u0439 \u0432\u043e\u0440\u043d\u0438\u043d\u0433\u0430\u043c\u0438 \u043f\u0440\u043e <em>tainting kernel<\/em> \u0438 <em>verification failed<\/em>. \u041d\u0443 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0434\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u0432\u0438\u0434\u0443\u00a0\u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u0436\u0438\u0432\u0435\u0442\u0435 \u043d\u0430\u00a0\u0432\u043d\u0435\u0448\u043d\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0435, \u0438 \u043f\u0440\u0438\u00a0\u043a\u0430\u0436\u0434\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u044f\u0434\u0440\u0430 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430\u00a0DKMS.<\/p>\n<pre><code class=\"bash\">bcachefs: loading out-of-tree module taints kernelbcachefs: module verification failed: signature and\/or required key missing - tainting kernelbcachefs: filldir64 fastpath disabled: struct layout unverified for this kernel<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<h3>2. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 single\u2011disk \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439<\/h3>\n<p>\u041f\u0435\u0440\u0432\u044b\u0439 \u0442\u0435\u0441\u0442\u00a0\u0431\u044b\u043b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0442\u0443\u043f\u043e\u0439 \u0438 \u043f\u0440\u044f\u043c\u043e\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439:<\/p>\n<ol>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0424\u0421 \u043d\u0430\u00a0\u043e\u0434\u043d\u043e\u043c \u0434\u0438\u0441\u043a\u0435.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0430\u0439\u043b 1\u00a0GiB \u0438 5000\u00a0\u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c usage\/scrub.<\/p>\n<\/li>\n<li>\n<p>\u0420\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c offline check.<\/p>\n<\/li>\n<\/ol>\n<p><strong>\u0414\u043b\u044f\u00a0Bcachefs:<\/strong><\/p>\n<pre><code class=\"bash\">sudo bcachefs format -f -L bcf_single \/dev\/sdbsudo mount -t bcachefs -o noatime \/dev\/sdb \/mnt\/bcfsudo bcachefs fs usage -h -a \/mnt\/bcfsudo bcachefs scrub \/mnt\/bcfsudo bcachefs fsck -n -f \/dev\/sdb<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>\u0414\u043b\u044f\u00a0Btrfs:<\/strong><\/p>\n<pre><code class=\"bash\">sudo mkfs.btrfs -f -L btr_single \/dev\/sdcsudo mount -t btrfs -o noatime \/dev\/sdc \/mnt\/btrsudo btrfs filesystem usage -T \/mnt\/btrsudo btrfs scrub start -B \/mnt\/btrsudo btrfs check --readonly \/dev\/sdc<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/efd\/1a6\/76d\/efd1a676dc04ceb63ec9050480b99992.jpeg\" alt=\"\" title=\"\" width=\"513\" height=\"198\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/efd\/1a6\/76d\/efd1a676dc04ceb63ec9050480b99992.jpeg 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/efd\/1a6\/76d\/efd1a676dc04ceb63ec9050480b99992.jpeg 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0430\u00a0\u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0432\u0441\u0451 \u0441\u043a\u0443\u0447\u043d\u043e, \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0442\u0443\u0442\u00a0\u2014 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u0430\u043d\u0434 \u0434\u043b\u044f\u00a0\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0424\u0421, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u0430\u043a\u00a0\u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0430. <\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0435\u0449\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u044b Bcachefs. \u041e\u043d\u0438 \u043d\u0435\u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b, \u043d\u043e\u00a0\u0432\u00a0\u0446\u0435\u043b\u043e\u043c \u043d\u0430\u00a0\u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0447\u043d\u044b: \u0432\u043c\u0435\u0441\u0442\u043e <code>mkfs.bcachefs<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f <code>bcachefs format<\/code>, \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 <code>bcachefs fs usage<\/code>, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 <code>bcachefs fsck<\/code>.<\/p>\n<h3>3. \u0421\u0436\u0430\u0442\u0438\u0435<\/h3>\n<p>\u0414\u043b\u044f\u00a0\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0436\u0430\u0442\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043d\u0430\u0431\u043e\u0440:<\/p>\n<ol>\n<li>\n<p><code>zero-512m.bin<\/code>, 512\u00a0MiB \u043d\u0443\u043b\u0435\u0439.<\/p>\n<\/li>\n<li>\n<p><code>random-256m.bin<\/code>, 256\u00a0MiB \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<\/li>\n<\/ol>\n<p><strong>Bcachefs \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u0441\u0440\u0430\u0437\u0443 \u0441 <\/strong><code><strong>zstd<\/strong><\/code><strong>:<\/strong><\/p>\n<pre><code class=\"bash\">sudo bcachefs format -f -L bcf_zstd --compression=zstd \/dev\/sdb<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>Btrfs \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0441 <\/strong><code><strong>compress=zstd<\/strong><\/code><strong>:<\/strong><\/p>\n<pre><code class=\"bash\">sudo mount -t btrfs -o noatime,compress=zstd \/dev\/sdc \/mnt\/btr<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0423\u00a0Bcachefs \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0435\u043a\u0446\u0438\u044f \u0432 <code>fs usage<\/code>:<\/p>\n<pre><code class=\"bash\">Compression:type            compressed  uncompressedzstd                 8.00M          512Mincompressible        256M          256M<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0418\u0442\u043e\u0433\u043e\u0432\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u0430:<\/p>\n<pre><code>Bcachefs - \u043e\u043a\u043e\u043b\u043e 283 MiBBtrfs - \u043e\u043a\u043e\u043b\u043e 274 MiB<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041e\u0431\u0435 \u0424\u0421 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u043e\u0442\u043b\u0438\u0447\u043d\u043e (\u043d\u0443\u043b\u0438 \u0441\u0436\u0430\u043b\u0438, \u0440\u0430\u043d\u0434\u043e\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0438). \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432\u00a0\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u0442\u0443\u0442 \u043d\u0435\u00a0\u0438\u043c\u0435\u0435\u0442 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430.<\/p>\n<p>\u0418\u0437\u00a0\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e\u00a0\u2014 \u0443\u00a0Bcachefs \u0443\u0442\u0438\u043b\u0438\u0442\u0430 <code>fs usage<\/code> \u0432\u044b\u0434\u0430\u0435\u0442 \u0448\u0438\u043a\u0430\u0440\u043d\u0443\u044e \u0438 \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e\u00a0\u0441\u0436\u0430\u0442\u044b\u043c\/\u043d\u0435\u0441\u0436\u0438\u043c\u0430\u0435\u043c\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u044f\u043c\u043e \u0432\u00a0\u043a\u043e\u043d\u0441\u043e\u043b\u044c.<\/p>\n<h3>4. \u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b<\/h3>\n<p>\u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u00a0\u0431\u044b\u0442\u043e\u0432\u044b\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u043c:<\/p>\n<ol>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c subvolume.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c <code>state.txt<\/code> \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <code>original<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c read\u2011only snapshot.<\/p>\n<\/li>\n<li>\n<p>\u0412\u00a0\u0436\u0438\u0432\u043e\u043c subvolume \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0430 <code>changed<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u0437\u00a0snapshot.<\/p>\n<\/li>\n<\/ol>\n<p><strong>Bcachefs:<\/strong><\/p>\n<pre><code class=\"bash\">bcachefs subvolume create \/mnt\/bcf\/subvbcachefs subvolume snapshot -r \/mnt\/bcf\/subv \/mnt\/bcf\/snap1<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><strong>Btrfs:<\/strong><\/p>\n<pre><code class=\"bash\">btrfs subvolume create \/mnt\/btr\/subvbtrfs subvolume snapshot -r \/mnt\/btr\/subv \/mnt\/btr\/snap1<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0443\u00a0\u043e\u0431\u0435\u0438\u0445 \u0424\u0421 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439:<\/p>\n<pre><code class=\"bash\">live=changedsnapshot=original<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c \u043d\u043e\u043b\u044c \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432. \u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0440\u043e\u0432\u043d\u043e \u0442\u0430\u043a, \u043a\u0430\u043a\u00a0\u043e\u0442\u00a0CoW\u2011\u0424\u0421 \u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u0448\u044c.<\/p>\n<h3>5. \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c fio \u0438 \u043c\u0435\u043b\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043a\u00a0\u0446\u0438\u0444\u0440\u0430\u043c. \u0415\u0449\u0451 \u0440\u0430\u0437: \u044d\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0441\u0442\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0442\u0435\u043d\u0434\u0430.<\/p>\n<p>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b fio:<\/p>\n<pre><code class=\"bash\">single disk\u0431\u0435\u0437 \u0441\u0436\u0430\u0442\u0438\u044fsequential read\/write: bs=1M, size=2Grandom write: bs=4k, numjobs=4, iodepth=16, runtime=30<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0435\u0440\u0432\u044b\u0435 \u0442\u0440\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0438\u0436\u0435\u00a0\u2014 \u044d\u0442\u043e fio. \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 10\u00a0000\u00a0\u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0437\u0430\u043c\u0435\u0440\u044f\u043b\u0438\u0441\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u043c shell\u2011\u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u043c: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0435\u0440\u0435\u0432\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 rm \u2011rf \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430.<\/p>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:<\/p>\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/647\/4b4\/c50\/6474b4c50fa9f1d6d2c2312ad67de0d5.png\" alt=\"\" title=\"\" width=\"643\" height=\"288\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/647\/4b4\/c50\/6474b4c50fa9f1d6d2c2312ad67de0d5.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/647\/4b4\/c50\/6474b4c50fa9f1d6d2c2312ad67de0d5.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>\u041d\u0430\u00a0\u044d\u0442\u043e\u043c \u0441\u0442\u0435\u043d\u0434\u0435 Bcachefs \u0437\u0430\u043c\u0435\u0442\u043d\u043e\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, random write 4K \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432. Btrfs, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442,\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0447\u0442\u0435\u043d\u0438\u0438 \u0438 \u0447\u0443\u0442\u044c\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0434\u0435\u0440\u0435\u0432\u043e \u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<p>\u0421\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u0432\u0441\u0451 \u044d\u0442\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u00a0\u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043d\u0430\u0441 \u043a\u00a0\u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e\u00a0Bcachefs\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 Btrfs. \u0412\u0441\u0451 \u0442\u0430\u043a\u0438 \u043f\u043e\u0434\u043b\u043e\u0436\u043a\u0430 \u0432\u00a0\u0432\u0438\u0434\u0435 Proxmox\/ZFS \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430\u00a0\u0442\u0430\u043a\u0438\u0435 \u0446\u0438\u0444\u0440\u044b. \u041d\u043e\u00a0\u043a\u0430\u043a\u00a0\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u00a0\u2014 \u043a\u0430\u043a\u00a0\u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e.<\/p>\n<p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043d\u044e\u0430\u043d\u0441: \u0432\u043e\u00a0\u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u00a0Bcachefs \u0432 <code>dmesg<\/code> \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u0442\u0440\u043e\u043a\u0430:<\/p>\n<pre><code class=\"bash\">bcachefs (sdb): bch2_journal_flush_seq stuck? Waited 10s for seq 32<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0424\u0421 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0438 \u043f\u0440\u043e\u0448\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u041d\u043e\u00a0\u0434\u043b\u044f\u00a0\u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0415\u0433\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u00a0\u043f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u0430\u0445.<\/p>\n<h3>6. Multi\u2011device<\/h3>\n<p>\u041e\u0434\u043d\u0430 \u0438\u0437\u00a0\u043f\u0440\u0438\u0447\u0438\u043d \u0432\u043e\u043e\u0431\u0449\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u00a0Bcachefs\u00a0\u2014 \u043e\u0431\u0435\u0449\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0443\u0440\u043e\u0432\u043d\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 CoW\u2011\u0424\u0421 \u0441\u00a0\u0431\u043e\u043b\u0435\u0435 \u0433\u0438\u0431\u043a\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.<\/p>\n<p>Bcachefs \u0441\u00a0\u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043f\u0438\u044f\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0442\u0430\u043a:<\/p>\n<pre><code class=\"bash\">bcachefs format -f -L bcf_raid1 --replicas=2 \/dev\/sdb \/dev\/sdc<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 512\u00a0MiB \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 <code>bcachefs fs usage<\/code> \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0443\u044e \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e:<\/p>\n<figure class=\"\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f89\/020\/774\/f89020774242eeec67ba2c9d687440e0.png\" alt=\"\" title=\"\" width=\"431\" height=\"99\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/f89\/020\/774\/f89020774242eeec67ba2c9d687440e0.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/f89\/020\/774\/f89020774242eeec67ba2c9d687440e0.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/figure>\n<p>Btrfs RAID1\u00a0\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e:<\/p>\n<pre><code class=\"bash\">mkfs.btrfs -f -d raid1 -m raid1 -L btr_raid1 \/dev\/sdb \/dev\/sdc<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0423\u00a0\u043d\u0435\u0433\u043e \u0432\u0441\u0451 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 <code>Data ratio: 2.00<\/code> \u0438 <code>Metadata ratio: 2.00<\/code>.<\/p>\n<p>\u041d\u044e\u0430\u043d\u0441 \u0432\u00a0\u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438: \u0443\u00a0Bcachefs \u043c\u043e\u0434\u0435\u043b\u044c <code>--replicas=2<\/code> \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0449\u0435. \u041c\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u00a0\u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043f\u0438\u0439, \u0430\u00a0\u043d\u0435\u00a0\u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 RAID\u2011\u043f\u0440\u043e\u0444\u0438\u043b\u0438 \u0434\u043b\u044f\u00a0data \u0438 metadata. \u0414\u043b\u044f\u00a0\u0430\u0434\u043c\u0438\u043d\u0430 \u044d\u0442\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u044c.<\/p>\n<h3>7. \u041f\u043e\u0442\u0435\u0440\u044f \u0434\u0438\u0441\u043a\u0430 \u043d\u0430\u00a0\u0436\u0438\u0432\u0443\u044e<\/h3>\n<p>\u041d\u0443 \u0438 \u0441\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u0432\u0430\u0436\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0434\u043b\u044f\u00a0\u043b\u044e\u0431\u043e\u0439 multi\u2011device \u0424\u0421 \u043d\u0438\u0444\u0438\u0433\u0430 \u043d\u0435\u00a0\u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 <code>fio<\/code>, \u0430\u00a0\u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u00a0\u043e\u0442\u043a\u0430\u0437\u0435.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437 \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u041e\u0421 \u0447\u0435\u0440\u0435\u0437 <code>\/sys\/block\/*\/device\/delete<\/code> \u0438 <code>device\/state=offline<\/code>. \u0412\u00a0\u044d\u0442\u043e\u0439 \u0412\u041c \u043c\u0435\u0442\u043e\u0434 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0435\u043d\u0430\u0434\u0451\u0436\u043d\u044b\u043c: \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u00a0\u043b\u0438\u0431\u043e \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0432\u0438\u0434\u0438\u043c\u044b\u043c,\u00a0\u043b\u0438\u0431\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u00a0\u0431\u044b\u0441\u0442\u0440\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u043e\u0441\u044c \u0432 <code>running<\/code>.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u0434\u0435\u043b\u0430\u043b \u0447\u0435\u0440\u0435\u0437 QMP hot\u2011unplug \u043d\u0430\u00a0\u0443\u0440\u043e\u0432\u043d\u0435 Proxmox\/QEMU. \u041f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0412\u041c \u043d\u0435\u00a0\u043c\u0435\u043d\u044f\u043b, \u0443\u0434\u0430\u043b\u044f\u043b \u0442\u043e\u043b\u044c\u043a\u043e live\u2011\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.<\/p>\n<p><strong>Bcachefs<\/strong><\/p>\n<p>\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439:<\/p>\n<ol>\n<li>\n<p>Bcachefs \u043d\u0430 <code>\/dev\/sdb<\/code> \u0438 <code>\/dev\/sdc<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 <code>--replicas=2<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043f\u0438\u0441\u044c 256\u00a0MiB payload.<\/p>\n<\/li>\n<li>\n<p>QMP <code>device_del scsi2<\/code>, \u0442\u043e \u0435\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430.<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u043e\u0441\u043b\u0435 hot\u2011unplug <code>\/dev\/sdc<\/code> \u0438\u0441\u0447\u0435\u0437 \u0438\u0437 <code>lsblk<\/code>. \u0427\u0442\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\">\/mnt\/bcf\/payload.bin: OK-rw-rw-r-- 1 user user 20 ... \/mnt\/bcf\/after-qmp-hotunplug.txt<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 Bcachefs \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430, \u0447\u0442\u043e\u00a0\u0447\u0430\u0441\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0436\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u043f\u043b\u0438\u043a:<\/p>\n<pre><code class=\"bash\">undegraded    -1x2x:        548M  3.50MPending reconcile:replicas:              0     1.75Mhigh_priority:         0     1.75M<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 <code>dmesg<\/code> \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u043e\u00a0\u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443:<\/p>\n<pre><code class=\"bash\">bcachefs: error writing btree node ... sdc io: BLK_STS_OFFLINEbcachefs (sdc): offline from block layerbcachefs: error writing btree node ... sdc io: BLK_STS_REMOVED<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u044b\u0432\u043e\u0434: \u0424\u0421 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0440\u0430\u0431\u043e\u0447\u0435\u0439, \u0434\u0430\u043d\u043d\u044b\u0435 \u0447\u0438\u0442\u0430\u043b\u0438\u0441\u044c, \u043d\u043e\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0448\u043b\u0430. \u041f\u0440\u0438\u00a0\u044d\u0442\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u044f\u0432\u043d\u043e \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e reconcile\/\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0438 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043e\u0442\u00a0\u0442\u0435\u0441\u0442\u0430.<\/p>\n<p><strong>Btrfs<\/strong><\/p>\n<p>\u0414\u043b\u044f\u00a0Btrfs \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0434\u0435\u043b\u0430\u043b \u043d\u0430\u00a0\u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0430\u0440\u0435 \u0434\u0438\u0441\u043a\u043e\u0432:<\/p>\n<ol>\n<li>\n<p>Btrfs RAID1\u00a0\u043d\u0430 <code>\/dev\/sdd<\/code> \u0438 <code>\/dev\/sde<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0422\u0430\u043a\u00a0\u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u044c 256\u00a0MiB payload.<\/p>\n<\/li>\n<li>\n<p>QMP <code>device_del scsi4<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430.<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f <code>\/dev\/sde<\/code> \u0424\u0421 \u0442\u043e\u0436\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c:<\/p>\n<pre><code class=\"bash\">\/mnt\/btr\/payload.bin: OK-rw-rw-r-- 1 user user 20 ... \/mnt\/btr\/after-qmp-hotunplug.txt<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p><code>btrfs filesystem usage -T<\/code> \u043f\u043e\u043a\u0430\u0437\u0430\u043b missing device:<\/p>\n<pre><code class=\"bash\">WARNING: failed to get device size for \/dev\/sde: No such file or directoryDevice missing: 20.00GiB<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412 <code>dmesg<\/code> \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430\u00a0\u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e:<\/p>\n<pre><code class=\"bash\">BTRFS error (device sdd): bdev \/dev\/sde errs: wr 1, rd 0, flush 0, corrupt 0, gen 0BTRFS warning (device sdd): lost super block write due to IO error on \/dev\/sde (-5)BTRFS error (device sdd): error writing primary super block to device 2<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><img style=\"width:14px;height:14px;object-fit:cover;object-position:left;\"\/><\/a><\/div><\/pre>\n<p>\u0412\u00a0\u044d\u0442\u043e\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u043e\u0431\u0435 \u0424\u0421 \u043f\u043e\u0432\u0435\u043b\u0438 \u0441\u0435\u0431\u044f \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e: RAID1-\u043f\u043e\u0434\u043e\u0431\u043d\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430 \u043f\u043e\u0442\u0435\u0440\u044e \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u043d\u0430\u00a0\u0436\u0438\u0432\u0443\u044e, \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c\u0438, \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0430\u0441\u044c.<\/p>\n<h3>8. \u0427\u0442\u043e\u00a0\u0442\u0430\u043c \u043f\u043e\u00a0UX<\/h3>\n<p>\u041f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0432\u00a0Bcachefs:<\/p>\n<ol>\n<li>\n<p><code>bcachefs fs usage -h -a<\/code> \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u0435\u043d.<\/p>\n<\/li>\n<li>\n<p>\u0425\u043e\u0440\u043e\u0448\u043e \u0432\u0438\u0434\u043d\u043e <code>data\/metadata, compression, btree<\/code> \u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041c\u043e\u0434\u0435\u043b\u044c <code>--replicas=2<\/code> \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438 <code>-d raid1 -m raid1<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u0438 subvolume\u2011\u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043b\u043e\u0433\u0438\u0447\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0442\u0435\u0440\u044e \u043e\u0434\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u0438\u00a0\u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0424\u0421 \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430.<\/p>\n<\/li>\n<\/ol>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ol>\n<li>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0432\u00a0\u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u044f\u0434\u0440\u0430\u00a0\u2014 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u00a0DKMS\u2011\u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0432\u044b\u0442\u0435\u043a\u0430\u044e\u0449\u0438\u043c\u0438 (\u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0430\u0434\u043e\u00a0\u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0431\u0435\u0441\u0438\u0442\u044c \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u044f\u0434\u0440\u0430 \u0441\u0432\u043e\u0438\u043c \u0441\u0442\u0438\u043b\u0435\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0447\u0442\u043e\u0431 \u0442\u0435\u0431\u044f \u0441\u043e \u0441\u043a\u0430\u043d\u0434\u0430\u043b\u043e\u043c \u0432\u044b\u043f*\u0437\u0434\u0438\u043b\u0438 \u0438\u0437\u00a0mainline)<\/p>\n<\/li>\n<li>\n<p>\u0412 <code>dmesg<\/code>\u00a0\u0431\u044b\u043b warning \u043f\u0440\u043e <code>bch2_journal_flush_seq stuck<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430 \u0438\u043b\u0438\u00a0\u0437\u0430\u043c\u0435\u043d\u044b \u0434\u0438\u0441\u043a\u0430 \u043f\u043e\u0441\u043b\u0435 hot\u2011unplug \u043d\u0430\u0434\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<\/ol>\n<p>\u0423\u00a0Btrfs \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u043b\u044e\u0441 \u0441\u043a\u0443\u0447\u043d\u044b\u0439, \u043d\u043e\u00a0\u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0432\u0435\u0441\u043e\u043c\u044b\u0439: \u043e\u043d \u0434\u0430\u0432\u043d\u043e \u0435\u0441\u0442\u044c \u0432\u00a0\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445, \u0445\u043e\u0440\u043e\u0448\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d, \u043f\u0440\u0438\u0432\u044b\u0447\u0435\u043d \u0438 \u0432\u00a0\u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u0435\u043d.<\/p>\n<h3>\u0418\u0442\u043e\u0433\u0438<\/h3>\n<ol>\n<li>\n<p>Bcachefs \u043f\u043e\u0441\u043b\u0435 \u0441\u043d\u044f\u0442\u0438\u044f experimental \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u00a0homelab.<\/p>\n<\/li>\n<li>\n<p>\u0412\u00a0\u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445 \u0424\u0421 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435, \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, scrub\/fsck, \u0441\u0436\u0430\u0442\u0438\u0435, \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u044b, multi\u2011device.<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u00a0\u044d\u0442\u043e\u043c \u0441\u0442\u0435\u043d\u0434\u0435 Bcachefs \u0445\u043e\u0440\u043e\u0448\u043e \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043d\u0430\u00a0\u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u0445, \u043d\u043e\u00a0\u044d\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0441\u0442\u044b.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0442\u0435\u0440\u044e \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u043f\u0440\u0438 <code>--replicas=2<\/code> Bcachefs \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430: \u0434\u0430\u043d\u043d\u044b\u0435 \u0447\u0438\u0442\u0430\u043b\u0438\u0441\u044c, \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u043b\u0430\u0441\u044c, \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044e.<\/p>\n<\/li>\n<\/ol>\n<p>\u0415\u0441\u043b\u0438 \u0440\u0435\u0437\u044e\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u043e\u043a\u0430 \u043d\u0435\u00a0\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043a\u00a0\u0441\u0430\u043c\u043e\u0439 \u0424\u0421, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u00a0\u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u043e\u0431\u0432\u044f\u0437\u043a\u0435: DKMS, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u044f\u0434\u0440\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0430\u0437\u043e\u0432.<\/p>\n<p>\u0418\u041c\u0425\u041e, \u0434\u043b\u044f\u00a0\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u0438, \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e NAS, \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0441\u0442\u0435\u043d\u0434\u0430 \u0438 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u044f \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u043e\u0433\u043e \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u0430\u00a0\u2014 \u0434\u0430, Bcachefs \u0443\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0433\u043e\u043d\u044f\u0442\u044c. \u0414\u043b\u044f\u00a0\u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430 \u0438\u043b\u0438\u00a0\u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u0432\u0430\u0436\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\u00a0\u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0438 \u0441\u00a0\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0431\u044d\u043a\u0430\u043f\u0430\u043c\u0438.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1051972\/\">https:\/\/habr.com\/ru\/articles\/1051972\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u044b\u043d\u043e\u0441 \u0441\u043e \u0441\u043a\u0430\u043d\u0434\u0430\u043b\u043e\u043c Bcachefs \u0438\u0437\u00a0mainline\u2011\u044f\u0434\u0440\u0430 Linux \u0432\u00a0\u043a\u043e\u043d\u0446\u0435 2025\u00a0\u0433\u043e\u0434\u0430 (\u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441\u00a0\u0440\u0435\u043b\u0438\u0437\u0430 6.18) \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0435\u00a0\u043f\u043e\u0445\u043e\u0440\u043e\u043d\u0438\u043b. \u041d\u0430\u043f\u0440\u043e\u0442\u0438\u0432, \u044d\u0442\u043e \u044f\u0432\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0435\u0433\u043d\u0443\u043b\u043e \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u043a\u00a0\u0436\u0435\u0441\u0442\u043a\u043e\u0439 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u0435. \u0421\u043f\u0443\u0441\u0442\u044f 7\u00a0\u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0448\u0435\u043b \u043d\u0430\u00a0DKMS\u2011\u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441\u043d\u044f\u043b \u0441\u0442\u0430\u0442\u0443\u0441 experimental.\u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u043b \u0442\u0435\u0441\u0442\u043e\u0432\u0443\u044e \u0412\u041c \u0432\u00a0Proxmox, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u00a0\u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 UX: \u043a\u0430\u043a\u00a0\u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f, \u043a\u0430\u043a\u00a0\u0432\u0435\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u043f\u0440\u0438\u00a0\u043e\u0442\u043a\u0430\u0437\u0435 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438 \u0441\u0442\u043e\u0438\u0442\u00a0\u043b\u0438 \u0442\u0430\u0449\u0438\u0442\u044c \u0432\u00a0homelab \u0438\u043b\u0438\u00a0\u043f\u0440\u043e\u0434.\u0414\u0438\u0441\u043a\u043b\u0435\u0439\u043c\u0435\u0440. \u042d\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0441\u0442\u044b, \u0430\u00a0\u043d\u0435\u00a0\u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a (\u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0435 \u043f\u043e\u0432\u0435\u0440\u0445 ZFS \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u00a0\u2014 \u0442\u0430\u043a\u043e\u0435 \u0441\u0435\u0431\u0435). \u0426\u0435\u043b\u044c\u00a0\u2014 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443 \u0438 \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u00a0\u0430\u0432\u0430\u0440\u0438\u0438.1. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0438 DKMS\u2011\u043d\u044e\u0430\u043d\u0441\u044b\u0422\u0435\u0441\u0442 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u043b\u0441\u044f \u043d\u0430\u00a0Ubuntu 26.04\u00a0\u0441\u00a0\u044f\u0434\u0440\u043e\u043c 7.0.0-22-generic. \u0428\u0442\u0430\u0442\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u0432\u00a0\u044f\u0434\u0440\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430 \u043d\u0435\u0442, \u0442\u0430\u043a \u0447\u0442\u043e\u00a0\u0438\u0434\u0435\u043c \u0432\u00a0\u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0437\u0430\u00a0DKMS:# \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 apt.bcachefs.org (unstable \/ bcachefs-tools-release) \u0438 \u0437\u0430\u0442\u0435\u043c \u0441\u0442\u0430\u0432\u0438\u043c \u0432\u0441\u044e \u043e\u0431\u0432\u044f\u0437\u043a\u0443sudo apt install bcachefs-tools bcachefs-kernel-dkms fio btrfs-progs\u041f\u043e\u00a0\u0438\u0442\u043e\u0433\u0443 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c (bcachefs.ko.zst \u0432\u0435\u0440\u0441\u0438\u0438 1.38.6), \u0438 dmesg \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e \u0441\u044b\u043f\u043b\u044e\u0449\u0438\u0439 \u0432\u043e\u0440\u043d\u0438\u043d\u0433\u0430\u043c\u0438 \u043f\u0440\u043e tainting kernel \u0438 verification failed. \u041d\u0443 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0434\u043e \u0438\u043c\u0435\u0442\u044c \u0432\u0432\u0438\u0434\u0443\u00a0\u2014 \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u0436\u0438\u0432\u0435\u0442\u0435 \u043d\u0430\u00a0\u0432\u043d\u0435\u0448\u043d\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0435, \u0438 \u043f\u0440\u0438\u00a0\u043a\u0430\u0436\u0434\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u044f\u0434\u0440\u0430 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0441\u0442\u0430\u043b\u044c\u043d\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0437\u0430\u00a0DKMS.bcachefs: loading out-of-tree module taints kernelbcachefs: module verification failed: signature and\/or required key missing &#8212; tainting kernelbcachefs: filldir64 fastpath disabled: struct layout unverified for this kernel2. \u0411\u0430\u0437\u043e\u0432\u044b\u0439 single\u2011disk \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439\u041f\u0435\u0440\u0432\u044b\u0439 \u0442\u0435\u0441\u0442\u00a0\u0431\u044b\u043b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0442\u0443\u043f\u043e\u0439 \u0438 \u043f\u0440\u044f\u043c\u043e\u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439:\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0424\u0421 \u043d\u0430\u00a0\u043e\u0434\u043d\u043e\u043c \u0434\u0438\u0441\u043a\u0435.\u0421\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0444\u0430\u0439\u043b 1\u00a0GiB \u0438 5000\u00a0\u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.\u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c usage\/scrub.\u0420\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c offline check.\u0414\u043b\u044f\u00a0Bcachefs:sudo bcachefs format -f -L bcf_single \/dev\/sdbsudo mount -t bcachefs -o noatime \/dev\/sdb \/mnt\/bcfsudo bcachefs fs usage -h -a \/mnt\/bcfsudo bcachefs scrub \/mnt\/bcfsudo bcachefs fsck -n -f \/dev\/sdb\u0414\u043b\u044f\u00a0Btrfs:sudo mkfs.btrfs -f -L btr_single \/dev\/sdcsudo mount -t btrfs -o noatime \/dev\/sdc \/mnt\/btrsudo btrfs filesystem usage -T \/mnt\/btrsudo btrfs scrub start -B \/mnt\/btrsudo btrfs check &#8212;readonly \/dev\/sdc\u041d\u0430\u00a0\u044d\u0442\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0432\u0441\u0451 \u0441\u043a\u0443\u0447\u043d\u043e, \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u0442\u0443\u0442\u00a0\u2014 \u043d\u0430\u0431\u043e\u0440 \u043a\u043e\u043c\u0430\u043d\u0434 \u0434\u043b\u044f\u00a0\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0424\u0421, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u0430\u043a\u00a0\u0448\u043f\u0430\u0440\u0433\u0430\u043b\u043a\u0430. \u041c\u043e\u0436\u043d\u043e \u0435\u0449\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u043e\u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u044b Bcachefs. \u041e\u043d\u0438 \u043d\u0435\u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b, \u043d\u043e\u00a0\u0432\u00a0\u0446\u0435\u043b\u043e\u043c \u043d\u0430\u00a0\u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0447\u043d\u044b: \u0432\u043c\u0435\u0441\u0442\u043e mkfs.bcachefs \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f bcachefs format, \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u0438\u0434\u0451\u0442 \u0447\u0435\u0440\u0435\u0437 bcachefs fs usage, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0435\u0440\u0435\u0437 bcachefs fsck.3. \u0421\u0436\u0430\u0442\u0438\u0435\u0414\u043b\u044f\u00a0\u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0441\u0436\u0430\u0442\u0438\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043d\u0430\u0431\u043e\u0440:zero-512m.bin, 512\u00a0MiB \u043d\u0443\u043b\u0435\u0439.random-256m.bin, 256\u00a0MiB \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.Bcachefs \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u0441\u0440\u0430\u0437\u0443 \u0441 zstd:sudo bcachefs format -f -L bcf_zstd &#8212;compression=zstd \/dev\/sdbBtrfs \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0441 compress=zstd:sudo mount -t btrfs -o noatime,compress=zstd \/dev\/sdc \/mnt\/btr\u0423\u00a0Bcachefs \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0430\u0441\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0435\u043a\u0446\u0438\u044f \u0432 fs usage:Compression:type            compressed  uncompressedzstd                 8.00M          512Mincompressible        256M          256M\u0418\u0442\u043e\u0433\u043e\u0432\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u0430:Bcachefs &#8212; \u043e\u043a\u043e\u043b\u043e 283 MiBBtrfs &#8212; \u043e\u043a\u043e\u043b\u043e 274 MiB\u041e\u0431\u0435 \u0424\u0421 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u043e\u0442\u043b\u0438\u0447\u043d\u043e (\u043d\u0443\u043b\u0438 \u0441\u0436\u0430\u043b\u0438, \u0440\u0430\u043d\u0434\u043e\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b\u0438). \u0420\u0430\u0437\u043d\u0438\u0446\u0430 \u0432\u00a0\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u0442\u0443\u0442 \u043d\u0435\u00a0\u0438\u043c\u0435\u0435\u0442 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0441\u043c\u044b\u0441\u043b\u0430.\u0418\u0437\u00a0\u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e\u00a0\u2014 \u0443\u00a0Bcachefs \u0443\u0442\u0438\u043b\u0438\u0442\u0430 fs usage \u0432\u044b\u0434\u0430\u0435\u0442 \u0448\u0438\u043a\u0430\u0440\u043d\u0443\u044e \u0438 \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0443 \u043f\u043e\u00a0\u0441\u0436\u0430\u0442\u044b\u043c\/\u043d\u0435\u0441\u0436\u0438\u043c\u0430\u0435\u043c\u044b\u043c \u0434\u0430\u043d\u043d\u044b\u043c \u043f\u0440\u044f\u043c\u043e \u0432\u00a0\u043a\u043e\u043d\u0441\u043e\u043b\u044c.4. \u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b\u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u043f\u0440\u043e\u0441\u0442\u044b\u043c\u00a0\u0431\u044b\u0442\u043e\u0432\u044b\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u043c:\u0421\u043e\u0437\u0434\u0430\u0442\u044c subvolume.\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c state.txt \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c original.\u0421\u043e\u0437\u0434\u0430\u0442\u044c read\u2011only snapshot.\u0412\u00a0\u0436\u0438\u0432\u043e\u043c subvolume \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0444\u0430\u0439\u043b \u043d\u0430 changed.\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u0438\u0437\u00a0snapshot.Bcachefs:bcachefs subvolume create \/mnt\/bcf\/subvbcachefs subvolume snapshot -r \/mnt\/bcf\/subv \/mnt\/bcf\/snap1Btrfs:btrfs subvolume create \/mnt\/btr\/subvbtrfs subvolume snapshot -r \/mnt\/btr\/subv \/mnt\/btr\/snap1\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0443\u00a0\u043e\u0431\u0435\u0438\u0445 \u0424\u0421 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439:live=changedsnapshot=original\u0417\u0434\u0435\u0441\u044c \u043d\u043e\u043b\u044c \u0441\u044e\u0440\u043f\u0440\u0438\u0437\u043e\u0432. \u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0440\u043e\u0432\u043d\u043e \u0442\u0430\u043a, \u043a\u0430\u043a\u00a0\u043e\u0442\u00a0CoW\u2011\u0424\u0421 \u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u0448\u044c.5. \u041f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c fio \u0438 \u043c\u0435\u043b\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b\u0422\u0435\u043f\u0435\u0440\u044c \u043a\u00a0\u0446\u0438\u0444\u0440\u0430\u043c. \u0415\u0449\u0451 \u0440\u0430\u0437: \u044d\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0441\u0442\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0442\u0435\u043d\u0434\u0430.\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b fio:single disk\u0431\u0435\u0437 \u0441\u0436\u0430\u0442\u0438\u044fsequential read\/write: bs=1M, size=2Grandom write: bs=4k, numjobs=4, iodepth=16, runtime=30\u041f\u0435\u0440\u0432\u044b\u0435 \u0442\u0440\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0438\u0436\u0435\u00a0\u2014 \u044d\u0442\u043e fio. \u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 10\u00a0000\u00a0\u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0437\u0430\u043c\u0435\u0440\u044f\u043b\u0438\u0441\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u043c shell\u2011\u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u043c: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0434\u0435\u0440\u0435\u0432\u0430 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 rm \u2011rf \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u0440\u0435\u0432\u0430.\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:\u041d\u0430\u00a0\u044d\u0442\u043e\u043c \u0441\u0442\u0435\u043d\u0434\u0435 Bcachefs \u0437\u0430\u043c\u0435\u0442\u043d\u043e\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438, random write 4K \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432. Btrfs, \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442,\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043d\u0430\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0447\u0442\u0435\u043d\u0438\u0438 \u0438 \u0447\u0443\u0442\u044c\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0443\u0434\u0430\u043b\u044f\u0435\u0442 \u0434\u0435\u0440\u0435\u0432\u043e \u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u043e\u0432.\u0421\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u0432\u0441\u0451 \u044d\u0442\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u00a0\u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043d\u0430\u0441 \u043a\u00a0\u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e\u00a0Bcachefs\u00a0\u0431\u044b\u0441\u0442\u0440\u0435\u0435 Btrfs. \u0412\u0441\u0451 \u0442\u0430\u043a\u0438 \u043f\u043e\u0434\u043b\u043e\u0436\u043a\u0430 \u0432\u00a0\u0432\u0438\u0434\u0435 Proxmox\/ZFS \u043c\u043e\u0436\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430\u00a0\u0442\u0430\u043a\u0438\u0435 \u0446\u0438\u0444\u0440\u044b. \u041d\u043e\u00a0\u043a\u0430\u043a\u00a0\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u00a0\u2014 \u043a\u0430\u043a\u00a0\u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e.\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043d\u044e\u0430\u043d\u0441: \u0432\u043e\u00a0\u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u00a0Bcachefs \u0432 dmesg \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0441\u0442\u0440\u043e\u043a\u0430:bcachefs (sdb): bch2_journal_flush_seq stuck? Waited 10s for seq 32\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0424\u0421 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0430\u0441\u044c \u0438 \u043f\u0440\u043e\u0448\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438. \u041d\u043e\u00a0\u0434\u043b\u044f\u00a0\u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043d\u0435\u043b\u044c\u0437\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0415\u0433\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u00a0\u043f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u0430\u0445.6. Multi\u2011device\u041e\u0434\u043d\u0430 \u0438\u0437\u00a0\u043f\u0440\u0438\u0447\u0438\u043d \u0432\u043e\u043e\u0431\u0449\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430\u00a0Bcachefs\u00a0\u2014 \u043e\u0431\u0435\u0449\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0443\u0440\u043e\u0432\u043d\u044f \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 CoW\u2011\u0424\u0421 \u0441\u00a0\u0431\u043e\u043b\u0435\u0435 \u0433\u0438\u0431\u043a\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.Bcachefs \u0441\u00a0\u0434\u0432\u0443\u043c\u044f \u043a\u043e\u043f\u0438\u044f\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0442\u0430\u043a:bcachefs format -f -L bcf_raid1 &#8212;replicas=2 \/dev\/sdb \/dev\/sdc\u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 512\u00a0MiB \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 bcachefs fs usage \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0443\u044e \u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u044e:Btrfs RAID1\u00a0\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e:mkfs.btrfs -f -d raid1 -m raid1 -L btr_raid1 \/dev\/sdb \/dev\/sdc\u0423\u00a0\u043d\u0435\u0433\u043e \u0432\u0441\u0451 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 Data ratio: 2.00 \u0438 Metadata ratio: 2.00.\u041d\u044e\u0430\u043d\u0441 \u0432\u00a0\u0442\u0435\u0440\u043c\u0438\u043d\u043e\u043b\u043e\u0433\u0438\u0438: \u0443\u00a0Bcachefs \u043c\u043e\u0434\u0435\u043b\u044c &#8212;replicas=2 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0449\u0435. \u041c\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u00a0\u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u043f\u0438\u0439, \u0430\u00a0\u043d\u0435\u00a0\u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 RAID\u2011\u043f\u0440\u043e\u0444\u0438\u043b\u0438 \u0434\u043b\u044f\u00a0data \u0438 metadata. \u0414\u043b\u044f\u00a0\u0430\u0434\u043c\u0438\u043d\u0430 \u044d\u0442\u043e \u0432\u043f\u043e\u043b\u043d\u0435 \u043f\u0440\u0438\u044f\u0442\u043d\u0430\u044f \u0434\u0435\u0442\u0430\u043b\u044c.7. \u041f\u043e\u0442\u0435\u0440\u044f \u0434\u0438\u0441\u043a\u0430 \u043d\u0430\u00a0\u0436\u0438\u0432\u0443\u044e\u041d\u0443 \u0438 \u0441\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u0432\u0430\u0436\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0434\u043b\u044f\u00a0\u043b\u044e\u0431\u043e\u0439 multi\u2011device \u0424\u0421 \u043d\u0438\u0444\u0438\u0433\u0430 \u043d\u0435\u00a0\u043a\u0440\u0430\u0441\u0438\u0432\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 fio, \u0430\u00a0\u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u0438\u00a0\u043e\u0442\u043a\u0430\u0437\u0435.\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u043a\u0430\u0437 \u0438\u0437\u043d\u0443\u0442\u0440\u0438 \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 \u041e\u0421 \u0447\u0435\u0440\u0435\u0437 \/sys\/block\/*\/device\/delete \u0438 device\/state=offline. \u0412\u00a0\u044d\u0442\u043e\u0439 \u0412\u041c \u043c\u0435\u0442\u043e\u0434 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0435\u043d\u0430\u0434\u0451\u0436\u043d\u044b\u043c: \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u00a0\u043b\u0438\u0431\u043e \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0432\u0438\u0434\u0438\u043c\u044b\u043c,\u00a0\u043b\u0438\u0431\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435\u00a0\u0431\u044b\u0441\u0442\u0440\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u043b\u043e\u0441\u044c \u0432 running.\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u0434\u0435\u043b\u0430\u043b \u0447\u0435\u0440\u0435\u0437 QMP hot\u2011unplug \u043d\u0430\u00a0\u0443\u0440\u043e\u0432\u043d\u0435 Proxmox\/QEMU. \u041f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0412\u041c \u043d\u0435\u00a0\u043c\u0435\u043d\u044f\u043b, \u0443\u0434\u0430\u043b\u044f\u043b \u0442\u043e\u043b\u044c\u043a\u043e live\u2011\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e.Bcachefs\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439:Bcachefs \u043d\u0430 \/dev\/sdb \u0438 \/dev\/sdc.\u0424\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0441 &#8212;replicas=2.\u0417\u0430\u043f\u0438\u0441\u044c 256\u00a0MiB payload.QMP device_del scsi2, \u0442\u043e \u0435\u0441\u0442\u044c \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430.\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0441\u0442\u0430\u0440\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430.\u041f\u043e\u0441\u043b\u0435 hot\u2011unplug \/dev\/sdc \u0438\u0441\u0447\u0435\u0437 \u0438\u0437 lsblk. \u0427\u0442\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c:\/mnt\/bcf\/payload.bin: OK-rw-rw-r&#8212; 1 user user 20 &#8230; \/mnt\/bcf\/after-qmp-hotunplug.txt\u0414\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 Bcachefs \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430, \u0447\u0442\u043e\u00a0\u0447\u0430\u0441\u0442\u044c \u043c\u0435\u0442\u0430\u0434\u0430\u043d\u043d\u044b\u0445 \u0443\u0436\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u043f\u043b\u0438\u043a:undegraded    -1x2x:        548M  3.50MPending reconcile:replicas:              0     1.75Mhigh_priority:         0     1.75M\u0412 dmesg \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u043e\u00a0\u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443:bcachefs: error writing btree node &#8230; sdc io: BLK_STS_OFFLINEbcachefs (sdc): offline from block layerbcachefs: error writing btree node &#8230; sdc io: BLK_STS_REMOVED\u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u0432\u044b\u0432\u043e\u0434: \u0424\u0421 \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u0440\u0430\u0431\u043e\u0447\u0435\u0439, \u0434\u0430\u043d\u043d\u044b\u0435 \u0447\u0438\u0442\u0430\u043b\u0438\u0441\u044c, \u043d\u043e\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0448\u043b\u0430. \u041f\u0440\u0438\u00a0\u044d\u0442\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u044f\u0432\u043d\u043e \u0434\u0435\u0433\u0440\u0430\u0434\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e reconcile\/\u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0438 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043e\u0442\u00a0\u0442\u0435\u0441\u0442\u0430.Btrfs\u0414\u043b\u044f\u00a0Btrfs \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0434\u0435\u043b\u0430\u043b \u043d\u0430\u00a0\u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0430\u0440\u0435 \u0434\u0438\u0441\u043a\u043e\u0432:Btrfs RAID1\u00a0\u043d\u0430 \/dev\/sdd \u0438 \/dev\/sde.\u0422\u0430\u043a\u00a0\u0436\u0435 \u0437\u0430\u043f\u0438\u0441\u044c 256\u00a0MiB payload.QMP device_del scsi4.\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0447\u0442\u0435\u043d\u0438\u044f \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u043d\u043e\u0432\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430.\u041f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \/dev\/sde \u0424\u0421 \u0442\u043e\u0436\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c:\/mnt\/btr\/payload.bin: OK-rw-rw-r&#8212; 1 user user 20 &#8230; \/mnt\/btr\/after-qmp-hotunplug.txtbtrfs filesystem usage -T \u043f\u043e\u043a\u0430\u0437\u0430\u043b missing device:WARNING: failed to get device size for \/dev\/sde: No such file or directoryDevice missing: 20.00GiB\u0412 dmesg \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043e\u0448\u0438\u0431\u043a\u0438 \u0437\u0430\u043f\u0438\u0441\u0438 \u043d\u0430\u00a0\u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e:BTRFS error (device sdd): bdev \/dev\/sde errs: wr 1, rd 0, flush 0, corrupt 0, gen 0BTRFS warning (device sdd): lost super block write due to IO error on \/dev\/sde (-5)BTRFS error (device sdd): error writing primary super block to device 2\u0412\u00a0\u044d\u0442\u043e\u043c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u043e\u0431\u0435 \u0424\u0421 \u043f\u043e\u0432\u0435\u043b\u0438 \u0441\u0435\u0431\u044f \u0430\u0434\u0435\u043a\u0432\u0430\u0442\u043d\u043e: RAID1-\u043f\u043e\u0434\u043e\u0431\u043d\u0430\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430 \u043f\u043e\u0442\u0435\u0440\u044e \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u043d\u0430\u00a0\u0436\u0438\u0432\u0443\u044e, \u0434\u0430\u043d\u043d\u044b\u0435 \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c\u0438, \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u043b\u0430\u0441\u044c.8. \u0427\u0442\u043e\u00a0\u0442\u0430\u043c \u043f\u043e\u00a0UX\u041f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c \u0432\u00a0Bcachefs:bcachefs fs usage -h -a \u043e\u0447\u0435\u043d\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0432\u0435\u043d.\u0425\u043e\u0440\u043e\u0448\u043e \u0432\u0438\u0434\u043d\u043e data\/metadata, compression, btree \u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.\u041c\u043e\u0434\u0435\u043b\u044c &#8212;replicas=2 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0449\u0435, \u0447\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438 -d raid1 -m raid1.\u0421\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u0438 subvolume\u2011\u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u044f\u0442 \u043b\u043e\u0433\u0438\u0447\u043d\u043e.\u041f\u043e\u0442\u0435\u0440\u044e \u043e\u0434\u043d\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u0438\u00a0\u0440\u0435\u043f\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0424\u0421 \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430.\u041c\u0438\u043d\u0443\u0441\u044b:\u0412\u043c\u0435\u0441\u0442\u043e \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0432\u00a0\u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u044f\u0434\u0440\u0430\u00a0\u2014 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a\u00a0DKMS\u2011\u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0432\u044b\u0442\u0435\u043a\u0430\u044e\u0449\u0438\u043c\u0438 (\u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0430\u0434\u043e\u00a0\u0431\u044b\u043b\u043e \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0442\u044c\u0441\u044f \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0431\u0435\u0441\u0438\u0442\u044c \u043c\u0435\u0439\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432 \u044f\u0434\u0440\u0430 \u0441\u0432\u043e\u0438\u043c \u0441\u0442\u0438\u043b\u0435\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0447\u0442\u043e\u0431 \u0442\u0435\u0431\u044f \u0441\u043e \u0441\u043a\u0430\u043d\u0434\u0430\u043b\u043e\u043c \u0432\u044b\u043f*\u0437\u0434\u0438\u043b\u0438 \u0438\u0437\u00a0mainline)\u0412 dmesg\u00a0\u0431\u044b\u043b warning \u043f\u0440\u043e bch2_journal_flush_seq stuck.\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0430 \u0438\u043b\u0438\u00a0\u0437\u0430\u043c\u0435\u043d\u044b \u0434\u0438\u0441\u043a\u0430 \u043f\u043e\u0441\u043b\u0435 hot\u2011unplug \u043d\u0430\u0434\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.\u0423\u00a0Btrfs \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u043f\u043b\u044e\u0441 \u0441\u043a\u0443\u0447\u043d\u044b\u0439, \u043d\u043e\u00a0\u043e\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u0432\u0435\u0441\u043e\u043c\u044b\u0439: \u043e\u043d \u0434\u0430\u0432\u043d\u043e \u0435\u0441\u0442\u044c \u0432\u00a0\u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430\u0445, \u0445\u043e\u0440\u043e\u0448\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d, \u043f\u0440\u0438\u0432\u044b\u0447\u0435\u043d \u0438 \u0432\u00a0\u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u0435\u043d.\u0418\u0442\u043e\u0433\u0438Bcachefs \u043f\u043e\u0441\u043b\u0435 \u0441\u043d\u044f\u0442\u0438\u044f experimental \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u00a0homelab.\u0412\u00a0\u0431\u0430\u0437\u043e\u0432\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445 \u0424\u0421 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e: \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435, \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, scrub\/fsck, \u0441\u0436\u0430\u0442\u0438\u0435, \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u044b, multi\u2011device.\u041d\u0430\u00a0\u044d\u0442\u043e\u043c \u0441\u0442\u0435\u043d\u0434\u0435 Bcachefs \u0445\u043e\u0440\u043e\u0448\u043e \u0432\u044b\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043d\u0430\u00a0\u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u043c\u0435\u043b\u043a\u0438\u0445 \u0444\u0430\u0439\u043b\u0430\u0445, \u043d\u043e\u00a0\u044d\u0442\u043e \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u0441\u0442\u044b.\u041f\u043e\u0442\u0435\u0440\u044e \u043e\u0434\u043d\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 \u043f\u0440\u0438 &#8212;replicas=2 Bcachefs \u043f\u0435\u0440\u0435\u0436\u0438\u043b\u0430: \u0434\u0430\u043d\u043d\u044b\u0435 \u0447\u0438\u0442\u0430\u043b\u0438\u0441\u044c, \u0437\u0430\u043f\u0438\u0441\u044c \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u043b\u0430\u0441\u044c, \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0430 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430 \u0434\u0435\u0433\u0440\u0430\u0434\u0430\u0446\u0438\u044e.\u0415\u0441\u043b\u0438 \u0440\u0435\u0437\u044e\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c, \u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043f\u043e\u043a\u0430 \u043d\u0435\u00a0\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u043a\u00a0\u0441\u0430\u043c\u043e\u0439 \u0424\u0421, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u00a0\u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u043e\u0431\u0432\u044f\u0437\u043a\u0435: DKMS, \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u044f\u0434\u0440\u0430, \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043c\u043e\u0434\u0443\u043b\u044f \u0438 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435 \u043e\u0442\u043a\u0430\u0437\u043e\u0432.\u0418\u041c\u0425\u041e, \u0434\u043b\u044f\u00a0\u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u0438\u0438, \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e NAS, \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0441\u0442\u0435\u043d\u0434\u0430 \u0438 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u044f \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u043d\u043e\u0433\u043e \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u0441\u0442\u0432\u0430\u00a0\u2014 \u0434\u0430, Bcachefs \u0443\u0436\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0433\u043e\u043d\u044f\u0442\u044c. \u0414\u043b\u044f\u00a0\u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0430 \u0438\u043b\u0438\u00a0\u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u0432\u0430\u0436\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445\u00a0\u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0438 \u0441\u00a0\u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0431\u044d\u043a\u0430\u043f\u0430\u043c\u0438.\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 https:\/\/habr.com\/ru\/articles\/1051972\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-485041","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/485041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=485041"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/485041\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=485041"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=485041"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=485041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}