{"id":207567,"date":"2020-11-26T19:48:24","date_gmt":"2020-11-26T11:48:24","guid":{"rendered":"http:\/\/4563.org\/?p=207567"},"modified":"2020-11-27T13:57:31","modified_gmt":"2020-11-27T05:57:31","slug":"%e5%bc%80%e6%ba%90%e6%8a%80%e6%9c%af%e5%a4%9f%e7%94%a8%e4%ba%86%e4%b9%88%ef%bc%9f%e6%88%91%e7%9a%84-nas-%e9%80%89%e5%9e%8b%e4%b8%8e%e6%90%ad%e5%bb%ba%e8%bf%87%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=207567","title":{"rendered":"\u5f00\u6e90\u6280\u672f\u591f\u7528\u4e86\u4e48\uff1f\u6211\u7684 NAS \u9009\u578b\u4e0e\u642d\u5efa\u8fc7\u7a0b"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5f00\u6e90\u6280\u672f\u591f\u7528\u4e86\u4e48\uff1f\u6211\u7684 NAS \u9009\u578b\u4e0e\u642d\u5efa\u8fc7\u7a0b               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : LeanCloud <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4f5c\u8005\uff1aLeanCloud \u738b\u5b50\u4ead<\/p>\n<p>\u5728 2016 \u5e74\u6211\u62e5\u6709\u4e86\u7b2c\u4e00\u53f0 NAS \u2014\u2014 \u7fa4\u6656\u7684 DS215J\uff0c\u5176\u5b9e\u5728\u4e4b\u540e\u7684\u5f88\u957f\u4e00\u6bb5\u65f6\u95f4\u5176\u5b9e\u5e76\u6ca1\u6709\u6d3e\u4e0a\u591a\u5927\u7528\u573a\uff0c\u56e0\u4e3a\u6211\u7684\u6570\u636e\u5e76\u4e0d\u591a\uff0c\u5927\u90fd\u5b58\u50a8\u5728\u4e91\u7aef\uff0c\u66f4\u591a\u7684\u662f\u4f53\u9a8c\u4e00\u4e0b NAS \u7684\u529f\u80fd\u548c\u5de5\u4f5c\u6d41\u3002<\/p>\n<p>\u76f4\u5230\u6700\u8fd1\u6211\u624d\u5f00\u59cb\u771f\u6b63\u5730\u5c06 NAS \u5229\u7528\u4e0a\uff0c\u4e8e\u662f\u51c6\u5907\u5347\u7ea7\u4e00\u4e0b\uff0c\u4f46\u8003\u8651\u5230\u7fa4\u6656\u7684\u6027\u4ef7\u6bd4\u5b9e\u5728\u592a\u4f4e\uff0c\u518d\u52a0\u4e0a\u53bb\u5e74\u914d\u7f6e Linux \u8f6f\u8def\u7531\u8ba9\u6211\u5bf9\u57fa\u4e8e\u300c\u539f\u751f Linux \u300d\u7684\u5f00\u6e90\u89e3\u51b3\u65b9\u6848\u4fe1\u5fc3\u548c\u5174\u8da3\u5927\u589e\uff0c\u4e8e\u662f\u51c6\u5907\u81ea\u5df1 DIY \u4e00\u53f0 NAS\uff0c\u8ba1\u5212\u89e3\u51b3\u672a\u6765\u5341\u5e74\u7684\u5b58\u50a8\u9700\u6c42\u3002<\/p>\n<p>\u6211\u4f9d\u7136\u9009\u62e9\u4e86\u6211\u6700\u719f\u6089\u7684 Ubuntu \u4f5c\u4e3a\u64cd\u4f5c\u7cfb\u7edf\u3001Ansible \u4f5c\u4e3a\u914d\u7f6e\u7ba1\u7406\u5de5\u5177\uff0c\u56e0\u6b64\u8fd9\u4e2a NAS \u7684\u5927\u90e8\u5206\u914d\u7f6e\u90fd\u53ef\u4ee5\u5728\u6211\u7684 GitHub \u4e0a\u627e\u5230\u3002<\/p>\n<blockquote>\n<p>\u6ce8\u610f\u8fd9\u4e2a\u4ed3\u5e93\u4e2d\u7684 Ansible \u914d\u7f6e\u4ec5\u4f9b\u53c2\u8003\uff0c\u4e0d\u5efa\u8bae\u76f4\u63a5\u8fd0\u884c\uff0c\u56e0\u4e3a\u6211\u5728\u7f16\u5199\u8fd9\u4e9b\u914d\u7f6e\u65f6\u5e76\u672a\u5145\u5206\u8003\u8651\u517c\u5bb9\u6027\u548c\u53ef\u79fb\u690d\u6027\u3002<\/p>\n<\/blockquote>\n<h2>\u6587\u4ef6\u7cfb\u7edf<\/h2>\n<p>\u5bf9\u4e8e\u4e00\u53f0 NAS \u6765\u8bf4\u6700\u91cd\u8981\u7684\u5f53\u7136\u662f\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u9700\u8981\u592a\u591a\u8c03\u7814\u5c31\u53ef\u4ee5\u627e\u5230 ZFS \u2014\u2014 \u53ef\u80fd\u662f\u76ee\u524d\u5728\u6570\u636e\u53ef\u9760\u6027\u4e0a\u4e0b\u529f\u592b\u6700\u591a\u7684\u5355\u673a\u6587\u4ef6\u7cfb\u7edf\u4e86\uff0c\u4e8e\u662f\u6211\u7684\u6574\u4e2a\u9009\u578b\u5c31\u56f4\u7ed5 ZFS \u5c55\u5f00\u4e86\u3002<\/p>\n<p>ZFS \u65e2\u662f\u6587\u4ef6\u7cfb\u7edf\uff0c\u540c\u65f6\u53c8\u662f\u9635\u5217\uff08 RAID \uff09\u7ba1\u7406\u5668\uff0c\u8fd9\u4e3a\u5b83\u5e26\u6765\u4e86\u4e00\u4e9b\u5176\u4ed6\u6587\u4ef6\u7cfb\u7edf\u96be\u4ee5\u63d0\u4f9b\u7684\u80fd\u529b\uff1a<\/p>\n<ul>\n<li>ZFS \u4e3a\u6bcf\u4e2a\u5757\u90fd\u5b58\u50a8\u4e86\u6821\u9a8c\u548c\uff0c\u540c\u65f6\u4f1a\u5b9a\u671f\u626b\u63cf\u6574\u4e2a\u786c\u76d8\uff0c\u4ece RAID \u4e2d\u7684\u5176\u4ed6\u786c\u76d8\u4fee\u590d\u610f\u5916\u635f\u574f\u7684\u6570\u636e\uff08\u5982\u5b87\u5b99\u5c04\u7ebf\u5bfc\u81f4\u7684\u6bd4\u7279\u7ffb\u8f6c\uff09\u3002<\/li>\n<li>\u5728 RAID \u7684\u57fa\u7840\u4e0a\u53ef\u4ee5 \u6307\u5b9a\u67d0\u4e9b\u76ee\u5f55\u4ee5\u66f4\u591a\u7684\u4efd\u6570\u5197\u4f59\u5b58\u50a8\uff0c\u5bf9\u4e8e\u91cd\u8981\u7684\u6570\u636e\u5373\u4f7f\u635f\u574f\u7684\u786c\u76d8\u8d85\u8fc7\u4e86 RAID \u65b9\u6848\u7684\u9650\u5236\uff0c\u4f9d\u7136\u6709\u53ef\u80fd\u627e\u56de\u3002<\/li>\n<\/ul>\n<p>ZFS \u8fd8\u652f\u6301\u6570\u636e\u52a0\u5bc6\u3001\u538b\u7f29\u548c\u53bb\u91cd\uff0c\u8fd9\u4e09\u9879\u529f\u80fd\u4ee5\u4e00\u79cd\u5de7\u5999\u7684\u987a\u5e8f\u5de5\u4f5c\uff0c\u5e76\u4e0d\u4f1a\u4e92\u76f8\u51b2\u7a81\uff0c\u540c\u65f6\u8fd9\u4e9b\u6240\u6709\u9009\u9879\u90fd\u53ef\u4ee5\u8bbe\u7f6e\u5728\u76ee\u5f55\uff08 dataset \uff09\u7ea7\u522b\u3001\u53ef\u4ee5\u968f\u65f6\u66f4\u6539\uff08\u53ea\u5bf9\u65b0\u6570\u636e\u751f\u6548\uff09\u3002<\/p>\n<p>ZFS \u5f53\u7136\u4e5f\u652f\u6301\u5feb\u7167\uff0c\u5feb\u7167\u53ef\u4ee5\u88ab\u5bfc\u51fa\u4e3a\u4e8c\u8fdb\u5236\u6d41\uff0c\u88ab\u5b58\u50a8\u5230\u4efb\u4f55\u5730\u65b9\u3002\u8fd9\u4e2a\u529f\u80fd\u53ef\u4ee5\u8ba9\u4f60\u5728\u4e0d\u4e22\u5931\u4efb\u4f55\u5143\u4fe1\u606f\u7684\u60c5\u51b5\u4e0b\u5bf9 ZFS \u7684\u6587\u4ef6\u7cfb\u7edf\u8fdb\u884c\u5907\u4efd\u3001\u4f20\u8f93\u548c\u6062\u590d\u3002<\/p>\n<h2>\u786c\u4ef6<\/h2>\n<p>\u6211\u5e76\u4e0d\u64c5\u957f\u6dd8\u786c\u4ef6\uff0c\u4e8e\u662f\u5c31\u9009\u62e9\u4e86 HPE \u7684 MicroServer Gen10\uff0c\u4e00\u4e2a\u56db\u76d8\u4f4d\u7684\u6210\u54c1\u5fae\u578b\u670d\u52a1\u5668\uff0cCPU \u662f AMD X3421\uff0c8G ECC \u5185\u5b58\uff0c\u4e5f\u662f\u6807\u51c6\u7684 x86 \u901a\u7528\u786c\u4ef6\uff0c\u5e94\u8be5\u4e0d\u592a\u5bb9\u6613\u9047\u5230\u5751\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/66436559a07e4f4e9574951ed7dfff55tplv-k3u1fbpfcp-zoom-1.image_.png\" alt=\"\u5f00\u6e90\u6280\u672f\u591f\u7528\u4e86\u4e48\uff1f\u6211\u7684 NAS \u9009\u578b\u4e0e\u642d\u5efa\u8fc7\u7a0b\" \/><\/p>\n<p>\u6211\u7528\u8f6c\u63a5\u5361\u5728 PCI-E \u63d2\u69fd\u4e0a\u88c5\u4e86\u4e00\u5757 NVME SSD\uff0c\u7528\u4f5c\u7cfb\u7edf\u76d8\u548c ZFS \u7684\u8bfb\u7f13\u5b58\uff08 L2ARC\uff0c\u4e0d\u8fc7\u4ece\u540e\u9762\u7684\u7edf\u8ba1\u6765\u770b\u6548\u679c\u5e76\u4e0d\u660e\u663e\uff09\uff0c\u6570\u636e\u76d8\u5219\u6682\u65f6\u7528\u7684\u662f\u65e7\u7684\u786c\u76d8\uff0c\u6700\u7ec8\u4f1a\u5347\u7ea7\u5230\u56db\u5757 4T \u7684\u786c\u76d8\u3002\u8fd9\u91cc\u9700\u8981\u6ce8\u610f\u7684\u662f\u56e0\u4e3a ZFS \u4e0d\u652f\u6301\u66f4\u6539 RAID \u7684\u7ed3\u6784\uff0c\u6240\u4ee5\u5fc5\u987b\u5728\u4e00\u5f00\u59cb\u5c31\u914d\u7f6e\u8db3\u591f\u7684\u786c\u76d8\u6765\u5360\u4f4d\uff0c\u540e\u7eed\u518d\u5347\u7ea7\u5bb9\u91cf\uff0c\u6211\u751a\u81f3\u7528 USB \u63a5\u4e86\u4e00\u5757\u79fb\u52a8\u786c\u76d8\u6765\u51d1\u6570\u3002<\/p>\n<h2>ZFS<\/h2>\n<p>\u56e0\u4e3a\u662f\u56db\u76d8\u4f4d\uff0c\u6240\u4ee5\u6211\u91c7\u7528\u4e86 raidz1 \uff08 RAID5 \uff09\uff0c\u5197\u4f59\u4e00\u5757\u76d8\u4f5c\u4e3a\u6821\u9a8c\uff0c\u5982\u679c\u6700\u7ec8\u6240\u6709\u7684\u76d8\u90fd\u5347\u7ea7\u5230 4T\uff0c\u4e00\u5171\u662f 12T \u7684\u5b9e\u9645\u53ef\u7528\u5bb9\u91cf\u3002<\/p>\n<pre><code>[email&#160;protected]:~# zpool status   pool: storage  state: ONLINE config:     NAME                                 STATE     READ WRITE CKSUM     storage                              ONLINE       0     0     0       raidz1-0                           ONLINE       0     0     0         sda                              ONLINE       0     0     0         sdb                              ONLINE       0     0     0         sdc                              ONLINE       0     0     0         sdd                              ONLINE       0     0     0     cache       nvme0n1p4                          ONLINE       0     0     0  [email&#160;protected]:~# zpool list NAME      SIZE  ALLOC   FREE  CKPOINT   FRAG    CAP  DEDUP    HEALTH storage  7.27T  3.52T  3.75T        -    10%    48%  1.00x    ONLINE <\/code><\/pre>\n<blockquote>\n<p>\u901a\u5e38\u8ba4\u4e3a RAID5 \u5728\u51fa\u73b0\u786c\u76d8\u6545\u969c\u7684\u6062\u590d\u8fc7\u7a0b\u4e2d\u5b58\u5728\u7740\u8f83\u9ad8\u7684\u98ce\u9669\u53d1\u751f\u7b2c\u4e8c\u5757\u76d8\u6545\u969c\u3001\u6700\u7ec8\u4e22\u5931\u6570\u636e\u7684\u7684\u60c5\u51b5\uff1b\u6216\u8005\u786c\u76d8\u4e0a\u7684\u6570\u636e\u968f\u7740\u65f6\u95f4\u63a8\u79fb\u53d1\u751f\u6bd4\u7279\u7ffb\u8f6c\u5bfc\u81f4\u6570\u636e\u635f\u574f\u3002\u4f46\u8003\u8651\u5230 ZFS \u4f1a\u5b9a\u671f\u505a\u6570\u636e\u6821\u9a8c\u6765\u4fdd\u8bc1\u6570\u636e\u7684\u6b63\u786e\u6027\uff0c\u518d\u7efc\u5408\u8003\u8651\u76d8\u4f4d\u6570\u91cf\u548c\u5bb9\u91cf\uff0c\u6211\u8ba4\u4e3a\u8fd9\u4e2a\u98ce\u9669\u8fd8\u662f\u53ef\u4ee5\u63a5\u53d7\u7684\uff0c\u540e\u9762\u4e5f\u4f1a\u63d0\u5230\u8fd8\u6709\u5f02\u5730\u5907\u4efd\u4f5c\u4e3a\u515c\u5e95\u63aa\u65bd\u3002<\/p>\n<\/blockquote>\n<p>\u6211\u5f00\u542f\u4e86 ZFS \u7684\u52a0\u5bc6\u529f\u80fd\uff0c\u4f46\u8fd9\u5e26\u6765\u4e86\u4e00\u4e2a\u95ee\u9898\uff1a\u6211\u4e0d\u80fd\u628a\u5bc6\u94a5\u4ee5\u660e\u6587\u7684\u65b9\u5f0f\u5b58\u50a8\u5728 NAS \u7684\u7cfb\u7edf\u76d8 \u2014\u2014 \u5426\u5219\u5bc6\u94a5\u548c\u5bc6\u6587\u653e\u5728\u4e00\u8d77\u7684\u8bdd\uff0c\u8fd9\u4e2a\u52a0\u5bc6\u5c31\u5931\u53bb\u610f\u4e49\u4e86\u3002\u6240\u4ee5\u6bcf\u6b21 NAS \u91cd\u542f\u540e\uff0c\u90fd\u9700\u8981\u6211\u4eb2\u81ea\u8f93\u5165\u5bc6\u7801\u3001\u6302\u8f7d ZFS \u7684 dataset\uff0c\u7136\u540e\u518d\u542f\u52a8\u5176\u4ed6\u4f9d\u8d56\u5b58\u50a8\u6c60\u7684\u670d\u52a1\u3002<\/p>\n<p>\u6211\u8fd8\u5f00\u542f\u4e86 ZFS \u7684\u6570\u636e\u538b\u7f29\uff0c\u9ed8\u8ba4\u7684 lz4 \u53ea\u4f1a\u5360\u7528\u5c11\u91cf\u7684 CPU \u5374\u53ef\u4ee5\u5728\u4e00\u4e9b\u60c5\u51b5\u4e0b\u63d0\u9ad8 IO \u6027\u80fd \u2014\u2014 \u56e0\u4e3a\u9700\u8981\u8bfb\u53d6\u7684\u6570\u636e\u91cf\u53d8\u5c11\u4e86\u3002\u56e0\u4e3a\u53bb\u91cd\u5bf9\u8d44\u6e90\u7684\u9700\u6c42\u8f83\u9ad8\uff0c\u76f8\u5f53\u4e8e\u9700\u8981\u4e3a\u6574\u4e2a\u786c\u76d8\u5efa\u7acb\u4e00\u4e2a\u7d22\u5f15\u6765\u627e\u5230\u91cd\u590d\u7684\u5757\uff0c\u6211\u5e76\u6ca1\u6709\u5f00\u542f\u53bb\u91cd\u529f\u80fd\u3002<\/p>\n<blockquote>\n<p>\u4e00\u4e9b\u8bc4\u8bba\u8ba4\u4e3a ZFS \u5bf9\u5185\u5b58\u7684\u9700\u6c42\u9ad8\u3001\u5fc5\u987b\u4f7f\u7528 ECC \u5185\u5b58\u3002\u8fd9\u5176\u5b9e\u662f\u4e00\u79cd\u8bef\u89e3\uff1a\u66f4\u591a\u7684\u5185\u5b58\u53ef\u4ee5\u63d0\u5347 ZFS \u7684\u6027\u80fd\uff0cECC \u5219\u53ef\u4ee5\u907f\u514d\u7cfb\u7edf\u4e2d\u6240\u6709\u5e94\u7528\u9047\u5230\u5185\u5b58\u9519\u8bef\uff0c\u4f46\u8fd9\u4e9b\u5e76\u4e0d\u662f\u5fc5\u987b\u7684\uff0c\u5373\u4f7f\u6ca1\u6709\u66f4\u591a\u7684\u5185\u5b58\u6216 ECC\uff0cZFS \u4f9d\u7136\u6709\u7740\u4e0d\u8f93\u5176\u4ed6\u6587\u4ef6\u7cfb\u7edf\u7684\u6027\u80fd\u548c\u6570\u636e\u5b8c\u6574\u6027\u4fdd\u8bc1\u3002<\/p>\n<\/blockquote>\n<h2>\u5b58\u50a8\u670d\u52a1<\/h2>\n<blockquote>\n<p>\u5c0f\u77e5\u8bc6\uff1aSMB \u662f\u76ee\u524d\u5e94\u7528\u5f97\u6700\u5e7f\u6cdb\u7684\u5c40\u57df\u7f51\u6587\u4ef6\u5171\u4eab\u534f\u8bae\uff0c\u5728\u4e3b\u6d41\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u90fd\u6709\u5185\u5efa\u7684\u652f\u6301\u3002CIFS \u662f\u5fae\u8f6f\uff08 Windows \uff09\u5bf9 SMB \u7684\u4e00\u4e2a\u5b9e\u73b0\uff0c\u800c\u6211\u4eec\u4f1a\u7528\u5230\u7684 Samba \u662f\u53e6\u4e00\u4e2a\u5b9e\u73b0\u4e86 SMB \u534f\u8bae\u7684\u81ea\u7531\u8f6f\u4ef6\u3002<\/p>\n<\/blockquote>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/4c2cb33c7fd24a42aae184323f1563f5tplv-k3u1fbpfcp-zoom-1.image_.png\" alt=\"\u5f00\u6e90\u6280\u672f\u591f\u7528\u4e86\u4e48\uff1f\u6211\u7684 NAS \u9009\u578b\u4e0e\u642d\u5efa\u8fc7\u7a0b\" \/><\/p>\n<p>\u4f5c\u4e3a NAS \u6700\u6838\u5fc3\u7684\u529f\u80fd\u5c31\u662f\u901a\u8fc7 SMB \u534f\u8bae\u5411\u5916\u63d0\u4f9b\u5b58\u50a8\u670d\u52a1\uff0c\u6240\u6709\u7684\u6210\u54c1 NAS \u90fd\u6709\u4e30\u5bcc\u7684\u9009\u9879\u6765\u914d\u7f6e SMB \u7684\u529f\u80fd\uff0c\u4f46\u6211\u4eec\u5c31\u53ea\u80fd\u76f4\u63a5\u53bb\u7f16\u8f91 Samba \u7684\u914d\u7f6e\u6587\u4ef6\u4e86\uff0cSamba \u76f4\u63a5\u91c7\u7528\u4e86 Linux \u7684\u7528\u6237\u548c\u6587\u4ef6\u6743\u9650\u673a\u5236\uff0c\u914d\u7f6e\u8d77\u6765\u4e5f\u4e0d\u7b97\u592a\u9ebb\u70e6\uff1a<\/p>\n<pre><code># \u53ef\u4ee5\u5728 path \u4e2d\u4f7f\u7528\u5360\u4f4d\u7b26\u6765\u4e3a\u6bcf\u4e2a\u7528\u6237\u63d0\u4f9b\u5355\u72ec\u7684 Home \u76ee\u5f55 # \u53ef\u4ee5\u5728 valid users \u4e2d\u4f7f\u7528\u7528\u6237\u7ec4\u6765\u63a7\u5236\u53ef\u8bbf\u95ee\u7684\u7528\u6237 [Home] path = \/storage\/private\/homes\/%U writeable = yes valid users = @staff  # Samba \u9ed8\u8ba4\u4ee5\u767b\u5f55\u7528\u6237\u521b\u5efa\u6587\u4ef6\uff0c\u4f46 NextCloud \u4ee5 www-data \u8fd0\u884c\uff0c\u53ef\u4ee5\u7528 force user \u8986\u76d6\u4e3a\u7279\u5b9a\u7684\u7528\u6237 [NextCloud] path = \/storage\/nextcloud\/data\/%U\/files writeable = yes valid users = @staff force user = www-data  # \u901a\u8fc7\u8fd9\u4e9b\u8bbe\u7f6e\u53ef\u4ee5\u8ba9 macOS \u7684 TimeMachine \u4e5f\u901a\u8fc7 SMB \u8fdb\u884c\u5907\u4efd # \u8be6\u89c1 https:\/\/www.reddit.com\/r\/homelab\/comments\/83vkaz\/howto_make_time_machine_backups_on_a_samba\/ [TimeMachine] path = \/storage\/backups\/timemachines\/%U writable = yes valid users = @staff durable handles = yes kernel oplocks = no kernel share modes = no posix locking = no vfs objects = catia fruit streams_xattr ea support = yes inherit acls = yes fruit:time machine = yes  # \u5bf9\u4e8e\u5171\u4eab\u7684\u76ee\u5f55\u53ef\u4ee5\u7528 force group \u8986\u76d6\u6587\u4ef6\u7684\u6240\u5c5e\u7ec4\u3001\u7528 create mask \u8986\u76d6\u6587\u4ef6\u7684\u6743\u9650\u4f4d [VideoWorks] path = \/storage\/shares\/VideoWorks writeable = yes valid users = @staff force group = staff create mask = 0775  # \u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u6e38\u5ba2\u53ef\u8bfb\u3001\u6307\u5b9a\u7528\u6237\u7ec4\u53ef\u5199\u7684\u516c\u5f00\u76ee\u5f55 [Resources] path = \/storage\/public\/Resources guest ok = yes write list = @staff force group = +staff create mask = 0775 <\/code><\/pre>\n<p>\u4ece\u4e0a\u9762\u7684\u914d\u7f6e\u4e2d\u4e5f\u53ef\u4ee5\u770b\u5230\u8fd9\u4e9b\u5171\u4eab\u76ee\u5f55\u5206\u6563\u5728\u51e0\u4e2a\u4e0d\u540c\u7684\u8def\u5f84\uff0c\u4e3a\u4e86\u5339\u914d\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u3001\u65b9\u4fbf\u5728\u76ee\u5f55\u7ea7\u522b\u8fdb\u884c\u5355\u72ec\u8bbe\u7f6e\uff0c\u6211\u5212\u5206\u4e86\u51e0\u4e2a dataset:<\/p>\n<ul>\n<li><code>db<\/code> \u5b58\u653e\u5e94\u7528\u7684\u6570\u636e\u5e93\u6587\u4ef6\uff0c\u5c06 recordsize \u8bbe\u7f6e\u4e3a\u4e86 8k \uff08\u9ed8\u8ba4 128k \uff09\u3002<\/li>\n<li><code>nextcloud<\/code> NextCloud \u7684\u6570\u636e\u76ee\u5f55\uff0c\u4e5f\u53ef\u88ab SMB \u8bbf\u95ee\u3002<\/li>\n<li><code>private<\/code> \u6bcf\u4e2a\u7528\u6237\u7684\u4e2a\u4eba\u6587\u4ef6\u3002<\/li>\n<li><code>shares<\/code> \u5bb6\u5ead\u5185\u90e8\u5171\u4eab\u7684\u6587\u4ef6\uff08\u5982\u62cd\u6444\u7684\u89c6\u9891\uff09\u3002<\/li>\n<li><code>public<\/code> \u53ef\u4ee5\u4ece\u4e92\u8054\u7f51\u4e0a\u4e0b\u8f7d\u5230\u7684\u6587\u4ef6\uff0c\u4e0d\u53c2\u4e0e\u5f02\u5730\u5907\u4efd\u3002<\/li>\n<li><code>backups<\/code> \u5907\u4efd\uff08 Time Machine \u7b49\uff09\uff0c\u4e0d\u53c2\u4e0e\u5f02\u5730\u5907\u4efd\u3002<\/li>\n<\/ul>\n<pre><code>[email&#160;protected]:~# zfs list NAME                USED  AVAIL     REFER  MOUNTPOINT storage            2.27T   286G      169K  \/storage storage\/backups     793G   286G      766G  \/storage\/backups storage\/db          741M   286G      339M  \/storage\/db storage\/nextcloud   207G   286G      207G  \/storage\/nextcloud storage\/private    62.2G   286G     62.2G  \/storage\/private storage\/public      648G   286G      613G  \/storage\/public storage\/shares      615G   286G      609G  \/storage\/shares <\/code><\/pre>\n<h2>\u5e94\u7528<\/h2>\n<p>\u9996\u5148\u6211\u5b89\u88c5\u4e86 Netdata\uff0c\u8fd9\u662f\u4e00\u4e2a\u5f00\u7bb1\u5373\u7528\u7684\u76d1\u63a7\u5de5\u5177\uff0c\u5728\u4ec5\u5360\u7528\u5c11\u91cf\u8d44\u6e90\u7684\u60c5\u51b5\u4e0b\u63d0\u4f9b\u79d2\u7ea7\u7cbe\u5ea6\u7684\u5927\u91cf\u7edf\u8ba1\u6307\u6807\uff0c\u975e\u5e38\u9002\u5408\u7528\u4e8e\u76d1\u63a7\u5355\u53f0\u670d\u52a1\u5668\u7684\u6027\u80fd\u74f6\u9888\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/e66e6cd90a0c4b1b9ad332dedfef1140tplv-k3u1fbpfcp-zoom-1.image_.png\" alt=\"\u5f00\u6e90\u6280\u672f\u591f\u7528\u4e86\u4e48\uff1f\u6211\u7684 NAS \u9009\u578b\u4e0e\u642d\u5efa\u8fc7\u7a0b\" \/><\/p>\n<p>\u5176\u4f59\u7684\u5e94\u7528\u90fd\u88ab\u6211\u8fd0\u884c\u5728\u4e86 Docker \u4e2d\uff08\u4f7f\u7528 docker-compose \u6765\u7ba1\u7406\uff09\uff0c\u8fd9\u6837\u53ef\u4ee5\u9694\u79bb\u5e94\u7528\u7684\u8fd0\u884c\u73af\u5883\uff0c\u63d0\u5347\u5bbf\u4e3b\u673a\u7684\u7a33\u5b9a\u6027\uff0c\u5b89\u88c5\u3001\u5347\u7ea7\u3001\u5378\u8f7d\u5e94\u7528\u4e5f\u4f1a\u66f4\u65b9\u4fbf\u3002<\/p>\n<p>\u5176\u4e2d\u6700\u91cd\u8981\u7684\u4e00\u4e2a\u5e94\u7528\u662f NextCloud\uff0c\u8fd9\u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u540c\u6b65\u76d8\uff0c\u6211\u4e3b\u8981\u770b\u4e2d\u5b83\u7684 iOS \u5e94\u7528\u548c iOS \u6709\u4e0d\u9519\u7684\u6574\u5408\uff0c\u53ef\u4ee5\u6b63\u786e\u5730\u540c\u6b65 Live Photo\uff0c\u4e5f\u53ef\u4ee5\u5728 iOS \u7684\u6587\u4ef6\u5e94\u7528\u4e2d\u88ab\u8c03\u7528\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/7c9b96efd251425a8941bbbca580b683tplv-k3u1fbpfcp-zoom-1.image_.png\" alt=\"\u5f00\u6e90\u6280\u672f\u591f\u7528\u4e86\u4e48\uff1f\u6211\u7684 NAS \u9009\u578b\u4e0e\u642d\u5efa\u8fc7\u7a0b\" \/><\/p>\n<p>NextCloud \u670d\u52a1\u7aef\u4f1a\u76f4\u63a5\u8bfb\u5199\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\uff0c\u800c\u4e0d\u662f\u5c06\u6587\u4ef6\u5b58\u50a8\u5728\u6570\u636e\u5e93\u91cc\uff0c\u8fd9\u610f\u5473\u7740 NextCloud \u7684\u6570\u636e\u76ee\u5f55\u540c\u65f6\u4e5f\u53ef\u4ee5\u901a\u8fc7 Samba \u6765\u8bbf\u95ee\uff0c\u8fd9\u4e00\u70b9\u975e\u5e38\u65b9\u4fbf\uff08\u4e0d\u8fc7\u9700\u8981\u4e00\u4e2a\u5b9a\u65f6\u4efb\u52a1\u6765\u5237\u65b0 NextCloud \u6570\u636e\u5e93\u4e2d\u7684\u5143\u4fe1\u606f\uff09\u3002<\/p>\n<p>\u6211\u8fd8\u5728 Docker \u4e2d\u8fd0\u884c\u4e86\u8fd9\u4e9b\u670d\u52a1\uff0c\u5b83\u4eec\u90fd\u662f\u5f00\u6e90\u7684\uff1a<\/p>\n<ul>\n<li>Miniflux\uff0c\u4e00\u4e2a RSS \u670d\u52a1\u7aef\uff0c\u901a\u8fc7 Fever API \u652f\u6301\u7edd\u5927\u90e8\u5206\u7684 RSS \u5ba2\u6237\u7aef\u3002<\/li>\n<li>Bitwarden\uff08\u975e\u5b98\u65b9\u5b9e\u73b0\uff09\uff0c\u4e00\u4e2a\u5bc6\u7801\u7ba1\u7406\u5668\uff0c\u63d0\u4f9b\u6709\u5404\u5e73\u53f0\u7684\u5ba2\u6237\u7aef\u548c\u6d4f\u89c8\u5668\u63d2\u4ef6\u3002<\/li>\n<li>Transmission\uff0c\u4e00\u4e2a BitTorrent \u5ba2\u6237\u7aef\uff0c\u63d0\u4f9b\u57fa\u4e8e Web \u7684\u7ba1\u7406\u754c\u9762\u3002<\/li>\n<\/ul>\n<h2>\u5916\u90e8\u8bbf\u95ee<\/h2>\n<p>\u5982\u679c\u8981\u771f\u6b63\u5730\u7528 NAS \u6765\u66ff\u4ee3\u7f51\u76d8\u7684\u8bdd\uff0c\u8fd8\u662f\u9700\u8981\u4fdd\u8bc1\u4e0d\u5728\u5bb6\u91cc\u7684\u5185\u7f51\u7684\u65f6\u5019\u4e5f\u53ef\u4ee5\u8bbf\u95ee\u5230\u6587\u4ef6\u7684\u3002<\/p>\n<p>\u901a\u5e38\u7684\u505a\u6cd5\u662f\u4f7f\u7528 DDNS \uff08\u52a8\u6001 DNS \uff09\u5c06\u4e00\u4e2a\u57df\u540d\u89e3\u6790\u81f3\u5bb6\u5ead\u5bbd\u5e26\u7684 IP\uff0c\u8fd9\u8981\u6c42\u5bb6\u5ead\u5bbd\u5e26\u6709\u516c\u7f51 IP\uff0c\u800c\u4e14\u8fd0\u8425\u5546\u5141\u8bb8\u5728 80 \u6216 443 \u7aef\u53e3\u63d0\u4f9b Web \u670d\u52a1\u3002\u6211\u4e0d\u60f3\u4f9d\u8d56\u8fd9\u4e00\u70b9\uff0c\u6240\u4ee5\u60f3\u5230\u4e86\u7528 frp \u6765\u8fdb\u884c\u300c\u53cd\u5411\u4ee3\u7406\u300d\uff0c\u5982\u679c\u4f60\u786e\u5b9e\u6709\u516c\u7f51 IP \u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528 DDNS \u7684\u65b9\u6848\uff0c\u8fd9\u6837\u4f1a\u7701\u53bb\u4e00\u4e2a\u4e2d\u8f6c\u670d\u52a1\u5668\uff0c\u4e5f\u53ef\u4ee5\u6709\u66f4\u597d\u7684\u901f\u5ea6\u3002<\/p>\n<p>\u4e3a\u4e86\u8ba9 NextCloud \u80fd\u6709\u4e00\u4e2a\u56fa\u5b9a\u7684\u5730\u5740\uff08\u5982 <code>https:\/\/nextcloud.example.com<\/code>\uff09\u6211\u5c06\u57df\u540d\u5728\u5185\u5916\u7f51\u5206\u522b\u8fdb\u884c\u4e86\u89e3\u6790\uff0c\u5728\u5bb6\u65f6\u89e3\u6790\u5230\u5185\u7f51\u5730\u5740\uff0c\u5728\u5916\u89e3\u6790\u5230\u4e2d\u8f6c\u670d\u52a1\u5668\u3002\u65e0\u8bba\u662f\u5185\u5916\u7f51\uff0c\u6570\u636e\u6d41\u90fd\u4f1a\u7ecf\u8fc7 Let\u2019s Encrypt \u7684 SSL \u52a0\u5bc6\uff0c\u8fd9\u6837\u5c31\u4e0d\u9700\u8981\u4e2d\u8f6c\u670d\u52a1\u5668\u6709\u8f83\u9ad8\u7684\u5b89\u5168\u4fdd\u8bc1\u3002<\/p>\n<p>\u867d\u7136\u4e0d\u9700\u8981\u5148\u62e8\u4e00\u4e2a VPN \u786e\u5b9e\u5f88\u65b9\u4fbf\uff0c\u4f46\u5c06 NextCloud \u5f00\u653e\u5728\u516c\u7f51\u4e0a \u5e76\u4e0d\u5b89\u5168\uff0c\u5728\u793e\u533a\u4e2d\u5df2\u6709\u7528\u6237 \u8981\u6c42 NextCloud \u5ba2\u6237\u7aef\u652f\u6301\u53cc\u5411 SSL \u8ba4\u8bc1\uff0c\u6211\u4e5f\u975e\u5e38\u671f\u5f85\u8fd9\u4e2a\u529f\u80fd\uff0c\u53ef\u4ee5\u5728\u516c\u7f51\u8bbf\u95ee\u4e0a\u63d0\u4f9b\u66f4\u597d\u7684\u5b89\u5168\u6027\u3002<\/p>\n<p>\u6211\u8fd8\u5728 NAS \u4e0a\u5b89\u88c5\u4e86 WireGuard\uff0c\u8fd9\u662f\u4e00\u4e2a\u5185\u5efa\u5728 Linux \u5185\u6838\u4e2d\u7684 VPN \u6a21\u5757\uff0c\u540c\u6837\u901a\u8fc7 frp \u66b4\u9732\u5728\u5916\u7f51\uff0c\u9664\u4e86 NextCloud \u4e4b\u5916\u7684\u670d\u52a1\uff0c\u5982 SMB \u3001SSH \u548c Nextdata \u90fd\u53ef\u4ee5\u901a\u8fc7 WireGuard \u6765\u8bbf\u95ee\u3002<\/p>\n<p>\u5982\u679c\u4f60\u4e0d\u6267\u7740\u4e8e\u5f00\u6e90\u65b9\u6848\u7684\u8bdd\uff0c\u4e5f\u53ef\u4ee5\u8bd5\u8bd5 ZeroTier\uff0c\u5b83\u63d0\u4f9b\u4e86 NAT \u7a7f\u900f\u7684\u80fd\u529b\uff0c\u8ba9\u4f60\u7684\u8bbe\u5907\u548c NAS \u4e4b\u95f4\u53ef\u4ee5\u4e0d\u501f\u52a9\u4e2d\u8f6c\u670d\u52a1\u5668\u76f4\u63a5\u4f20\u8f93\uff0c\u6539\u5584\u8fde\u63a5\u901f\u5ea6\u3002<\/p>\n<h2>\u5907\u4efd\u548c\u6570\u636e\u5b8c\u6574\u6027<\/h2>\n<p>\u5728 raidz1 \u7684\u57fa\u7840\u4e0a\uff0c\u6211\u8bbe\u7f6e\u4e86\u5b9a\u65f6\u4efb\u52a1\u8ba9 ZFS \u6bcf\u5929\u751f\u6210\u4e00\u4e2a\u5feb\u7167\uff0c\u8fd8\u5199\u4e86\u4e00\u4e2a\u811a\u672c\u6765\u6309\u7167\u7c7b\u4f3c Time Machine \u7684\u89c4\u5219\u6765\u6e05\u7406\u5907\u4efd\uff1a\u4fdd\u7559\u6700\u8fd1\u4e00\u5468\u7684\u6bcf\u5929\u5feb\u7167\u3001\u6700\u8fd1\u4e00\u4e2a\u6708\u7684\u6bcf\u5468\u5feb\u7167\u3001\u6700\u8fd1\u4e00\u5e74\u7684\u6bcf\u6708\u5feb\u7167\u3001\u4ee5\u53ca\u6bcf\u5e74\u7684\u5feb\u7167\u3002<\/p>\n<pre><code>[email&#160;protected]:~# zfs list storage\/nextcloud -t snapshot NAME                           USED  AVAIL     REFER  MOUNTPOINT storage\/[email&#160;protected]  83.9M      -      182G  - storage\/[email&#160;protected]  35.2M      -      207G  - storage\/[email&#160;protected]  30.2M      -      207G  - storage\/[email&#160;protected]  29.7M      -      207G  - storage\/[email&#160;protected]  29.3M      -      207G  - storage\/[email&#160;protected]  28.2M      -      207G  - storage\/[email&#160;protected]  28.2M      -      207G  - storage\/[email&#160;protected]  29.1M      -      207G  - storage\/[email&#160;protected]  33.5M      -      207G  - <\/code><\/pre>\n<p>\u5feb\u7167\u4e3b\u8981\u662f\u4e3a\u4e86\u9632\u6b62\u4eba\u5de5\u7684\u8bef\u64cd\u4f5c\uff0c\u9664\u4e86\u5355\u7eaf\u7684\u3001\u5f53\u573a\u5c31\u80fd\u53d1\u73b0\u7684\u624b\u6ed1\u4e4b\u5916\uff0c\u6709\u65f6\u4f60\u4f1a\u8bef\u4ee5\u4e3a\u4f60\u4e0d\u4f1a\u7528\u5230\u8fd9\u4e2a\u6587\u4ef6\u800c\u5c06\u5b83\u5220\u9664\uff0c\u76f4\u5230\u5f88\u4e45\u4e4b\u540e\u624d\u53d1\u73b0\u5e76\u975e\u5982\u6b64\u3002<\/p>\n<p>\u540c\u65f6\u6bcf\u5468\u4f1a\u6709\u5b9a\u65f6\u4efb\u52a1\u4f7f\u7528 restic \u5907\u4efd\u4e00\u4e2a\u5feb\u7167\u5230 Backblaze B2 \u4f5c\u4e3a\u5f02\u5730\u5907\u4efd\uff0c\u8fd9\u662f\u4e00\u4e2a\u4ef7\u683c\u8f83\u4f4e\u7684\u5bf9\u8c61\u5b58\u50a8\uff0c\u975e\u5e38\u9002\u5408\u5907\u4efd\u3002restic \u652f\u6301\u589e\u91cf\u7684\u5feb\u7167\u5907\u4efd\uff0c\u4e5f\u652f\u6301\u52a0\u5bc6\u3002\u51fa\u4e8e\u6210\u672c\u8003\u8651\uff0c\u5f02\u5730\u5907\u4efd\u4ec5\u5305\u62ec\u7531\u6211\u4ea7\u751f\u7684\u6570\u636e\uff0c\u5e76\u4e0d\u5305\u62ec public \u548c backups \u76ee\u5f55\u3002<\/p>\n<p>\u6211\u66fe\u8003\u8651\u8fc7\u76f4\u63a5\u5728\u8fdc\u7aef\u8fd0\u884c\u4e00\u4e2a ZFS \u6765\u8fdb\u884c\u5907\u4efd\uff0czfs send \/ recv \u652f\u6301\u4ee5\u4e8c\u8fdb\u5236\u6d41\u7684\u5f62\u5f0f\u4f20\u8f93\u4e00\u4e2a\u5feb\u7167 \u2014\u2014 \u4e0d\u9700\u8981\u8fdc\u7aef\u5b89\u88c5\u5176\u4ed6\u4efb\u4f55\u7684\u5de5\u5177\uff0c\u53ea\u9700\u8981\u7528 shell \u7684\u7ba1\u9053\u64cd\u4f5c\u7b26\u5c06 zfs send \u7684\u5b57\u8282\u6d41\u91cd\u5b9a\u5411\u5230 ssh \u547d\u4ee4\u5373\u53ef\u3002\u8fd9\u4e2a\u65b9\u6848\u975e\u5e38\u5177\u6709\u6280\u672f\u7f8e\u611f\uff0c\u4f46\u8003\u8651\u5230\u5757\u5b58\u50a8\u7684\u4ef7\u683c\u662f\u5bf9\u8c61\u5b58\u50a8\u7684\u5341\u500d\u4ee5\u4e0a\uff0c\u6700\u540e\u8fd8\u662f\u653e\u5f03\u4e86\u8fd9\u4e2a\u65b9\u6848\u3002<\/p>\n<h2>\u6210\u672c\u6838\u7b97<\/h2>\n<p>\u786c\u4ef6\u4e0a\u5176\u5b9e\u6211\u9884\u7b97\u5e76\u4e0d\u7d27\u5f20\uff0c\u7559\u7684\u4f59\u91cf\u4e5f\u6bd4\u8f83\u5927\uff0c\u5982\u679c\u6362\u4e00\u4e9b\u6027\u4ef7\u6bd4\u66f4\u9ad8\u7684\u786c\u4ef6\u7684\u8bdd\uff0c\u4ef7\u683c\u8fd8\u53ef\u4ee5\u4e0b\u964d\u5f88\u591a\u3002<\/p>\n<ul>\n<li>\u4e3b\u673a\uff08\u4e3b\u677f\u3001CPU \u3001\u5185\u5b58\u3001\u7cfb\u7edf\u76d8\uff09 3500 \u5143<\/li>\n<li>\u786c\u76d8\uff08 4 * 4T \uff09 2200 \u5143\uff08\u5176\u5b9e\u76ee\u524d\u53ea\u4e70\u4e86\u4e00\u5757\uff0c\u5176\u4ed6\u4e09\u5757\u662f\u65e7\u7684\uff09<\/li>\n<\/ul>\n<p>\u8003\u8651\u5230\u6211\u4e4b\u524d\u7684\u7fa4\u8f89\u7528\u4e86\u4e94\u5e74\uff0c\u65b0\u7684 NAS \u8bbe\u8ba1\u4f7f\u7528\u5bff\u547d\u5b9a\u5728\u5341\u5e74\uff1a<\/p>\n<ul>\n<li>\u786c\u4ef6\u6210\u672c\u6298\u5408\u6bcf\u5e74 570 \u5143<\/li>\n<li>\u7535\u8d39\uff08 35W \uff09\u6bcf\u5e74 110 \u5143<\/li>\n<li>\u8fdc\u7a0b\u8bbf\u95ee\u6bcf\u5e74 100 \u5143\uff08\u56fd\u5185\u5e74\u4ed8\u4fc3\u9500\u670d\u52a1\u5668\uff0c\u5982\u6709\u516c\u7f51 IP \u4f7f\u7528 DDNS \u5219\u65e0\u9700\u6b64\u9879\uff09<\/li>\n<li>\u5f02\u5730\u5907\u4efd\u6bcf\u5e74 415 \u5143\uff08\u6309\u91cf\u4ed8\u8d39\uff0c\u8fd9\u91cc\u6309 1T \u9700\u8981\u5f02\u5730\u5907\u4efd\u7684\u6570\u636e\u8ba1\u7b97\uff09<\/li>\n<\/ul>\n<p>\u603b\u5171 12T \u7684\u5bb9\u91cf\u6bcf\u5e74 1195 \u5143\uff0c\u6298\u5408 1T \u6bcf\u6708 8 \u5143\uff0c\u5982\u679c\u53bb\u6389\u8fdc\u7a0b\u8bbf\u95ee\u548c\u5f02\u5730\u5907\u4efd\u7684\u8bdd\u5219\u662f 1T \u6bcf\u6708 5 \u5143\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u8981\u7528\u81ea\u90e8\u7f72\u65b9\u6848<\/h2>\n<p>\u76f8\u6bd4\u4e8e\u4f7f\u7528\u4e91\u670d\u52a1\uff0c\u7b2c\u4e00\u4e2a\u7406\u7531\u81ea\u7136\u662f\u5bf9\u6570\u636e\u7684\u300c\u638c\u63a7\u611f\u300d\uff0c\u867d\u7136\u6ca1\u6709\u4ec0\u4e48\u786e\u51ff\u7684\u7406\u7531\u8bf4\u4e91\u670d\u52a1\u5c31\u4e00\u5b9a\u4e0d\u5b89\u5168\uff0c\u4f46\u6709\u4e9b\u4eba\u5c31\u662f\u559c\u6b22\u8fd9\u79cd\u5bf9\u4e2a\u4eba\u6570\u636e\u7684\u638c\u63a7\u611f\u3002<\/p>\n<p>\u8fd8\u6709\u4e00\u4e2a\u6280\u672f\u539f\u56e0\u662f\u90e8\u7f72\u5728\u5bb6\u4e2d\u5185\u7f51\u7684 NAS \u53ef\u4ee5\u901a\u8fc7 SMB \u7b80\u5355\u5730\u652f\u6301\u4e00\u4e9b\u300c\u5728\u7ebf\u7f16\u8f91\u300d\uff0c\u5982\u76f4\u63a5\u52a0\u8f7d NAS \u4e0a\u7684\u7d20\u6750\u8fdb\u884c\u89c6\u9891\u526a\u8f91\u3001\u751a\u81f3\u5c06\u6574\u4e2a\u5de5\u7a0b\u6587\u4ef6\u90fd\u76f4\u63a5\u653e\u5728 NAS \u4e0a\u3002\u4f7f\u7528\u4e91\u670d\u52a1\u7684\u8bdd\u4e00\u65b9\u9762\u662f\u6ca1\u6709 SMB \u534f\u8bae\u7684\u652f\u6301\uff0c\u5373\u4f7f\u652f\u6301\u5ef6\u8fdf\u5bf9\u4e8e\u5728\u7ebf\u7f16\u8f91\u6765\u8bf4\u4e5f\u662f\u65e0\u6cd5\u63a5\u53d7\u7684\u3002<\/p>\n<p>\u53e6\u5916\u4e00\u4e2a\u4e0d\u80fd\u5ffd\u7565\u7684\u8bdd\u9898\u5c31\u662f\u6210\u672c\uff0c\u5728\u8fd9\u91cc\u6211\u4eec\u53ea\u8003\u8651\u4ee5\u5bb9\u91cf\u4e3a\u8ba1\u4ef7\u65b9\u6848\u7684\u7f51\u76d8\u670d\u52a1\uff0ciCloud \u3001Google Drive \u3001Dropbox \u7684\u4ef7\u683c\u65b9\u6848\u90fd\u975e\u5e38\u63a5\u8fd1\uff0c\u5728\u8d85\u8fc7 200G \uff08\u5927\u6982 $3 \uff09\u8fd9\u4e00\u6863\u4e4b\u540e\u5c31\u76f4\u63a5\u8df3\u5230\u4e86 2T \uff08\u5927\u6982 $10 \uff09\uff0c\u8fd9\u65f6\u4e91\u670d\u52a1\u6309\u91cf\u4ed8\u8d39\u7684\u4f18\u52bf\u5176\u5b9e\u5c31\u6ca1\u6709\u4e86\uff0c\u662f\u4e00\u4e2a\u5207\u6362\u5230\u81ea\u90e8\u7f72\u65b9\u6848\u7684\u4e00\u4e2a\u4e0d\u9519\u7684\u65f6\u95f4\u70b9\uff0c\u4e00\u6b21\u6027\u6295\u5165\u4e4b\u540e\u53ea\u9700 2 &#8211; 3 \u5e74\u5373\u53ef\u56de\u672c\u3002<\/p>\n<p>\u5f53\u7136\u6700\u91cd\u8981\u7684\u4e00\u70b9\u662f\u5174\u8da3\uff0c\u5728\u8fd9\u4e2a\u6298\u817e\u7684\u8fc7\u7a0b\u4e2d\u4f60\u9700\u8981\u505a\u5f88\u591a\u51b3\u5b9a\u3001\u9047\u5230\u5f88\u591a\u56f0\u96be\uff0c\u6700\u540e\u642d\u5efa\u51fa\u6765\u4e00\u4e2a\u51e0\u4e4e\u662f\u72ec\u4e00\u65e0\u4e8c\u7684\u81ea\u90e8\u7f72\u65b9\u6848\u3002\u5982\u679c\u4f60\u80fd\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u627e\u5230\u4e50\u8da3\u7684\u8bdd\uff0c\u90a3\u5f53\u7136\u662f\u975e\u5e38\u503c\u5f97\u7684\uff1b\u53cd\u8fc7\u6765\u5982\u679c\u4f60\u6ca1\u6709\u5174\u8da3\uff0c\u7b97\u4e0a\u6295\u5165\u7684\u65f6\u95f4\u6210\u672c\uff0c\u81ea\u90e8\u7f72\u65b9\u6848\u7684\u6027\u4ef7\u6bd4\u5c06\u4f1a\u975e\u5e38\u4f4e\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>20<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4109292\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiaket <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u518d\u641e\u4e2a photoprism \u5f53\u76f8\u518c\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109293\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : dreampet <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u603b\u7ed3\u7684\u5f88\u4e0d\u9519\uff0c \u6211\u4e5f\u662f\u4e70\u7684 GEN10\uff0c \u4e0d\u8fc7\u6211\u662f\u5355\u72ec\u88c5\u4e86\u4e00\u5757 P420 \u9635\u5217\u5361\uff0c\u7ec4\u786c\u4ef6 RAID5 \u4f7f\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109294\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gstqc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u7528\u7684 FreeNAS()                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109295\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : gstqc <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             FreeNAS \u5df2\u6539\u540d TrueNAS<br \/>\u786c\u4ef6\u662f Gen8 \u52a0 4Tx2 8Tx2<br \/>\u8fd8\u6709\u4e00\u53f0\u661f\u9645\u8717\u725b\u4e3b\u673a\u52a0 J3454 \u4e3b\u677f\u4e5f\u662f\u540c\u6837\u7684\u8f6f\u4ef6\u7cfb\u7edf<\/p>\n<p>\u5bb6\u91cc\u8fd8\u6709\u6dd8\u6c70\u7684 mSATA \u786c\u76d8\u88c5\u673a\u7bb1\u91cc\u5f53\u865a\u62df\u673a\u548c\u4e0b\u8f7d\u5bb9\u5668\u7684\u5b58\u50a8<br \/>\u673a\u68b0\u786c\u76d8\u5927\u591a\u65f6\u5019\u90fd\u53ef\u4ee5\u4f11\u7720                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109296\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wzxlovesy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5982\u679c\u7528 Proxmox \u7684\u8bdd\uff0c\u8bbe\u7f6e\u548c\u7ef4\u62a4\u8d77\u6765\u66f4\u7701\u5fc3\u4e00\u70b9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109297\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : x86 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u7fa4\u89c4\u5c31\u662f\u4e0d\u60f3\u6298\u817e\u2026\u2026                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109298\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : WebKit <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9ed1\u7fa4\u6656\u7528\u6237\u8868\u793a\u8fd9\u592a\u6298\u817e\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109299\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ferock <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5efa\u8bae\uff1a<br \/>\u53ef\u4ee5\u5c06 Transmission \u66ff\u6362\u6210 qbittorrent                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109300\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ferock <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @xiaket #1<br \/>photoprism \u6211\u53bb\u5c1d\u8bd5\u4e00\u4e0b\uff0c\u8c22\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109301\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : henryshen233 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u521a\u4e70\u4e86\u7fa4\u6656\uff0c\u4e3b\u5199\u5f97\u771f\u4e0d\u9519                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109302\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : calpes <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f88\u5947\u602a\u6ca1\u4eba\u7528 unraid \u561b\uff1f\u529f\u80fd\u5f3a\u5927\u7ed3\u6784\u7b80\u5355\uff0c\u6362\u673a\u5668\u8ddf\u73a9\u4e00\u6837\uff0c\u62d4\u4e86 u \u76d8\u63d2\u5230\u522b\u7684\u673a\u5668\u4e0a\u5c31\u884c\uff0c\u54ea\u5757\u76d8\u6ee1\u4e86\u5c31\u6362\u4e00\u5757                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109303\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ntgeralt <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u60f3\u8d77 3 \u5e74\u524d\u7b2c\u4e00\u6b21\u7528 NAS \u4e5f\u662f\u9009\u7528 RAID5 \u7684\u60c5\u5f62\u3002\u8e66\u8fc7\u4e00\u6b21\u518d\u4e5f\u4e0d\u78b0 RAID5 \u3002\u76f4\u63a5 basic + gsuite                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109304\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : CloudMx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u7528\u7684 AMD CPU+UDIMM ECC 16GBX2 \u5185\u5b58+SATA3X4 \u7684\u677f\u5b50\uff0c\u4f7f\u7528 PVE\uff0c\u865a\u62df\u4e86 FreeNas \u8fd8\u6709\u5176\u4ed6\u7684\u670d\u52a1\u8dd1\u3002\u6682\u65f6\u7528\u8d77\u6765\u633a\u723d&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109305\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : polymerdg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9ed1\u88d9 \u5df2\u7ecf\u7a33\u5b9a\u8fd0\u884c 6 \u5e74\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109306\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jybox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @calpes unraid \u8d77\u6b65\u4ef7\u5c31 $59\uff0c\u6253\u6d88\u4e86\u5c1d\u8bd5\u7684\u5ff5\u5934<br \/>@ntgeralt \u6587\u7ae0\u4e2d\u6709\u63d0\uff0cZFS \u7684 raidz \uff08 RAID5 \uff09\u56e0\u4e3a\u6709\u5b9a\u671f\u7684\u6570\u636e\u6821\u9a8c\uff0c\u4f1a\u6bd4\u666e\u901a\u7684 RAID5 \u66f4\u5065\u58ee\u4e00\u70b9\uff0c\u5f53\u7136\u4e5f\u8981\u7efc\u5408\u76d8\u4f4d\u6570\u91cf\u548c\u5bb9\u91cf\uff0c\u6570\u91cf\u8d8a\u591a\u3001\u5bb9\u91cf\u8d8a\u5927\uff0c\u91cd\u5efa\u7684\u98ce\u9669\u8d8a\u9ad8\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109307\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BostonCorbett <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7fa4\u6656\u7684 nas \u662f\u652f\u6301\u786c\u76d8\u70ed\u63d2\u62d4\u7684\uff0c\u6211\u4e4b\u524d\u7b14\u8bb0\u672c\u7535\u8111\u786c\u76d8\u70ed\u63d2\u62d4\u7ed3\u679c\u4e3b\u677f\u70e7\u4e86\uff0c\u4e0d\u77e5\u9053\u4e3b\u7ec4\u88c5\u7684 nas \u652f\u4e0d\u652f\u6301\u786c\u76d8\u70ed\u63d2\u62d4\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109308\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jybox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @BostonCorbett \u70ed\u63d2\u62d4\u4e3b\u8981\u770b\u786c\u4ef6\u7684\u652f\u6301\uff0c\u7fa4\u8f89\u4f4e\u7aef\u7684\u578b\u53f7\u5e94\u8be5\u4e5f\u662f\u4e0d\u652f\u6301\u7684\uff0c\u6587\u7ae0\u4e2d\u7684 Gen10 \u4e5f\u662f\u4e0d\u652f\u6301\u70ed\u63d2\u62d4\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109309\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wanguorui123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6811\u8393\u6d3e\u63d2\u4e24\u4e2a WD 14T\uff0cRAID 1 \u4e00\u6837\u7528\u7684\u5f88\u723d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109310\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : abc0123xyz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6dd8\u5b9d\u56fd\u884c hc320 \u5df2\u7ecf 958\uff0c\u52a0\u786c\u76d8\u53ef\u4ee5\u4e0a\u8fd9\u4e2a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109311\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tankren <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8981\u4e48 OMV \u8981\u4e48 TrueNAS \u522b\u7684\u5c31\u7b97\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5f00\u6e90\u6280\u672f\u591f\u7528\u4e86\u4e48\uff1f\u6211\u7684 NAS \u9009&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/207567"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207567"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/207567\/revisions"}],"predecessor-version":[{"id":207572,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/207567\/revisions\/207572"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207567"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}