{"id":118,"date":"2023-10-09T19:17:51","date_gmt":"2023-10-09T10:17:51","guid":{"rendered":"http:\/\/blog.takeh.org\/?p=118"},"modified":"2023-10-09T19:17:51","modified_gmt":"2023-10-09T10:17:51","slug":"usb%e6%8e%a5%e7%b6%9a%e3%82%b9%e3%83%88%e3%83%ac%e3%83%bc%e3%82%b8%e3%81%a7zfs%e3%82%92%e4%bd%bf%e3%81%86%e9%9d%9e%e6%8e%a8%e5%a5%a8","status":"publish","type":"post","link":"https:\/\/blog.takeh.org\/?p=118","title":{"rendered":"USB\u63a5\u7d9a\u30b9\u30c8\u30ec\u30fc\u30b8\u3067ZFS\u3092\u4f7f\u3046(\u975e\u63a8\u5968)"},"content":{"rendered":"\n<p>Ceph\u306e\u8a2d\u5b9a\u3092\u6539\u3081\u3066\u3084\u308a\u76f4\u3057\u3066\u3044\u305f\u6642\u306b\u5bb9\u91cf\u304c\u30a2\u30f3\u30d0\u30e9\u30f3\u30b9\u3060\u3063\u305f\u306e\u3067\u3001\u4e2d\u53e4\u306eHDD\u3092\u8cfc\u5165\u3057\u3066\u4f59\u308a\u306eSSD\u3092\u6295\u5165\u3057\u3066\u518d\u8a2d\u5b9a\u3057\u305f\u3002\u305d\u306e\u969b\u306b\u30c7\u30a3\u30b9\u30af\u306e\u7f6e\u304d\u63db\u3048\u306e\u305f\u3081\u306b\u5927\u91cf\u306bHDD\u5185\u306e\u30c7\u30fc\u30bf\u3092\u30b3\u30d4\u30fc\u3057\u3066\u306f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3001\u5225\u306e\u30b5\u30fc\u30d0\u306b\u518d\u6295\u5165\u3001\u3092\u7e70\u308a\u8fd4\u3057\u3066\u3044\u305f\u3068\u3053\u308d\u3001\u9577\u671f\u5229\u7528\u3057\u3066\u3044\u308bHDD\u306f\u3001SMART\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u308b\u306e\u306b\u6c17\u304c\u4ed8\u3044\u305f\u3002\u7f6e\u304d\u63db\u3048\u3067\u6d3e\u624b\u306b\u52d5\u304b\u3057\u3066\u305f\u308a\u3059\u308b\u3068\u75c7\u72b6\u3082\u60aa\u5316\u3059\u308b\u3057\u306d\u3002\u307e\u3042\u3001\u4e00\u756a\u53e4\u3044\u3082\u306e\u306f\u300110\u5e74\u4ee5\u4e0a\u5229\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u5341\u5206\u3067\u3057\u3087\u3046\u3002\u4e00\u756a\u75c7\u72b6\u304c\u3072\u3069\u305d\u3046\u306a\u306e\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u3002\u3067\u3082\u307e\u3042\u3001\u7570\u97f3\u3082\u306a\u304f\u3061\u3083\u3093\u3068\u52d5\u3044\u3066\u3044\u307e\u3059\u3002\u3068\u306f\u3044\u3048\u3001\u3053\u306e\u72b6\u614b\u3067\u666e\u901a\u306b\u4f7f\u3046\u306e\u306f\u6016\u3044\u306e\u3067\u30c0\u30e1\u305d\u3046\u306a\u30c7\u30a3\u30b9\u30af\u3092\u675f\u306d\u3066ZFS\u3092\u5229\u7528\u3057\u3088\u3046\u3068\u601d\u3044\u7acb\u3063\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"674\" height=\"692\" src=\"http:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-2.png\" alt=\"\" class=\"wp-image-119\" srcset=\"https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-2.png 674w, https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-2-292x300.png 292w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/figure>\n\n\n\n<p>\u305f\u307e\u305f\u307e\u3001\u9332\u753b\u30b5\u30fc\u30d0\u63a5\u7d9a\u306e<a href=\"https:\/\/www.logitec.co.jp\/products\/hd\/lhrbnu3\/\">LHR-4BNHEU3<\/a>\u3092USB-C(3.1 Gen2)\u63a5\u7d9a\u306e<a href=\"https:\/\/www.logitec.co.jp\/products\/hd\/lhrbnu3\/\">LHR-4BNHUC<\/a>\u3078\u30ea\u30d7\u30ec\u30fc\u30b9\u3057\u305f\u306e\u3067\u4f59\u3063\u305f\u30b1\u30fc\u30b9\u3092Raspberry pi 4B\u306b\u63a5\u7d9a\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u30b5\u30fc\u30d0\u3068\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ZFS\u306e\u6e96\u5099<\/h3>\n\n\n\n<p>Raspberrypi 4B\u3067\u5229\u7528\u3057\u3066\u3044\u308bProxmox-Arm64\u306f\u3001\u901a\u5e38\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3060\u3068zfs\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u308c\u306a\u3044\u305f\u3081\u3001<a href=\"https:\/\/openzfs.github.io\/openzfs-docs\/Getting%20Started\/Debian\/index.html#installation\">\u516c\u5f0f\u306e\u624b\u9806<\/a>\u306b\u5f93\u3063\u3066\u8ffd\u52a0\u3057\u3066\u304a\u304f\u3002Repository\u5185\u306b\u306f\u5165\u3063\u3066\u3044\u308b\u305f\u3081\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3060\u3051\u3067\u3088\u3044\u3002\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u8d70\u308b\u306e\u3067\u6642\u9593\u306f\u304b\u306a\u308a\u304b\u304b\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">apt update\napt install dpkg-dev linux-headers-generic linux-image-generic\napt install zfs-dkms zfsutils-linux<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">ZFS Pool\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>Proxmox GUI\u3067ZFS\u3067\u3001RAID10\u306ePool\u4f5c\u6210\u3092\u3057\u3088\u3046\u3068\u601d\u3063\u305f\u3051\u3069\u3001\u3042\u307e\u308a\u3082\u306e\u30c7\u30a3\u30b9\u30af\u306f\u30012TB*3+3TB\u306a\u306e\u3067\u3001\u30b5\u30a4\u30ba\u304c\u9055\u3046\u3068\u6012\u3089\u308c\u308b\u3002\u307e\u3042\u3001\u5bb9\u91cf\u304c\u4f59\u308b\u3051\u308c\u3069\u3082\u3069\u3046\u305b\u3001\u3082\u3046\u3059\u3050\u5bff\u547d\u306e\u30c7\u30a3\u30b9\u30af\u3092\u3060\u307e\u3057\u3060\u307e\u3057\u4f7f\u304a\u3046\u3068\u3044\u3046\u8a71\u306a\u306e\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4f5c\u6210\u3057\u305f\u3002\u666e\u901a\u306b\u4f5c\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b3\u30de\u30f3\u30c9\u304c\u52d5\u304f\u3088\u3046\u306a\u306e\u3067\u3001\u305d\u308c\u3092\u305d\u306e\u307e\u307e\u8e0f\u8972\u3057\u3066\u5b9f\u884c\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\"># zpool create -o ashift=12 tank mirror \/dev\/sdc \/dev\/sdd mirror \/dev\/sda \/dev\/sdb\n# zfs set compression=on tank\n# systemctl enable zfs-import@tank.service<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"598\" src=\"http:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-3.png\" alt=\"\" class=\"wp-image-120\" srcset=\"https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-3.png 800w, https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-3-300x224.png 300w, https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-3-768x574.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u3067\u3001\u30dc\u30ed\u30dc\u30ed\u306e\u30c7\u30a3\u30b9\u30af4\u672c\u304c\u52a9\u3051\u3042\u3046pool\u304c\u4f5c\u6210\u3067\u304d\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">ZFS Pool\u306e\u6027\u80fd<\/h3>\n\n\n\n<p>\u3053\u306e\u30ce\u30fc\u30c9\u4e0a\u3067Samba\u306e\u30b3\u30f3\u30c6\u30ca\u3092\u52d5\u304b\u3057\u3066Windows\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u6027\u80fd\u3092\u898b\u3066\u307f\u305f\u3002Raspberrypi\u306a\u306e\u3067\u3001\u9014\u4e2d\u306eUSB\u306f5Gbps\u3001NW\u306f1Gbps\u3002\u307e\u305f\u30c7\u30a3\u30b9\u30af\u306b\u306fSATA300\u3082\u542b\u307e\u308c\u3066\u3044\u308b\u3002\u7d50\u679c\u306f\u4ee5\u4e0b\u3002Read\u306f\u30ed\u30fc\u30ab\u30ebHDD\u3068\u540c\u3058\u304f\u3089\u3044\u3060\u304cWrite\u6027\u80fd\u304c\u81f4\u547d\u7684\u306b\u9045\u3044\u3002\u5358\u4f53\u30c7\u30a3\u30b9\u30af\u306e1\/4\u304f\u3089\u3044\u306b\u306a\u3063\u3066\u3057\u307e\u3063\u3066\u3044\u308b\u3002\u5727\u7e2e\u304cON\u3068\u3044\u3046\u306e\u3082\u3042\u308b\u3051\u308c\u3069\u3082\u3001\u6700\u5927\u306e\u7406\u7531\u306f\u3001\u3053\u306eZFS Pool\u304cUSB\u306e\u5f8c\u308d\u306b\u3044\u308b\u305f\u3081\u3001\u66f8\u304d\u8fbc\u307f\u6642\u306b\u306f\u3001Mirror\u306e\u5834\u5408\u30012\u56de\u9806\u756a\u306b\u66f8\u304d\u8fbc\u3080\u305f\u3081\u3067\u3042\u308b\u3002RAID 10\u306eStriping\u3082\u4e26\u884c\u51e6\u7406\u3060\u304b\u3089\u901f\u304f\u306a\u308b\u306e\u3067\u3042\u3063\u3066\u3001\u51e6\u7406\u306e\u5fdc\u7b54\u3092\u5f85\u3063\u3066\u304b\u3089\u66f8\u304d\u8fbc\u3080\u306e\u3067\u306f\u3001\u307e\u3063\u305f\u304f\u610f\u5473\u304c\u306a\u3044\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3001USB\u63a5\u7d9a\u306e\u5148\u306ezfs\u306f\u5168\u304f\u610f\u5473\u304c\u306a\u3044\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u306e\u3060\u3051\u3069\u3001\u307e\u3042\u3001\u3082\u3068\u3082\u3068\u58ca\u308c\u304b\u3051\u30c7\u30a3\u30b9\u30af\u306e\u518d\u5229\u7528\u76ee\u7684\u306a\u306e\u3067(\u901f\u3055\u304c\u5fc5\u8981\u306a\u3089CephFS\u3092\u5229\u7528\u3059\u308c\u3070\u3088\u3044)\u3053\u308c\u306f\u3053\u308c\u3067\u3072\u3068\u307e\u305a\u3088\u3044\u3053\u3068\u306b\u3059\u308b\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"482\" height=\"352\" src=\"http:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-4.png\" alt=\"\" class=\"wp-image-121\" srcset=\"https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-4.png 482w, https:\/\/blog.takeh.org\/wp-content\/uploads\/2023\/10\/image-4-300x219.png 300w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Ceph\u306e\u8a2d\u5b9a\u3092\u6539\u3081\u3066\u3084\u308a\u76f4\u3057\u3066\u3044\u305f\u6642\u306b\u5bb9\u91cf\u304c\u30a2\u30f3\u30d0\u30e9\u30f3\u30b9\u3060\u3063\u305f\u306e\u3067\u3001\u4e2d\u53e4\u306eHDD\u3092\u8cfc\u5165\u3057\u3066\u4f59\u308a\u306eSSD\u3092\u6295\u5165\u3057\u3066\u518d\u8a2d\u5b9a\u3057\u305f\u3002\u305d\u306e\u969b\u306b\u30c7\u30a3\u30b9\u30af\u306e\u7f6e\u304d\u63db\u3048\u306e\u305f\u3081\u306b\u5927\u91cf\u306bHDD\u5185\u306e\u30c7\u30fc\u30bf\u3092\u30b3\u30d4\u30fc\u3057\u3066\u306f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3001\u5225\u306e\u30b5\u30fc\u30d0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[7,25],"class_list":["post-118","post","type-post","status-publish","format-standard","hentry","category-homelab","tag-proxmox","tag-zfs"],"_links":{"self":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=118"}],"version-history":[{"count":1,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/118\/revisions"}],"predecessor-version":[{"id":122,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=\/wp\/v2\/posts\/118\/revisions\/122"}],"wp:attachment":[{"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.takeh.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}