{"id":299829,"date":"2020-03-07T15:00:18","date_gmt":"2020-03-07T15:00:18","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=299829"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=299829","title":{"rendered":"\u0423\u0434\u0430\u043b\u0451\u043d\u043d\u044b\u0435 \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u043d\u044b\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u044b\u0435 \u043a\u043e\u043f\u0438\u0438 ZFS. \u041f\u0440\u043e\u0449\u0435 \u043d\u0435\u043a\u0443\u0434\u0430"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/491456\/\">\n<h2>\u041f\u043e\u0434\u0441\u0442\u0440\u0430\u0445\u0443\u0439 \u0431\u0440\u0430\u0442\u0443\u0445\u0443, \u043f\u043e\u0434\u0441\u0442\u0440\u0430\u0445\u0443\u0439&#8230;<\/h2>\n<p>  \u0412 ZFS 0.8 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u043d\u0438\u043c\u043a\u0438 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u044f. \u0422\u043e \u0435\u0441\u0442\u044c \u0438\u043c\u0435\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u043c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u043d\u0435 \u0434\u043e\u0432\u0435\u0440\u044f\u044f \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0443 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f. \u041a\u043b\u044e\u0447 \u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u043f\u043e\u043a\u0438\u0434\u0430\u044e\u0442 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u041d\u0438\u043a\u0442\u043e \u0438\u0437 \u043c\u043e\u0438\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 (\u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u043e\u0440) \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 \u0442\u0443\u0434\u0430 \u043f\u0440\u0438\u0434\u0451\u0442 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u043f\u043e\u0436\u0430\u0440 \u2014 \u0432\u0441\u0435\u043c\u0443 \u0437\u0432\u0435\u0437\u0434\u0430. \u0414\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0432\u0448\u0438\u0441\u044c \u0441\u043e \u0441\u0432\u043e\u0438\u043c \u043a\u043e\u043b\u043b\u0435\u0433\u043e\u0439 \u043f\u043e \u043e\u043f\u0430\u0441\u043d\u043e\u043c\u0443 \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u043e\u043c\u0443 \u0431\u0438\u0437\u043d\u0435\u0441\u0443 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0430\u0438\u043c\u043d\u043e \u0441\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u043d\u0435 \u043e\u043f\u0430\u0441\u0430\u044f\u0441\u044c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>  \u041b\u044e\u0431\u043e\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0432 \u0432\u0438\u0434\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u043d\u0430 Proxmox, \u0433\u0434\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u044b \u043d\u0430 ZFS, \u0438 \u0443 \u0432\u0430\u0441 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0415\u0441\u0442\u044c \u0448\u0430\u043d\u0441, \u0447\u0442\u043e \u0432 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u0432 \u0443\u043d\u044b\u043d\u0438\u0435 \u0432\u044b \u0441\u044a\u0435\u0437\u0434\u0438\u0442\u0435 \u0432 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435, \u0437\u0430\u0431\u0435\u0440\u0451\u0442\u0435 \u0436\u0435\u043b\u0435\u0437\u044f\u043a\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0432\u0441\u0435 \u0441\u043b\u0443\u0436\u0431\u044b \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0437\u0434\u0440\u0430\u0432\u0438\u0438. \u042f \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0432\u0451\u043b \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0441\u0432\u043e\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043d\u0430 Proxmox \u043e\u043a\u043e\u043b\u043e 2 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u0438 \u043d\u0438 \u043a\u0430\u043f\u043b\u0438 \u043d\u0435 \u0436\u0430\u043b\u0435\u044e, \u0432\u0441\u0451 \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u0430 ZFS \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 30 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u044b \u0442\u043e\u043d\u043a\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u044b (\u0442\u043e \u0435\u0441\u0442\u044c 30 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u043c\u0435\u0441\u0442). \u041f\u043e\u043c\u0438\u043c\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0435\u0449\u0451 \u0438 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 x \u0434\u043d\u0435\u0439 \u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e.<\/p>\n<p>  \u0414\u0430, \u0432\u044b \u043f\u043e\u0442\u0435\u0440\u044f\u0435\u0442\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043e\u0442 \u0441\u0430\u043c\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f zfs \u0438 \u043e\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u043e \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e \u0433\u043e\u0442\u043e\u0432 \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u044d\u0442\u0443 \u0446\u0435\u043d\u0443 \u0437\u0430 \u0442\u0430\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u041b\u043e\u0436\u043a\u0430 \u0434\u0451\u0433\u0442\u044f<\/h2>\n<p>  \u0412 \u043f\u043e\u0434\u043a\u0430\u0442\u0435 \u0441\u0440\u0430\u0437\u0443 \u0432\u0430\u043c \u043b\u043e\u0436\u0435\u0447\u043a\u0430 \u0434\u0451\u0433\u0442\u044f. \u0414\u0430 ZFS \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043c\u0435\u0434\u043b\u0435\u043d\u0435\u0435. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e. \u041d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451 \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u0443\u044e \u0444\u0441 \u043d\u0435\u043b\u044c\u0437\u044f. \u041e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0434\u0438\u0441\u043a\u043e\u0432, \u0433\u0434\u0435 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0434\u0438\u0441\u043a\u043e\u0432 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044f, \u0434\u0438\u0441\u043a\u0438 \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c SAS, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 HBA (\u0430 \u043d\u0435 raid0 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0434\u0438\u043d\u043e\u0447\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432), \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u041e\u0417\u0423 ECC \u0438 \u0435\u0451 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043c\u043d\u043e\u0433\u043e, \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0434\u0438\u043d SSD (\u043b\u0443\u0447\u0448\u0435 PCI-E) \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u044d\u0448\u0430 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f (\u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u0433\u0438\u0433\u043e\u0432 \u043e\u0442 64) \u0438 \u043e\u0434\u0438\u043d SSD \u0434\u043b\u044f ZIL \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439, \u043d\u043e \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e MLC.<\/p>\n<p>  \u041a\u0430\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u043e SSD \u044f \u043f\u043e\u043b\u043e\u0436\u0438\u043b \u043d\u0430 \u044d\u0442\u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438 \u0438 \u043a\u0443\u043f\u0438\u043b 2 PCI-E SSD \u043f\u043e 128 \u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u043b \u043a\u0430\u0436\u0434\u044b\u0439 \u043d\u0430 16 \u0433\u0438\u0433\u043e\u0432 \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c. \u0414\u0432\u0430 16 \u0433\u0438\u0433\u043e\u0432\u044b\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u0432 ZIL \u043a\u0430\u043a mirror \u0438 \u0430 \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0435\u0441\u044f \u0447\u0430\u0441\u0442\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b \u043f\u043e\u0434 \u043a\u044d\u0448 \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u0443\u0440\u043e\u0432\u043d\u044f \u043a\u0430\u043a stripe. \u041d\u0430 \u0440\u0430\u0441\u0442\u0435\u0440\u0437\u0430\u043d\u0438\u0435 zfs \u043e\u0442\u0434\u0430\u043b 16 \u0433\u0438\u0433\u043e\u0432 \u043e\u043f\u0435\u0440\u044b. (\u041e\u0434\u0438\u043d \u0441\u043b\u043e\u0442 \u043d\u0430 \u043a\u0443\u043f\u043b\u0435\u043d\u043d\u043e\u0439 \u0441 ebay \u043c\u0430\u043c\u043a\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043d\u0435\u0440\u0430\u0431\u043e\u0447\u0438\u043c, \u0435\u0441\u043b\u0438 \u0431\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u2014 \u043e\u0442\u0434\u0430\u043b \u0431\u044b 32)<\/p>\n<h2>zfskeeper.sh<\/h2>\n<p>  \u041e\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u0431\u044b\u043b\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u043e \u043d\u0435\u043f\u043e\u043b\u0430\u0434\u043a\u0430\u0445, \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u0441\u043d\u0430\u043f\u043e\u0432 \u043d\u0430 \u043e\u0431\u043e\u0438\u0445 \u043a\u043e\u043d\u0446\u0430\u0445 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438. \u0418\u0437 \u043f\u043e\u043f\u0430\u0432\u0448\u0438\u0445 \u043c\u043d\u0435 \u0432 \u0440\u0443\u043a\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u0438\u0432\u0448\u0438\u0445 \u043c\u0435\u043d\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043d\u0435 \u043d\u0430\u0448\u043b\u043e\u0441\u044c. \u041d\u0438\u0436\u0435 \u044f \u043f\u0440\u0438\u0432\u0435\u0434\u0443 \u0447\u0430\u0441\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u044f \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u043b\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u0442\u0435\u043c \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e\u0442. \u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u043f\u043e \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u0447\u0442\u0435 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 send_error_to_mail () \u043c\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u0441\u0432\u043e\u0438<\/p>\n<p>  <b>zfskeeper.sh help<\/b> \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0432\u0430\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<br \/>  <b>zfskeeper.sh prepare<\/b> \u043f\u043e\u0434\u0441\u043a\u0430\u0436\u0435\u0442 \u0432\u0430\u043c \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 (\u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u043c\u044b\u0445)<br \/>  <b>zfskeeper.sh bank\/encrypted\/subvol-100-disk-0 10<\/b> \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 \u0441\u043d\u0438\u043c\u043e\u043a \u0438 \u043e\u0441\u0442\u0430\u0432\u0438\u0442 10 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0441\u043d\u0438\u043c\u043a\u043e\u0432<br \/>  <b>zfskeeper.sh bank\/encrypted\/subvol-100-disk-0 10 Remotehost 22 10m replicator bank\/rtl\/subvol-100-disk-0 20<\/b> \u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442 \u043d\u0435\u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 remotehost:22 \u043f\u043e\u0434 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c replicator \u0441\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u0434\u043e 10MB\/s \u043e\u0441\u0442\u0430\u0432\u0438\u0442 10 \u0441\u043d\u0438\u043c\u043a\u043e\u0432 \u043d\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0435 \u0438 20 \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u043c \u0445\u043e\u0441\u0442\u0435<br \/>  <b>zfskeeper.sh bank\/encrypted\/subvol-100-disk-0 10 Remotehost 22 10m replicator bank\/rtl\/subvol-100-disk-0 20 -w<\/b> \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u044b<\/p>\n<pre><code class=\"bash\">#!\/bin\/bash  zpool=$1 lsnaps=$2  ip=$3 port=$4 speedl=$5 remoteuser=$6 backpool=$7 rsnaps=$8 sendargs=$9  ZFSLOGDIR=~\/zfskeeplogs if [ ! -d &quot;$ZFSLOGDIR&quot; ]; then     mkdir -p $ZFSLOGDIR fi  NAMESNAP=`date &quot;+%Y_%m_%d_%T&quot;|sed s\/:\/_\/g` logfile=$ZFSLOGDIR\/$NAMESNAP.log  write_to_log () { echo `date +&quot;%T&quot;`&quot; $1&quot; &gt;&gt; $logfile }  log_last_command () { if [ $? -ne 0 ]; then \t    write_to_log &quot;$1 FAILED.&quot; \t    if [ $2 = true ]; then \t\twrite_to_log &quot;Script execution stops&quot; \t\tsend_error_to_mail &quot;$1&quot; &quot;$?&quot; &quot;$*&quot; \t\texit 1 \t    fi \telse \t    write_to_log &quot;$1 COMPLETED.&quot; \tfi }  send_error_to_mail () {  Subject=`hostname`&quot; ZFS backup $zpool missing&quot; swaks --header &quot;Subject: $Subject&quot; --to admin@mydomain.ru --from &quot;alertbot@mydomain.ru&quot; -a LOGIN -au alertbot@mydomain.ru -ap \u041cailPass --server mail.mydomain.ru -tls --body \\ &quot;$Subject command: zfskeeper.sh $3      $1     $2&quot; \\     --attach $logfile #    --attach-type &quot;$(get_mimetype $logfile)&quot; --attach $logfile  }  case &quot;$#&quot; in     1)     case &quot;$1&quot; in \tprepare)     echo &quot;     Sender mashine:     apt install swaks mbuffer     useradd -s \/bin\/bash replicator     mkdir -p \/home\/replicator      chown replicator:replicator \/home\/replicator     zfs allow -u replicator send,snapshot,destroy,mount bank\/encrypted     su replicator     ssh-keygen      Receiver machine:     ln -s \/usr\/sbin\/zfs \/usr\/local\/bin\/zfs     useradd -s \/bin\/bash replicator     mkdir -p \/home\/replicator      chown replicator:replicator \/home\/replicator     passwd replicator      Sender mashine:     ssh-copy-id -i .ssh\/id_rsa.pub Remotehost     zfs allow -u replicator compression,create,receive,destroy,mount bank\/companyname      &quot;     ;; \t*)     echo &quot;     Usage:      To show the prepare instrutions:     zfskeeper.sh prepare      localkeeping:     keep last 10 snapshots of bank\/encrypted\/subvol-100-disk-0      zfskeeper.sh bank\/encrypted\/subvol-100-disk-0 10      remotekeeping:      keep last 10 snapshots bank\/encrypted\/subvol-100-disk-0 and send it by ssh to Remotehost:22 bank\/rtl\/subvol-100-disk-0     and keep last 20 copies by replicator user and limit transferspeed 10Mb\/s      zfskeeper.sh bank\/encrypted\/subvol-100-disk-0 10 Remotehost 22 10m replicator bank\/rtl\/subvol-100-disk-0 20      If you need to send encrypted data, then you need add -w to the end of the line      zfskeeper bank\/encrypted\/subvol-100-disk-0 10 Remotehost 22 10m replicator bank\/rtl\/subvol-100-disk-0 20 -w     &quot;     ;;     esac     exit 0     ;;     2)     echo `date +&quot;%T&quot;`&quot; Local keeping of $NAMESNAP being started&quot; &gt; $logfile     ;;     8|9)     echo `date +&quot;%T&quot;`&quot; Remote keeping of $NAMESNAP being started&quot; &gt; $logfile     ;;     *)     echo &quot;illegal number of parameters&quot; &gt;&2     exit 1     ;; esac    ####################################### Local part #######################################################  # Remove waste local snaps numsnap=`zfs list -H -o name -t snapshot -s creation|grep &quot;${zpool}@&quot;|wc|awk '{ print $1 }'` let MAXSNAP=numsnap-lsnaps+1 &gt;\/dev\/null if [ $MAXSNAP -gt 0 ] ; then     for d in `zfs list -H -o name -t snapshot -s creation| grep &quot;${zpool}@&quot;|\/usr\/bin\/head -n&quot;$MAXSNAP&quot;`; do         zfs destroy ${d}         log_last_command &quot;Remove local snapshot $d&quot;     done fi  # Create fresh local snap zfs snapshot $zpool@backup_$NAMESNAP log_last_command &quot;Create local $zpool@backup_$NAMESNAP&quot; true  ####################################### Local part #######################################################  if [ -z &quot;$backpool&quot; ]; then     write_to_log &quot;Local keeping is complete&quot;     exit 0 fi  ####################################### Remote part #######################################################   # Check remote address if [ -n &quot;$ip&quot; ]; then     if ping -c 1 $ip &gt; null ; then             sship=&quot;ssh -c aes128-ctr -p&quot;$port&quot; -l&quot;$remoteuser&quot; &quot;$ip     else             echo &quot;URL $ip is not accesiible, abort&quot;             send_error_to_mail &quot;Try to ping remote host&quot; &quot;URL $ip is not accesiible, abort&quot; &quot;$*&quot;             exit 1     fi else     # Remote backup is unnecessary     exit 0 fi   # Remove waste local snaps numsnap=`$sship zfs list -H -o name -t snapshot -s creation|grep &quot;${backpool}@&quot;|wc|awk '{ print $1 }'` let MAXSNAP=numsnap-rsnaps+1 &gt;\/dev\/null if [ $MAXSNAP -gt 0 ] ; then     for d in `$sship zfs list -H -o name -t snapshot -s creation| grep &quot;${backpool}@&quot;|\/usr\/bin\/head -n&quot;$MAXSNAP&quot;`; do         $sship zfs destroy ${d}         log_last_command &quot;Remove local snapshot $d&quot;     done fi  # Receive last remote snap MOST_SLAVE_SNAP_NAME=`$sship zfs list -H -o name -t snapshot -s creation|grep &quot;$backpool@backup&quot;|tail -n1|awk -F &quot;@&quot; '{print $2}'`  # If localbackup has same snap then send incremental copy. If has't then send full if [ -n &quot;`zfs list -H -o name -t snapshot -s creation|grep -w &quot;$zpool@$MOST_SLAVE_SNAP_NAME&quot;`&quot; ]; then     #zfs send $sendargs -i $MOST_SLAVE_SNAP_NAME $zpool@backup_$NAMESNAP | pv -L $speedl | $sship zfs receive -vF $backpool@backup_$NAMESNAP &&gt;&gt; $logfile     zfs send $sendargs -i $MOST_SLAVE_SNAP_NAME $zpool@backup_$NAMESNAP | mbuffer -q -v 0 -s 128k -m 1G | pv -L $speedl | $sship &quot;mbuffer -q -v 0 -s 128k -m 1G | zfs receive -vF $backpool@backup_$NAMESNAP&quot; &&gt;&gt; $logfile     log_last_command &quot;Sending incremental backup to the remote machine&quot; true else     #If backpool exist we remove it. You can rename it     if [ -n &quot;`$sship zfs list -H -o name -s creation|grep -w &quot;$backpool&quot;`&quot; ]; then \t#$sship zfs rename -p $backpool `$sship zfs list -H -o name|grep -w &quot;$backpool&quot;|awk -F &quot;\/&quot; '{print $1}'`\/old_$NAMESNAP \t$sship zfs destroy -r $backpool 2&gt;&gt; $logfile \tlog_last_command &quot;Need to destroy remotepool for full sending $backpool&quot; true     fi     #zfs send $sendargs $zpool@backup_$NAMESNAP | pv -L $speedl | $sship zfs receive -vF $backpool &&gt;&gt; $logfile     zfs send $sendargs $zpool@backup_$NAMESNAP | mbuffer -q -v 0 -s 128k -m 1G | pv -L $speedl | $sship &quot;mbuffer -q -v 0 -s 128k -m 1G | zfs receive -vF $backpool&quot; &&gt;&gt; $logfile      log_last_command &quot;Sending full backup to the remote machine&quot; true fi   ####################################### Remote part #######################################################  write_to_log &quot;Remote keeping is complete&quot; exit 0<\/code><\/pre>\n<h2>zfskeepall.sh<\/h2>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432 \u0442\u043e\u043d\u0443\u0441\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432, \u043d\u0443\u0436\u0435\u043d \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u043a\u0440\u0438\u043f\u0442. \u0415\u0433\u043e \u0443\u0436\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u0432\u043a\u0443\u0441 \u0438 \u0446\u0432\u0435\u0442, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438. \u041c\u043e\u0439 \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"bash\">#!\/bin\/bash scriptpath=\/home\/replicator\/zfskeeper.sh $scriptpath bank\/encrypted\/subvol-100-disk-0 5 RemoteHost 22 30m replicator bank\/rtl\/subvol-100-disk-0 5 -w <\/code><\/pre>\n<p>  <\/p>\n<h2>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h2>\n<p>  <a href=\"https:\/\/2gusia.livejournal.com\/145124.html\">\u041d\u0430\u0448\u0451\u043b \u0435\u0433\u043e \u043f\u0435\u0440\u0432\u044b\u043c, \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0435\u0433\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b \u0432\u043e\u043e\u0431\u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430. \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0430\u0432\u0442\u043e\u0440\u0430\u043c, \u043d\u043e \u0441\u0442\u0438\u043b\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0433\u0440\u044f\u0437\u043d\u044b\u0439, \u0435\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c.<\/a><\/p>\n<p>  <a href=\"https:\/\/github.com\/mustafirus\/zfs-auto-snapshot\/blob\/master\/src\/zfs-auto-snapshot.sh\">zfs-auto-snapshot.sh \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u0433\u043b\u044b\u0431\u0430. \u0415\u0441\u0442\u044c \u0447\u0442\u043e \u043f\u043e\u0437\u0430\u0438\u043c\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0439, \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u044b\u0439, \u043d\u043e \u0433\u0440\u043e\u043c\u043e\u0437\u0434\u043a\u0438\u0439 \u0438 \u043c\u0430\u043b\u043e\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439<\/a><\/p>\n<p>  <a href=\"https:\/\/github.com\/shirkdog\/zfsbackup\/blob\/master\/zfsbackup.sh\">zfsbackup.sh \u2014 \u0442\u043e\u0436\u0435 \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u044b\u0439, \u043d\u043e \u043c\u0430\u043b\u043e\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439<\/a><\/p>\n<p>  P.S. \u0420\u0430\u0437\u0433\u0440\u044b\u0437 zfs \u044f \u0441 \u0442\u0440\u0435\u0442\u044c\u0435\u0433\u043e \u0440\u0430\u0437\u0430, \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0433\u0440\u044b\u0437 \u0433\u0434\u0435-\u0442\u043e \u043f\u043e \u043c\u0435\u0441\u044f\u0446\u0443. \u041c\u043d\u0435 \u043d\u0435 \u0443\u0434\u0430\u0432\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0451 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e, \u0434\u0430 \u0438 \u0432 \u043f\u043e\u043b\u043d\u043e\u0439 \u043c\u0435\u0440\u0435 \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c. \u0412 \u0446\u0435\u043b\u043e\u043c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0430\u0441\u044c \u043f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 SAS \u0434\u0438\u0441\u043a\u043e\u0432 (\u0445\u043e\u0442\u044f \u0431\u044b 7200, \u0445\u043e\u0442\u044f \u0431\u044b HL).<\/p>\n<p>  \u0412\u0441\u0435\u043c \u043c\u0438\u0440! \u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u0434\u043e\u0447\u0438\u0442\u0430\u043b\u0438!<\/p><\/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\/post\/491456\/\"> https:\/\/habr.com\/ru\/post\/491456\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/491456\/\">\n<h2>\u041f\u043e\u0434\u0441\u0442\u0440\u0430\u0445\u0443\u0439 \u0431\u0440\u0430\u0442\u0443\u0445\u0443, \u043f\u043e\u0434\u0441\u0442\u0440\u0430\u0445\u0443\u0439&#8230;<\/h2>\n<p>  \u0412 ZFS 0.8 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u043d\u043a\u0440\u0435\u043c\u0435\u043d\u0442\u043d\u044b\u0435 \u0441\u043d\u0438\u043c\u043a\u0438 \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0435 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u044f. \u0422\u043e \u0435\u0441\u0442\u044c \u0438\u043c\u0435\u044f \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u043c\u043e\u0436\u043d\u043e \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0437\u0435\u0440\u043a\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u043d\u0435 \u0434\u043e\u0432\u0435\u0440\u044f\u044f \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0443 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f. \u041a\u043b\u044e\u0447 \u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043d\u0435 \u043f\u043e\u043a\u0438\u0434\u0430\u044e\u0442 \u0434\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435.<\/p>\n<p>  \u041d\u0438\u043a\u0442\u043e \u0438\u0437 \u043c\u043e\u0438\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 (\u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u043e\u0440) \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u0435\u0441\u043b\u0438 \u0442\u0443\u0434\u0430 \u043f\u0440\u0438\u0434\u0451\u0442 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u043f\u043e\u0436\u0430\u0440 \u2014 \u0432\u0441\u0435\u043c\u0443 \u0437\u0432\u0435\u0437\u0434\u0430. \u0414\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0432\u0448\u0438\u0441\u044c \u0441\u043e \u0441\u0432\u043e\u0438\u043c \u043a\u043e\u043b\u043b\u0435\u0433\u043e\u0439 \u043f\u043e \u043e\u043f\u0430\u0441\u043d\u043e\u043c\u0443 \u0430\u0434\u043c\u0438\u043d\u0441\u043a\u043e\u043c\u0443 \u0431\u0438\u0437\u043d\u0435\u0441\u0443 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0437\u0430\u0438\u043c\u043d\u043e \u0441\u0442\u0440\u0430\u0445\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u043d\u0435 \u043e\u043f\u0430\u0441\u0430\u044f\u0441\u044c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>  \u041b\u044e\u0431\u043e\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0432 \u0432\u0438\u0434\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0441\u0442\u0430\u0432\u0438\u0442\u0441\u044f \u043d\u0430 Proxmox, \u0433\u0434\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0435\u043d\u044b \u043d\u0430 ZFS, \u0438 \u0443 \u0432\u0430\u0441 \u0432\u0441\u0435\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u0443\u044e \u043a\u043e\u043f\u0438\u044e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0415\u0441\u0442\u044c \u0448\u0430\u043d\u0441, \u0447\u0442\u043e \u0432 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u043f\u0430\u0434\u0430\u043d\u0438\u044f \u0432 \u0443\u043d\u044b\u043d\u0438\u0435 \u0432\u044b \u0441\u044a\u0435\u0437\u0434\u0438\u0442\u0435 \u0432 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0435 \u043f\u043e\u043c\u0435\u0449\u0435\u043d\u0438\u0435, \u0437\u0430\u0431\u0435\u0440\u0451\u0442\u0435 \u0436\u0435\u043b\u0435\u0437\u044f\u043a\u0443 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u0432\u0441\u0435 \u0441\u043b\u0443\u0436\u0431\u044b \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0437\u0434\u0440\u0430\u0432\u0438\u0438. \u042f \u0443\u0436\u0435 \u043f\u0435\u0440\u0435\u0432\u0451\u043b \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0441\u0432\u043e\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043d\u0430 Proxmox \u043e\u043a\u043e\u043b\u043e 2 \u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434 \u0438 \u043d\u0438 \u043a\u0430\u043f\u043b\u0438 \u043d\u0435 \u0436\u0430\u043b\u0435\u044e, \u0432\u0441\u0451 \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u0430 ZFS \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 30 \u0447\u0435\u043b\u043e\u0432\u0435\u043a, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0432\u044f\u0437\u0430\u043d\u044b \u0442\u043e\u043d\u043a\u0438\u0435 \u043a\u043b\u0438\u0435\u043d\u0442\u044b (\u0442\u043e \u0435\u0441\u0442\u044c 30 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0447\u0438\u0445 \u043c\u0435\u0441\u0442). \u041f\u043e\u043c\u0438\u043c\u043e \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u043f\u0438\u0438 \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0435\u0449\u0451 \u0438 \u0441\u043d\u0430\u043f\u0448\u043e\u0442\u044b \u0437\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0435 x \u0434\u043d\u0435\u0439 \u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0438 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e.<\/p>\n<p>  \u0414\u0430, \u0432\u044b \u043f\u043e\u0442\u0435\u0440\u044f\u0435\u0442\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043e\u0442 \u0441\u0430\u043c\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f zfs \u0438 \u043e\u0442 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043d\u043e \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0432\u044b\u0432\u043e\u0434\u0443, \u0447\u0442\u043e \u0433\u043e\u0442\u043e\u0432 \u0437\u0430\u043f\u043b\u0430\u0442\u0438\u0442\u044c \u044d\u0442\u0443 \u0446\u0435\u043d\u0443 \u0437\u0430 \u0442\u0430\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b.  <\/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-299829","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299829","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=299829"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299829\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=299829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=299829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=299829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}