{"id":329297,"date":"2022-02-09T03:00:23","date_gmt":"2022-02-09T03:00:23","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=329297"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=329297","title":{"rendered":"<span>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 ubuntu 20.04 \u0441 \u043a\u043e\u0440\u043d\u0435\u043c \u043d\u0430 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c ZFS \u0437\u0435\u0440\u043a\u0430\u043b\u0435 \u0438 UEFI \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439<\/span>"},"content":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041d\u0430 \u043c\u043e\u0435\u0439 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0432\u043e\u0442 \u0443\u0436\u0435 7 \u043b\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0430\u0440\u0430 \u0434\u0438\u0441\u043a\u043e\u0432, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u0430\u044f \u0432 soft raid1. \u0418 \u0432\u043e\u0442 \u043d\u0430 \u0434\u043d\u044f\u0445 \u043e\u0434\u0438\u043d \u0434\u0438\u0441\u043a \u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u0435 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043d\u0430\u0447\u0430\u043b \u0441\u044b\u043f\u0430\u0442\u044c\u0441\u044f. \u041f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0432\u043e\u0434 \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 \u043d\u0443\u043b\u044f \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 7 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u043d\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u043e. \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0433\u0443\u0433\u043b\u0435\u043d\u0438\u044f \u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0434\u0435\u043b \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 LUKS \u043f\u043e\u0432\u0435\u0440\u0445 mdadm \u044f \u0432\u044b\u0448\u0435\u043b \u043d\u0430 <a href=\"https:\/\/arstechnica.com\/gadgets\/2020\/05\/zfs-versus-raid-eight-ironwolf-disks-two-filesystems-one-winner\/\" rel=\"nofollow noopener noreferrer\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a> \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c zfs vs mdadm\/ext4. \u0410 \u043f\u043e\u0442\u043e\u043c \u043d\u0430\u0448\u0435\u043b \u0434\u0440\u0443\u0433\u0443\u044e <a href=\"https:\/\/www.medo64.com\/2020\/11\/testing-native-zfs-encryption-speed-20-10\/\" rel=\"nofollow noopener noreferrer\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a> \u0441 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 LUKS \u0438 zfs. \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043e\u0431\u0435\u0438\u043c \u0441\u0442\u0430\u0442\u044c\u044f\u043c zfs \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u043f\u043b\u043e\u0445\u0443\u044e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0432 \u0434\u0435\u043b\u0435.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<p>\u041d\u0430 \u0445\u0430\u0431\u0440\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 \u043d\u0430 \u0442\u0443 \u0436\u0435 \u0442\u0435\u043c\u0443:<br \/>  2019 <a href=\"https:\/\/habr.com\/ru\/post\/439860\/\">Ubuntu 18.04 Root on ZFS<\/a><br \/>  2018 <a href=\"https:\/\/habr.com\/ru\/post\/351932\/\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Debian \u0441 \u043a\u043e\u0440\u043d\u0435\u043c \u043d\u0430 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c ZFS \u0437\u0435\u0440\u043a\u0430\u043b\u0435<\/a><br \/>  2018 <a href=\"https:\/\/habr.com\/ru\/post\/358914\/\">\/boot \u043d\u0430 ZFS \u0437\u0435\u0440\u043a\u0430\u043b\u0435<\/a><\/p>\n<p>  <\/p>\n<p>\u042f \u0440\u0435\u0448\u0438\u043b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u0442\u0430\u0442\u044c\u044e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 UEFI (\u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0445 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430\u0441\u044c legacy \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430), \u043d\u0443 \u0438 \u043f\u043b\u044e\u0441 \u0441 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043f\u0440\u043e\u0448\u043b\u043e 3 \u0433\u043e\u0434\u0430 \u0438 \u043c\u043d\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u0430\u044f \u0432 \u0434\u0435\u043b\u0435 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0434\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430.<\/p>\n<p>  <\/p>\n<p>\u041f\u0440\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u044f \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0430 \u0432\u043e\u0442 \u044d\u0442\u0438 \u0441\u0442\u0430\u0442\u044c\u0438:<br \/>  <a href=\"https:\/\/openzfs.github.io\/openzfs-docs\/Getting%20Started\/Ubuntu\/Ubuntu%2020.04%20Root%20on%20ZFS.html\" rel=\"nofollow noopener noreferrer\">Ubuntu 20.04 Root on ZFS<\/a><br \/>  <a href=\"https:\/\/www.medo64.com\/2020\/05\/installing-encrypted-uefi-zfs-root-on-ubuntu-20-04\/\" rel=\"nofollow noopener noreferrer\">Installing UEFI ZFS Root on Ubuntu 20.04 with Native Encryption<\/a><\/p>\n<p>  <\/p>\n<p>\u042f \u0431\u0443\u0434\u0443 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043d\u0430 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 virtualbox. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043d\u0430 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0436\u0435\u043b\u0435\u0437\u043e \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>  <\/p>\n<p>\u0418\u0442\u0430\u043a, \u044f \u0441\u043e\u0437\u0434\u0430\u043b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443 \u0441 \u043f\u0430\u0440\u043e\u0439 \u0434\u0438\u0441\u043a\u043e\u0432 \u043f\u043e 20\u0433\u0431 \u0438 8\u0433\u0431 \u043f\u0430\u043c\u044f\u0442\u0438. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0441 ubuntu-20.04.1-desktop-amd64.iso, \u043a\u043b\u0438\u043a\u043d\u0443\u043b \u043d\u0430 try ubuntu \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b. \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u044f \u0441\u0440\u0430\u0437\u0443 \u043f\u0435\u0440\u0435\u0448\u0435\u043b \u043f\u043e\u0434 \u0440\u0443\u0442\u0430, \u0442\u0430\u043a \u043a\u0430\u043a \u0432\u0441\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0440\u0443\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u0438\u0432\u0438\u043b\u0435\u0433\u0438\u0439. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">export DISK1=\/dev\/disk\/by-id\/ata-VBOX_HARDDISK_VBad5107ca-df268eef export DISK2=\/dev\/disk\/by-id\/ata-VBOX_HARDDISK_VBaf134a71-943e2d11 export HOSTNAME=ubuntu-zfs-vm export USERNAME=toor<\/code><\/pre>\n<p>  <\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0442\u0438\u0442\u044c \u0434\u0438\u0441\u043a\u0438:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">sgdisk --zap-all $DISK1 sgdisk --zap-all $DISK2 sgdisk -n1:1M:+256M -t1:EF00 -c1:EFI $DISK1 sgdisk -n1:1M:+256M -t1:EF00 -c1:EFI $DISK2 sgdisk -n2:0:+1024M -t2:be00 -c2:Boot $DISK1 sgdisk -n2:0:+1024M -t2:be00 -c2:Boot $DISK2 sgdisk -n3:0:0 -t3:bf00 -c3:Ubuntu $DISK1 sgdisk -n3:0:0 -t3:bf00 -c3:Ubuntu $DISK2<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c UEFI, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u0438\u0441\u043a \u0441 \u0442\u0438\u043f\u043e\u043c EF00, \u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434 vfat:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">mkfs.msdos -F 32 -n EFI ${DISK1}-part1 mkfs.msdos -F 32 -n EFI ${DISK2}-part1<\/code><\/pre>\n<p>  <\/p>\n<p>\u041d\u0430\u0441\u0442\u0430\u043b\u0430 \u043f\u043e\u0440\u0430 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c zfs. \u042f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c grub, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0441 zfs, \u0445\u043e\u0442\u044f \u0438 \u043d\u0435 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043e\u043f\u0446\u0438\u044f\u043c\u0438. \u0422\u0430\u043a \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u044f\u0432\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0435\u0442 grub: <\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">zpool create -f -o cachefile=\/etc\/zfs\/zpool.cache -o ashift=12 \\     -o autotrim=on -d -o feature@async_destroy=enabled \\     -o feature@bookmarks=enabled -o feature@embedded_data=enabled \\     -o feature@empty_bpobj=enabled -o feature@enabled_txg=enabled \\     -o feature@extensible_dataset=enabled \\     -o feature@filesystem_limits=enabled -o feature@hole_birth=enabled \\     -o feature@large_blocks=enabled -o feature@lz4_compress=enabled \\     -o feature@spacemap_histogram=enabled -O acltype=posixacl -O canmount=off \\     -O compression=lz4 -O devices=off -O normalization=formD -O relatime=on \\     -O xattr=sa -O mountpoint=\/boot -R \/mnt \\     bpool mirror ${DISK1}-part2 ${DISK2}-part2<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u0440\u0430\u0437\u0434\u0435\u043b \u0441\u043e\u0437\u0434\u0430\u043d, \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0439 \u0440\u0430\u0437\u0434\u0435\u043b (\u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c):<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">zpool create -f -o ashift=12 -o autotrim=on -O encryption=aes-256-gcm \\     -O keylocation=prompt -O keyformat=passphrase -O acltype=posixacl \\     -O canmount=off -O compression=lz4 -O dnodesize=auto \\     -O normalization=formD -O relatime=on -O xattr=sa -O mountpoint=\/ \\     -R \/mnt rpool mirror ${DISK1}-part3 ${DISK2}-part3<\/code><\/pre>\n<p>  <\/p>\n<p>\u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0434\u0430\u0442\u0430\u0441\u0435\u0442\u044b. \u042f \u0440\u0435\u0448\u0438\u043b \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u044c\u0441\u044f \u043c\u0438\u043d\u0438\u043c\u0443\u043c\u043e\u043c:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">zfs create -o canmount=off -o mountpoint=none rpool\/ROOT zfs create -o canmount=off -o mountpoint=none bpool\/BOOT UUID=$(dd if=\/dev\/urandom bs=1 count=100 2>\/dev\/null \\     |tr -dc 'a-z0-9' | cut -c-6) zfs create -o mountpoint=\/ -o com.ubuntu.zsys:bootfs=yes \\     -o com.ubuntu.zsys:last-used=$(date +%s) \\     rpool\/ROOT\/ubuntu_$UUID zfs create -o mountpoint=\/boot bpool\/BOOT\/ubuntu_$UUID zfs create -o canmount=off -o mountpoint=\/ rpool\/USERDATA zfs create -o com.ubuntu.zsys:bootfs-datasets=rpool\/ROOT\/ubuntu_$UUID \\     -o canmount=on -o mountpoint=\/home\/$USERNAME \\     rpool\/USERDATA\/${USERNAME}_$UUID<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c debootstrap:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">apt-get install -y debootstrap debootstrap focal \/mnt<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">echo $HOSTNAME >\/mnt\/etc\/hostname sed '\/cdrom\/d' \/etc\/apt\/sources.list > \/mnt\/etc\/apt\/sources.list sed \"s\/ubuntu\/$HOSTNAME\/\" \/etc\/hosts > \/mnt\/etc\/hosts cp \/etc\/netplan\/*.yaml \/mnt\/etc\/netplan\/<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0441\u0435\u0432\u0434\u043e\u0444\u0441, \u043d\u0443\u0436\u043d\u044b\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">mount --make-private --rbind \/dev  \/mnt\/dev mount --make-private --rbind \/proc \/mnt\/proc mount --make-private --rbind \/sys  \/mnt\/sys<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u0430\u0445\u043e\u0434\u0438\u043c \u0432 chroot \u0441\u0440\u0435\u0434\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">chroot \/mnt \/usr\/bin\/env DISK1=$DISK1 DISK2=$DISK2 USERNAME=$USERNAME \\     \/bin\/bash \u2013login<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043b\u043e\u043a\u0430\u043b\u044c:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">apt-get update locale-gen --purge \"en_US.UTF-8\" update-locale LANG=en_US.UTF-8 LANGUAGE=en_US dpkg-reconfigure --frontend noninteractive locales<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0439 \u043d\u0430\u043c \u0447\u0430\u0441\u043e\u0432\u043e\u0439 \u043f\u043e\u044f\u0441:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">dpkg-reconfigure tzdata<\/code><\/pre>\n<p>  <\/p>\n<p>\u041c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c EFI \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u044e. \u041e\u0431\u044b\u0447\u043d\u043e \u0435\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u044e\u0442 \u043f\u043e\u0434 \/boot\/efi, \u043d\u043e \u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0439 2, \u043f\u043b\u044e\u0441 \u0435\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0441\u0442\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0438\u0441\u043a\u043e\u0432. \u042f \u0440\u0435\u0448\u0438\u043b \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u0438\u0441\u043a \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u043c\u043b\u0438\u043d\u043a\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">mkdir \/run\/efi1 mount $DISK1-part1 \/run\/efi1 ln -s \/run\/efi1 \/boot\/efi echo \/dev\/disk\/by-uuid\/$(blkid -s UUID -o value \\     ${DISK1}-part1) \/run\/efi1 vfat defaults 0 0 >> \/etc\/fstab echo \/dev\/disk\/by-uuid\/$(blkid -s UUID -o value \\     ${DISK2}-part1) \/run\/efi2 vfat defaults 0 0 >> \/etc\/fstab<\/code><\/pre>\n<p>  <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0447\u0438\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">apt-get install -y grub-efi-amd64 grub-efi-amd64-signed linux-image-generic \\     shim-signed zfs-initramfs zsys ubuntu-minimal network-manager<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418\u0437-\u0437\u0430 <a href=\"https:\/\/bugs.launchpad.net\/ubuntu\/+source\/linux\/+bug\/1862822\" rel=\"nofollow noopener noreferrer\">\u0440\u0435\u0433\u0440\u0435\u0441\u0441\u0438\u0438<\/a> \u043d\u0430\u0434\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u044f\u0434\u0440\u0430 init_on_alloc=0:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">sed -ie 's\/\\(GRUB_CMDLINE_LINUX_DEFAULT=\"[^\"]*\\)\/\\1 init_on_alloc=0\/' \\     \/etc\/default\/grub<\/code><\/pre>\n<p>  <\/p>\n<p>\u042f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0438\u043c\u0435\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0432\u043e\u043f:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">zfs create -V 4G -b $(getconf PAGESIZE) -o compression=off \\     -o logbias=throughput -o sync=always -o primarycache=metadata \\     -o secondarycache=none rpool\/swap mkswap -f \/dev\/zvol\/rpool\/swap echo \"\/dev\/zvol\/rpool\/swap none swap defaults 0 0\" >> \/etc\/fstab echo RESUME=none > \/etc\/initramfs-tools\/conf.d\/resume<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">adduser $USERNAME find \/etc\/skel\/ -type f|xargs cp -t \/home\/$USERNAME chown -R $USERNAME:$USERNAME \/home\/$USERNAME usermod -a -G adm,cdrom,dip,plugdev,sudo $USERNAME<\/code><\/pre>\n<p>  <\/p>\n<p>\u041e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c inird \u0438 grub \u0438 \u0432\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 chroot \u0441\u0440\u0435\u0434\u044b:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">update-initramfs -c -k all update-grub grub-install --target=x86_64-efi --efi-directory=\/boot\/efi \\     --bootloader-id=ubuntu --recheck --no-floppy exit<\/code><\/pre>\n<p>  <\/p>\n<p>\u0420\u0430\u0437\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u043c \u0442\u043e, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043e \u0432 chroot \u0441\u0440\u0435\u0434\u0435 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">mount | grep -v zfs | tac | awk '\/\\\/mnt\/ {print $3}' | xargs -i{} umount -lf {} zpool export -a reboot<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0432\u0441\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432 virtualbox \u043e\u0442\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u0441 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c UEFI \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u043a\u0430 \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0441 \u043e\u043f\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0430. \u0422\u0430\u043a \u0447\u0442\u043e \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u044f \u0443\u0431\u0438\u0440\u0430\u044e \u0434\u0438\u0441\u043a \u0438\u0437 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0430 \u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u044e UEFI \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443.<\/p>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435 \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435\u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043c\u0435\u043d\u044e grub. \u041d\u043e \u043d\u0435 \u0441\u043f\u0435\u0448\u0438\u0442\u0435 \u0436\u0430\u0442\u044c enter! \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435\u0441\u044c \u0432 recovery mode, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u0438 \u0438\u043c\u043f\u043e\u0440\u0442\u0435 \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0433\u043e \u043f\u0443\u043b\u0430 zfs \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0430, \u0432\u044b\u0437\u0432\u0430\u043d\u043d\u0430\u044f \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0440\u0430\u0437 \u043f\u0443\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441 \u0434\u0440\u0443\u0433\u0438\u043c \u0438\u043c\u0435\u043d\u0435\u043c. \u0418\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">zpool import -f root exit<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0443 \u0432\u0430\u0441 \u0441\u043f\u0440\u043e\u0441\u044f\u0442 \u043f\u0430\u0440\u043e\u043b\u044c \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0434\u0438\u0441\u043a\u0443 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u0441\u044f \u0432\u043f\u043b\u043e\u0442\u044c \u0434\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0430\u0432\u0430\u0440\u0438\u0439\u043d\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e (\u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0438\u0441\u044c \u0432 recovery mode) \u0438\u043b\u0438 \u043d\u0430\u0436\u0430\u0442\u044c ctrl-d \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432 \u043e\u0431\u044b\u0447\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435. \u041d\u0430\u0436\u0438\u043c\u0430\u0439\u0442\u0435 ctrl-d. \u0427\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434 \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043e\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u043d\u0435\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f. \u041d\u0430 \u044d\u0442\u043e\u043c, \u0432\u043f\u0440\u043e\u0447\u0435\u043c, \u043d\u0430\u0448\u0438 \u0437\u043b\u043e\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0435 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e\u0442\u0441\u044f. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u043d\u0430 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \/boot \u0438 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u043e\u043d\u0430 \u043f\u0443\u0441\u0442\u0430\u044f. \u0417\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0439 \u043f\u0443\u043b \u0442\u043e\u0436\u0435 \u043d\u0435 \u0431\u044b\u043b \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d. \u0418\u0441\u043f\u0440\u0430\u0432\u0438\u043c \u044d\u0442\u043e:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">zpool import bpool<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0448\u0442\u0440\u0438\u0445 \u2014 \u043e\u0442\u043c\u0435\u0442\u0438\u043c \u043e\u0431\u0435 \u043f\u0430\u0440\u0442\u0438\u0446\u0438\u0438 EFI, \u043a\u0430\u043a \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u0445 grub:<\/p>\n<p>  <\/p>\n<pre><code class=\"plaintext\">dpkg-reconfigure grub-efi-amd64<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u043e\u0442 \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430 \u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0443\u043d\u043a\u0442\u043e\u043c \u043c\u0435\u043d\u044e grub \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0418\u0437-\u0437\u0430 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u044f\u0434\u0440\u0430 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 quiet \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u0447\u0435\u0440\u043d\u044b\u0439 \u044d\u043a\u0440\u0430\u043d. \u041f\u0430\u0440\u043e\u043b\u044c \u043d\u0430 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0434\u0438\u0441\u043a\u0443 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0432\u0441\u043b\u0435\u043f\u0443\u044e \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434 \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0431\u0440\u0430\u0442\u044c quiet \u0438\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u0443\u044e \u0441\u0440\u0435\u0434\u0443.<\/p>\n<p>  <\/p>\n<p>\u0412\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0435\u0434\u0438\u043d\u044b\u043c <a href=\"https:\/\/raw.githubusercontent.com\/kt97679\/misc\/master\/ubuntu\/ubuntu-focal-zfs-install.sh\" rel=\"nofollow noopener noreferrer\">\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u043c<\/a>, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 DISK1, DISK2, HOSTNAME \u0438 USERNAME.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"v-portal\" style=\"display:none;\"><\/div>\n<\/div>\n<p> <!----> <!----><br \/> \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\/post\/650293\/\"> https:\/\/habr.com\/ru\/post\/650293\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body_version-1\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041d\u0430 \u043c\u043e\u0435\u0439 \u0434\u043e\u043c\u0430\u0448\u043d\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0432\u043e\u0442 \u0443\u0436\u0435 7 \u043b\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0430\u0440\u0430 \u0434\u0438\u0441\u043a\u043e\u0432, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u043d\u0430\u044f \u0432 soft raid1. \u0418 \u0432\u043e\u0442 \u043d\u0430 \u0434\u043d\u044f\u0445 \u043e\u0434\u0438\u043d \u0434\u0438\u0441\u043a \u0432 \u0437\u0435\u0440\u043a\u0430\u043b\u0435 \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u043d\u0430\u0447\u0430\u043b \u0441\u044b\u043f\u0430\u0442\u044c\u0441\u044f. \u041f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043f\u043e\u0432\u043e\u0434 \u043f\u0435\u0440\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441 \u043d\u0443\u043b\u044f \u0438 \u043d\u0430\u0447\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 7 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u043d\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u043e. \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0433\u0443\u0433\u043b\u0435\u043d\u0438\u044f \u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 \u0434\u0435\u043b \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 LUKS \u043f\u043e\u0432\u0435\u0440\u0445 mdadm \u044f \u0432\u044b\u0448\u0435\u043b \u043d\u0430 <a href=\"https:\/\/arstechnica.com\/gadgets\/2020\/05\/zfs-versus-raid-eight-ironwolf-disks-two-filesystems-one-winner\/\" rel=\"nofollow noopener noreferrer\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a> \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e\u0449\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c zfs vs mdadm\/ext4. \u0410 \u043f\u043e\u0442\u043e\u043c \u043d\u0430\u0448\u0435\u043b \u0434\u0440\u0443\u0433\u0443\u044e <a href=\"https:\/\/www.medo64.com\/2020\/11\/testing-native-zfs-encryption-speed-20-10\/\" rel=\"nofollow noopener noreferrer\">\u0441\u0442\u0430\u0442\u044c\u044e<\/a> \u0441 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0449\u0438\u0445 LUKS \u0438 zfs. \u0421\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043e\u0431\u0435\u0438\u043c \u0441\u0442\u0430\u0442\u044c\u044f\u043c zfs \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u043f\u043b\u043e\u0445\u0443\u044e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0432 \u0434\u0435\u043b\u0435.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-329297","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/329297","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=329297"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/329297\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=329297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=329297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=329297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}