{"id":1740,"date":"2025-09-08T15:32:59","date_gmt":"2025-09-08T15:32:59","guid":{"rendered":"https:\/\/alexisiumus.ru\/?p=1740"},"modified":"2025-09-09T04:26:26","modified_gmt":"2025-09-09T04:26:26","slug":"%d0%b2%d0%be%d1%81%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5","status":"publish","type":"post","link":"https:\/\/alexisiumus.ru\/?p=1740","title":{"rendered":"\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a ZFS \u0440\u0430\u0437\u0434\u0435\u043b\u0443"},"content":{"rendered":"\n<p>\u0415\u0441\u043b\u0438 \u0442\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0441 Ubuntu (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 LiveCD \u0438\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b), \u0438 \u0445\u043e\u0447\u0435\u0448\u044c \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 ZFS-\u0440\u0430\u0437\u0434\u0435\u043b, \u0432\u043e\u0442 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c:<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83e\uddf0 1. \u0423\u0431\u0435\u0434\u0438\u0441\u044c, \u0447\u0442\u043e ZFS \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d<\/h3>\n\n\n\n<p>Ubuntu \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 ZFS, \u043d\u043e \u0435\u0441\u043b\u0438 \u0442\u044b \u0432 Live-\u0441\u0435\u0441\u0441\u0438\u0438, \u043f\u0440\u043e\u0432\u0435\u0440\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442:<\/p>\n\n\n\n<p>bash<br>sudo apt update<br>sudo apt install zfsutils-linux<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udd0d 2. \u041d\u0430\u0439\u0434\u0438 ZFS-\u043f\u0443\u043b<\/h3>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u0434\u0438\u0441\u043a \u0441 ZFS, \u043f\u0440\u043e\u0432\u0435\u0440\u044c, \u0432\u0438\u0434\u0435\u043d \u043b\u0438 \u043e\u043d:<\/p>\n\n\n\n<p>bash<br>sudo zpool import<\/p>\n\n\n\n<p>\u0422\u044b \u0443\u0432\u0438\u0434\u0438\u0448\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043f\u0443\u043b\u043e\u0432. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<p>pool: tank<br>id: 1234567890123456789<br>state: ONLINE<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udce6 3. \u0418\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u0443\u0439 \u043f\u0443\u043b<\/h3>\n\n\n\n<p>bash<br>sudo zpool import tank<\/p>\n\n\n\n<p>\u0415\u0441\u043b\u0438 \u0442\u044b \u0445\u043e\u0447\u0435\u0448\u044c \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0434\u0440\u0443\u0433\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n\n\n\n<p>bash<br>sudo zpool import -R \/mnt tank<\/p>\n\n\n\n<p>\u042d\u0442\u043e \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 dataset&#8217;\u044b \u0432 \u043f\u0443\u043b\u0435 tank \u043f\u043e\u0434 \/mnt.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83d\udcc1 4. \u041f\u0440\u043e\u0432\u0435\u0440\u044c \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/h3>\n\n\n\n<p>bash<br>zfs list<\/p>\n\n\n\n<p>\u0422\u044b \u0443\u0432\u0438\u0434\u0438\u0448\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0438 \u0438\u0445 \u0442\u043e\u0447\u043a\u0438 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440:<\/p>\n\n\n\n<p>NAME USED AVAIL REFER MOUNTPOINT<br>tank 1.23G 98.7G 96K \/mnt\/tank<br>tank\/data 1.23G 98.7G 1.23G \/mnt\/tank\/data<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\ud83e\uddf9 5. \u0415\u0441\u043b\u0438 \u043d\u0435 \u043c\u043e\u043d\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438<\/h3>\n\n\n\n<p>\u0422\u044b \u043c\u043e\u0436\u0435\u0448\u044c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c dataset:<\/p>\n\n\n\n<p>bash<br>sudo zfs mount tank\/data<\/p>\n\n\n\n<p>\u0418\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0442\u043e\u0447\u043a\u0443 \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f:<\/p>\n\n\n\n<p>bash<br>sudo zfs set mountpoint=\/mnt\/mydata tank\/data<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u26a0 \u0412\u0430\u0436\u043d\u043e<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0415\u0441\u043b\u0438 \u043f\u0443\u043b \u0431\u044b\u043b \u0441\u043e\u0437\u0434\u0430\u043d \u0441 \u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0432\u043e\u0434 \u043f\u0430\u0440\u043e\u043b\u044f (zfs load-key).<\/li>\n\n\n\n<li>\u0415\u0441\u043b\u0438 \u0442\u044b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0448\u044c\u0441\u044f \u0441 LiveCD, \u0443\u0431\u0435\u0434\u0438\u0441\u044c, \u0447\u0442\u043e \u0442\u044b \u043d\u0435 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 &#171;\u0431\u0435\u0437 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f&#187;, \u0438\u043d\u0430\u0447\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0415\u0441\u043b\u0438 \u0442\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0441 Ubuntu (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 LiveCD \u0438\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b), \u0438 \u0445\u043e\u0447\u0435\u0448\u044c \u043f\u0440\u0438\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 ZFS-\u0440\u0430\u0437\u0434\u0435\u043b, \u0432\u043e\u0442 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c: \ud83e\uddf0 1. \u0423\u0431\u0435\u0434\u0438\u0441\u044c, \u0447\u0442\u043e ZFS \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Ubuntu \u0443\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 ZFS, \u043d\u043e \u0435\u0441\u043b\u0438 \u0442\u044b \u0432 Live-\u0441\u0435\u0441\u0441\u0438\u0438, \u043f\u0440\u043e\u0432\u0435\u0440\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0443\u0442\u0438\u043b\u0438\u0442: bashsudo apt updatesudo apt install zfsutils-linux \ud83d\udd0d 2. \u041d\u0430\u0439\u0434\u0438 ZFS-\u043f\u0443\u043b \u0415\u0441\u043b\u0438 \u0442\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u0434\u0438\u0441\u043a \u0441 ZFS, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1743,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1740","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-main"],"_links":{"self":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1740","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1740"}],"version-history":[{"count":3,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1740\/revisions"}],"predecessor-version":[{"id":1744,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/posts\/1740\/revisions\/1744"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=\/wp\/v2\/media\/1743"}],"wp:attachment":[{"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexisiumus.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}