{"id":21131,"date":"2026-09-06T15:46:20","date_gmt":"2026-09-06T07:46:20","guid":{"rendered":"https:\/\/synopower.club\/?p=21131"},"modified":"2026-09-06T17:02:28","modified_gmt":"2026-09-06T09:02:28","slug":"synology-vdsm-docker-migration","status":"publish","type":"post","link":"https:\/\/synopower.club\/zh\/synology-vdsm-docker-migration\/","title":{"rendered":"Synology VDSM\uff1a\u5229\u7528 AI \u9077\u79fb Docker \u4e26\u8abf\u6574\u865b\u64ec\u78c1\u789f\u5927\u5c0f (2026)"},"content":{"rendered":"<p class=\"wp-block-paragraph\">\u865b\u64ec NAS \u662f\u90a3\u7a2e\u4eba\u5011\u5b89\u88dd\u4e00\u6b21\uff0c\u73a9\u4e0a\u4e00\u4e0b\u5348\u5c31\u5fd8\u4e86\u81ea\u5df1\u64c1\u6709\u7684\u529f\u80fd\u4e4b\u4e00\u3002\u9019\u5f88\u53ef\u60dc\uff0c\u56e0\u70ba Synology VDSM\uff08\u904b\u884c\u5728 Virtual Machine Manager \u5167\u90e8\u7684 Virtual DSM\uff09\u6084\u6084\u89e3\u6c7a\u4e86\u5c0f\u578b\u81ea\u8a17\u7ba1\u4e2d\u6700\u4ee4\u4eba\u982d\u75db\u7684\u5169\u500b\u554f\u984c\u3002\u9996\u5148\uff0c\u5728\u4e0d\u540c\u6a5f\u5668\u4e4b\u9593\u9077\u79fb Docker \u5806\u758a\u901a\u5e38\u9700\u8981\u82b1\u8cbb\u4e00\u500b\u665a\u4e0a\u7e41\u7463\u7684\u5de5\u4f5c\u3002\u5176\u6b21\uff0c\u7576\u865b\u64ec\u78c1\u789f\u7a7a\u9593\u4e0d\u8db3\u6642\uff0c\u5927\u591a\u6578\u4eba\u6703\u8a8d\u70ba\u5fc5\u9808\u91cd\u5efa\u6574\u500b\u7cfb\u7d71\u3002\u4f46\u5728 VDSM \u4e0a\uff0c\u9019\u5169\u500b\u554f\u984c\u90fd\u4e0d\u5b58\u5728\u3002\u672c\u6307\u5357\u5c07\u8a73\u7d30\u4ecb\u7d39\u6211\u5011\u7528\u5927\u7d04 35 \u5206\u9418\u5b8c\u6210\u7684\u4e00\u6b21\u5be6\u969b\u9077\u79fb\uff1a\u5c07\u4e00\u500b\u5305\u542b\u4e94\u500b\u63d2\u4ef6\u7684\u5167\u90e8 Redmine \u554f\u984c\u8ffd\u8e64\u5668\u5f9e\u4e00\u500b VDSM \u865b\u64ec\u6a5f\u9077\u79fb\u5230\u53e6\u4e00\u500b\u865b\u64ec\u6a5f\uff0c\u4e26\u7531 AI \u52a9\u7406\u63a7\u5236 shell\u3002\u9077\u79fb\u904e\u7a0b\u4e2d\uff0c\u76ee\u6a19\u865b\u64ec\u6a5f\u5668\u7684\u78c1\u789f\u7a7a\u9593\u4e0d\u8db3\uff0c\u56e0\u6b64\u6211\u5011\u5c07\u865b\u64ec\u78c1\u789f\u5f9e 10 GB \u64f4\u5c55\u5230 20 GB \u4e26\u7e7c\u7e8c\u9077\u79fb\u3002\u4ee5\u4e0b\u6240\u6709\u5167\u5bb9\u90fd\u662f\u5be6\u969b\u767c\u751f\u7684\uff0c\u5305\u62ec\u4e00\u500b\u6703\u6084\u7121\u8072\u606f\u5730\u7834\u58de\u61c9\u7528\u7a0b\u5f0f\u7684\u9677\u9631\u3002.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>SynoPower Club \u9ede\uff1a<\/strong>I have watched a lot of people talk themselves out of virtualisation on a NAS because they assume it is for labs and not for real work. The migration in this article was real work &mdash; a ticket system three colleagues use every day &mdash; and the part that surprised me was not the AI. It was how little ceremony VDSM needs. No hypervisor to license, no separate management server, no export-import dance between incompatible formats. The guest ran out of disk mid-job and I fixed it by typing a bigger number into a text field while it was still running. The whole job took thirty-five minutes and the only outage anyone noticed was ninety seconds on an unrelated website. If you already own a Synology with spare memory, you are one package install away from this.<\/p><\/blockquote>\n\n\n\n<nav class=\"wp-block-stackable-table-of-contents stk-block-table-of-contents stk-block stk-81f8a0c\" data-block-id=\"81f8a0c\"><p class=\"stk-table-of-contents__title\">\u76ee\u9304<\/p><ul class=\"stk-table-of-contents__table\"><li><a href=\"#what-is-synology-vdsm\">Synology VDSM \u662f\u4ec0\u9ebc\uff1f<\/a><\/li><li><a href=\"#synology-vdsm-vs-a-second-physical-nas-which-do-you-need\">Synology VDSM \u8207\u7b2c\u4e8c\u53f0\u5be6\u9ad4 NAS\uff1a\u60a8\u9700\u8981\u54ea\u4e00\u500b\uff1f<\/a><\/li><li><a href=\"#what-you-need-before-you-start\">\u958b\u59cb\u4e4b\u524d\u4f60\u9700\u8981\u6e96\u5099\u4ec0\u9ebc<\/a><\/li><li><a href=\"#vdsm-docker-migration-in-4-steps\">VDSM Docker \u9077\u79fb\u56db\u6b65\u9a5f\u6307\u5357<\/a><\/li><li><a href=\"#why-the-compose-file-is-not-the-whole-container\">\u70ba\u4ec0\u9ebc Compose \u6a94\u6848\u4e0d\u662f\u6574\u500b\u5bb9\u5668<\/a><\/li><li><a href=\"#how-a-small-team-uses-vdsm-to-consolidate-servers\">\u5c0f\u578b\u5718\u968a\u5982\u4f55\u4f7f\u7528 VDSM \u6574\u5408\u4f3a\u670d\u5668<\/a><\/li><li><a href=\"#resizing-a-virtual-disk-that-ran-out-of-room\">\u8abf\u6574\u7a7a\u9593\u4e0d\u8db3\u7684\u865b\u64ec\u78c1\u789f\u7684\u5927\u5c0f<\/a><\/li><li><a href=\"#what-the-ai-assistant-actually-did\">AI\u52a9\u7406\u5be6\u969b\u4e0a\u505a\u4e86\u4ec0\u9ebc<\/a><\/li><li><a href=\"#where-to-find-more-official-resources\">\u54ea\u88e1\u53ef\u4ee5\u627e\u5230\u66f4\u591a\u5b98\u65b9\u8cc7\u6e90<\/a><\/li><li><a href=\"#limits-to-know-before-you-trust-vdsm-with-production\">\u5728\u5c07VDSM\u7528\u65bc\u751f\u7522\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u5176\u9650\u5236\u3002<\/a><\/li><li><a href=\"#references\">\u53c3\u8003<\/a><\/li><li><a href=\"#frequently-asked-questions\">\u7d93\u5e38\u554f\u7684\u554f\u984c<\/a><\/li><\/ul><\/nav>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-synology-vdsm\">Synology VDSM \u662f\u4ec0\u9ebc\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">VDSM \u662f Synology \u7684 Virtual DSM\uff1a\u5b83\u662f DiskStation Manager \u7684\u5b8c\u6574\u526f\u672c\uff0c\u4f5c\u70ba\u5ba2\u6236\u4f5c\u696d\u7cfb\u7d71\u904b\u884c\u5728\u5be6\u9ad4 NAS \u4e0a\u7684 Virtual Machine Manager \u5167\u90e8\u3002\u5b83\u7684\u884c\u70ba\u5c31\u50cf\u4e00\u53f0\u7368\u7acb\u7684 NAS\uff0c\u64c1\u6709\u81ea\u5df1\u7684 IP \u4f4d\u5740\u3001DSM \u767b\u5165\u8cc7\u8a0a\u3001\u8edf\u9ad4\u5305\u548c\u5bb9\u5668\u7ba1\u7406\u5668\u3002\u5f9e\u7db2\u8def\u89d2\u5ea6\u4f86\u770b\uff0c\u5b83\u53ea\u662f\u5340\u57df\u7db2\u8def\u4e0a\u7684\u53e6\u4e00\u53f0 Synology\u3002\u5f9e\u786c\u9ad4\u89d2\u5ea6\u4f86\u770b\uff0c\u5b83\u53ea\u662f\u5728\u4f60\u5df2\u4ed8\u8cbb\u7684\u88dd\u7f6e\u4e0a\u904b\u884c\u7684\u984d\u5916\u9032\u7a0b\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5be6\u969b\u512a\u52e2\u5728\u65bc\u9694\u96e2\u6027\u3002\u5982\u679c\u6240\u6709\u670d\u52d9\u90fd\u76f4\u63a5\u904b\u884c\u5728\u4e3b\u6a5f\u4e0a\uff0c\u4e00\u500b\u904b\u884c\u7570\u5e38\u7684\u5bb9\u5668\u53ef\u80fd\u6703\u5c0e\u81f4\u6574\u500b\u8fa6\u516c\u5ba4\u4f9d\u8cf4\u7684\u6a94\u6848\u4f3a\u670d\u5668\u7671\u7613\u3002\u5c07\u5de5\u4f5c\u8ca0\u8f09\u5206\u6563\u5230\u591a\u500b VDSM \u865b\u64ec\u6a5f\u5668\u4e2d\uff0c\u6bcf\u500b\u865b\u64ec\u6a5f\u5668\u90fd\u6709\u7368\u7acb\u7684\u8a18\u61b6\u9ad4\u4e0a\u9650\u3001CPU \u5206\u914d\u548c\u78c1\u789f\u7a7a\u9593\uff0c\u4e26\u4e14\u53ef\u4ee5\u5728\u4e0d\u5f71\u97ff\u5176\u4ed6\u865b\u64ec\u6a5f\u5668\u7684\u60c5\u6cc1\u4e0b\u91cd\u65b0\u555f\u52d5\u5176\u4e2d\u4e00\u500b\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Every NAS that supports Virtual Machine Manager includes one VDSM licence at no cost. Running a second and subsequent guest needs a <a href=\"https:\/\/synopower.club\/zh\/vdsm%e5%8c%85\/\">paid Virtual DSM licence<\/a> each. That single free instance is enough to follow everything in this article, and it is why so many people already own the capability and have never switched it on. If you need to add, map or unmap a licence later, we have a walkthrough on <a href=\"https:\/\/synopower.club\/zh\/%e6%96%87%e4%bb%b6\/%e5%a6%82%e4%bd%95%e6%96%b0%e5%a2%9e%e5%81%9c%e7%94%a8%e6%98%a0%e5%b0%84%e5%92%8c%e5%8f%96%e6%b6%88%e6%98%a0%e5%b0%84%e8%99%9b%e6%93%ac-dsm-%e8%a8%b1%e5%8f%af%e8%ad%89\/\">\u7ba1\u7406 VDSM \u8a31\u53ef\u8b49<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"synology-vdsm-vs-a-second-physical-nas-which-do-you-need\">Synology VDSM \u8207\u7b2c\u4e8c\u53f0\u5be6\u9ad4 NAS\uff1a\u60a8\u9700\u8981\u54ea\u4e00\u500b\uff1f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5ba2\u89c0\u4f86\u8aaa\uff0c\u4e26\u975e\u865b\u64ec\u5316\u66f4\u597d\uff0c\u800c\u662f\u4ee5\u5f48\u6027\u63db\u53d6\u5f48\u6027\u3002\u7b2c\u4e8c\u53f0\u5be6\u9ad4\u4f3a\u670d\u5668\u53ef\u4ee5\u5728\u7b2c\u4e00\u500b\u5be6\u9ad4\u4f3a\u670d\u5668\u767c\u751f\u6545\u969c\u6642\u7e7c\u7e8c\u904b\u884c\uff0c\u800c\u865b\u64ec\u5206\u6563\u5f0f\u7cfb\u7d71\uff08VDSM\uff09\u865b\u64ec\u6a5f\u5668\u5247\u4e0d\u884c\u3002\u865b\u64ec\u6a5f\u5668\u5e36\u4f86\u7684\u597d\u8655\u662f\uff0c\u4f60\u53ef\u4ee5\u5728\u5e7e\u5206\u9418\u5167\uff08\u800c\u4e0d\u662f\u5e7e\u5929\uff09\u5efa\u7acb\u3001\u8abf\u6574\u5927\u5c0f\u3001\u5efa\u7acb\u5feb\u7167\u548c\u9077\u79fb\u6574\u500b\u4f3a\u670d\u5668\u3002.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>&nbsp;<\/th><th>VDSM \u5ba2\u4eba<\/th><th>\u7b2c\u4e8c\u500b\u7269\u7406NAS<\/th><\/tr><\/thead><tbody><tr><td>\u589e\u52a0\u4e00\u500b\u7684\u6210\u672c<\/td><td>\u9996\u4f4d\u5ba2\u4eba\u514d\u8cbb\uff0c\u4e4b\u5f8c\u9700\u8cfc\u8cb7\u8a31\u53ef\u8b49\u3002<\/td><td>\u6574\u500bNAS\u52a0\u4e0a\u786c\u789f<\/td><\/tr><tr><td>\u6e96\u5099\u5de5\u4f5c\u6642\u9593\u5230\u4e86<\/td><td>\u5206\u5206\u9418<\/td><td>\u5929\u6578\uff0c\u5305\u62ec\u904b\u8f38\u6642\u9593<\/td><\/tr><tr><td>\u8abf\u6574 CPU\u3001RAM \u6216\u78c1\u789f\u5bb9\u91cf<\/td><td>\u7de8\u8f2f\u5b57\u6bb5\uff0c\u91cd\u555f\u8a2a\u5ba2<\/td><td>\u8cfc\u8cb7\u65b0\u786c\u9ad4<\/td><\/tr><tr><td>\u80fd\u5920\u62b5\u79a6\u4e3b\u6a5f\u786c\u9ad4\u6545\u969c<\/td><td>\u4e0d<\/td><td>\u662f\u7684<\/td><\/tr><tr><td>\u5feb\u7167\u548c\u514b\u9686<\/td><td>\u5167\u5efa\u65bc Virtual Machine Manager<\/td><td>\u4e0d\u9069\u7528<\/td><\/tr><tr><td>\u9077\u79fb\u5230\u53e6\u4e00\u500bNAS\u3002<\/td><td>\u9077\u79fb\u6216\u8907\u88fd\u5ba2\u6236\u6a5f<\/td><td>\u5c07\u5176\u7269\u7406\u9077\u79fb<\/td><\/tr><tr><td>\u6700\u9069\u5408<\/td><td>\u9694\u96e2\u670d\u52d9\u3001\u90e8\u7f72\u3001\u6574\u5408\u5c0f\u578b\u4f3a\u670d\u5668<\/td><td>\u5099\u4efd\u76ee\u6a19\u548c\u771f\u6b63\u7684\u5197\u9918<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c0d\u65bc\u9019\u9805\u5de5\u4f5c\uff0c\u9078\u64c7\u986f\u800c\u6613\u898b\u3002\u6211\u5011\u8981\u5c07\u4e00\u500b\u4f7f\u7528\u7387\u4e0d\u9ad8\u7684\u554f\u984c\u8ffd\u8e64\u7cfb\u7d71\uff08\u5b83\u539f\u672c\u4f54\u7528\u4e00\u500b\u5b8c\u6574\u7684 VDSM \u865b\u64ec\u6a5f\u5668\uff09\u6574\u5408\u5230\u4e00\u500b\u5df2\u7d93\u904b\u884c\u7db2\u7ad9\u4e14\u6709\u5269\u9918\u5bb9\u91cf\u7684\u865b\u64ec\u6a5f\u5668\u4e0a\u3002\u9019\u4e0d\u9700\u8981\u4efb\u4f55\u65b0\u7684\u786c\u9ad4\u3002\u53ea\u9700\u8981\u5341\u5206\u9418\u548c\u4e00\u9ede\u8010\u5fc3\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-you-need-before-you-start\">\u958b\u59cb\u4e4b\u524d\u4f60\u9700\u8981\u6e96\u5099\u4ec0\u9ebc<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before anything else, give the assistant its own login rather than handing over yours. In DSM open Control Panel, go to User &amp; Group and click Create. Name it something unmistakable &mdash; we used <strong>claude<\/strong> with the description <strong>AI control<\/strong> &mdash; and let DSM generate a strong random password.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"728\" src=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-create-ai-user.png\" alt=\"Creating a dedicated DSM account for AI SSH access before a VDSM migration\" class=\"wp-image-21134\" srcset=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-create-ai-user.png 1000w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-create-ai-user-300x218.png 300w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-create-ai-user-768x559.png 768w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-create-ai-user-16x12.png 16w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-create-ai-user-360x262.png 360w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-create-ai-user-400x291.png 400w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">A dedicated account, named so that nobody has to guess what it is for.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">On the next screen, tick <strong>administrators<\/strong>. This is not optional: DSM only permits members of the administrators group to log in over SSH, so an account outside that group cannot reach the shell at all. Do the same on both VDSM guests, then make sure SSH is switched on under Control Panel, Terminal &amp; SNMP.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"954\" height=\"693\" src=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-ai-user-administrators-group.png\" alt=\"Adding the AI account to the administrators group so it can SSH into the VDSM guest\" class=\"wp-image-21135\" srcset=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-ai-user-administrators-group.png 954w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-ai-user-administrators-group-300x218.png 300w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-ai-user-administrators-group-768x558.png 768w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-ai-user-administrators-group-18x12.png 18w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-ai-user-administrators-group-360x262.png 360w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-ai-user-administrators-group-400x291.png 400w\" sizes=\"auto, (max-width: 954px) 100vw, 954px\" \/><figcaption class=\"wp-element-caption\">DSM only lets members of the administrators group in over SSH, so this box has to be ticked.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>When the work is finished, disable the account.<\/strong> That is the whole point of making a separate one. Edit the user in Control Panel and switch it off, or delete it outright; access is revoked in one click without touching your own credentials, and everything the assistant did stays attributable to a login that exists for exactly that purpose. Leaving a permanently enabled administrator account lying around because it was convenient once is how small estates accumulate access nobody remembers granting.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5169\u53f0 VDSM \u865b\u64ec\u6a5f\uff0c\u5169\u53f0\u865b\u64ec\u6a5f\u90fd\u555f\u7528\u4e86 SSH\uff0c\u5728\u76ee\u6a19\u865b\u64ec\u6a5f\u4e0a\u5b89\u88dd\u4e86\u5bb9\u5668\u7ba1\u7406\u5668\u3002\u60a8\u9084\u9700\u8981\u6ce8\u610f\u4e00\u9ede\uff0c\u9019\u4e00\u9ede\u5e7e\u4e4e\u6bcf\u500b\u4eba\u7b2c\u4e00\u6b21\u90fd\u6703\u72af\uff1aDocker \u4e8c\u9032\u4f4d\u6a94\u6848\u4e0d\u5728 DSM \u7684\u9810\u8a2d PATH \u74b0\u5883\u8b8a\u6578\u4e2d\u3002\u8edf\u9ad4\u5305\u4e8c\u9032\u4f4d\u6a94\u6848\u4f4d\u65bc\u8edf\u9ad4\u5305\u76ee\u9304\u4e0b\uff0c\u56e0\u6b64\u6bcf\u500b\u547d\u4ee4\u90fd\u9700\u8981\u5b8c\u6574\u8def\u5f91\u6216 shell \u5225\u540d\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u51fa\u767c\u524d\u8acb\u52d9\u5fc5\u78ba\u8a8d\u76ee\u7684\u5730\u662f\u5426\u6709\u7a7a\u4f4d\uff0c\u800c\u4e0d\u662f\u5728\u8f49\u6a5f\u9014\u4e2d\u624d\u6aa2\u67e5\u3002\u4ee5\u4e0b\u547d\u4ee4\u662f\u5b8c\u6574\u7684\u98db\u884c\u524d\u6aa2\u67e5\u6d41\u7a0b\uff0c\u9069\u7528\u65bc\u6240\u6709 VDSM \u65c5\u5ba2\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One more thing before any of it: <strong>take a snapshot of both guests in Virtual Machine Manager<\/strong>. Snapshots are in the free edition of Virtual Machine Manager, not just Pro, and it will keep up to 32 of them per guest. A VDSM snapshot captures the whole machine, so if an import goes wrong or a command does something you did not intend, you roll the guest back instead of rebuilding it. It costs seconds and it is the single cheapest insurance in this entire process. Take one on the source as well as the destination, because the source is your fallback.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Docker \u4e0d\u5728 DSM \u7684 PATH \u74b0\u5883\u8b8a\u6578\u4e2d - \u8acb\u4f7f\u7528\u5b8c\u6574\u8def\u5f91 D=\/volume1\/@appstore\/ContainerManager\/usr\/bin\/docker # \u6b63\u5728\u904b\u884c\u7684\u662f\u4ec0\u9ebc\uff1f\u5b83\u57fa\u65bc\u4ec0\u9ebc\u69cb\u5efa\uff1f sudo $D ps -a sudo $D images # \u76ee\u6a19\u78c1\u789f\u5340\u9084\u5269\u4e0b\u591a\u5c11\u7a7a\u9593\uff1f df -h \/volume1 # \u76ee\u6a19\u865b\u64ec\u6a5f\u5668\u5be6\u969b\u4e0a\u6709\u591a\u5c11\u53ef\u7528\u8a18\u61b6\u9ad4\uff1f free -m<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"vdsm-docker-migration-in-4-steps\">VDSM Docker \u9077\u79fb\u56db\u6b65\u9a5f\u6307\u5357<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u5011\u57f7\u884c\u4e86\u4ee5\u4e0b\u56db\u500b\u6b65\u9a5f\uff0c\u5b83\u5011\u9069\u7528\u65bc\u9700\u8981\u5728 VDSM \u865b\u64ec\u6a5f\u5668\u4e4b\u9593\u9077\u79fb\u7684\u4efb\u4f55\u5bb9\u5668\u5806\u758a\u3002\u9806\u5e8f\u5f88\u91cd\u8981\uff1a\u9996\u5148\u505c\u6b62\u61c9\u7528\u7a0b\u5f0f\u5bb9\u5668\uff0c\u4ee5\u9632\u6b62\u5728\u8f49\u5132\u904e\u7a0b\u4e2d\u5411\u8cc7\u6599\u5eab\u5beb\u5165\u4efb\u4f55\u8cc7\u6599\uff1b\u8cc7\u6599\u5eab\u5bb9\u5668\u4fdd\u6301\u904b\u884c\uff0c\u4ee5\u4fbf\u53ef\u4ee5\u4e7e\u6de8\u5730\u9032\u884c\u8f49\u5132\u3002.<\/p>\n\n\n<div id=\"rank-math-howto\" class=\"rank-math-block\" >\n<div class=\"rank-math-howto-description\">\n\n<\/div>\n\n<div class=\"rank-math-steps\">\n<div id=\"step-1\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\">Take a VDSM snapshot, then snapshot the container itself<\/h3>\n<div class=\"rank-math-step-content\"><p>Take a Virtual Machine Manager snapshot of both guests first &#8211; it is in the free edition and it is your undo button for everything that follows. Then stop the application container and run docker commit against it to capture its filesystem as a new image. This is the step people skip, and skipping it is what breaks the migration. Bind-mounted paths are excluded from a commit, so the data volume still has to be handled separately in step two.<\/p>\n<\/div>\n<\/div>\n<div id=\"step-2\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\">\u532f\u51fa\u8cc7\u6599\u5eab\u4e26\u6b78\u6a94\u8cc7\u6599\u5377<\/h3>\n<div class=\"rank-math-step-content\"><p>\u5728\u8cc7\u6599\u5eab\u5bb9\u5668\u4ecd\u5728\u904b\u4f5c\u7684\u60c5\u6cc1\u4e0b\uff0c\u4f7f\u7528 mariadb-dump \u548c\u55ae\u4e00\u4e8b\u52d9\u6a19\u8a8c\u9032\u884c\u908f\u8f2f\u8f49\u5132\u3002\u7136\u5f8c\u5c07\u7d81\u5b9a\u639b\u8f09\u7684\u8cc7\u6599\u76ee\u9304\u6253\u5305\u6210 tar \u6a94\u6848\u3002\u4e4b\u6240\u4ee5\u512a\u5148\u9078\u64c7\u908f\u8f2f\u8f49\u5132\u800c\u4e0d\u662f\u8907\u88fd\u539f\u59cb\u8cc7\u6599\u6587\u4ef6\uff0c\u662f\u56e0\u70ba\u76ee\u6a19\u4f4d\u7f6e\u7684\u93e1\u50cf\u6a19\u7c64\u5e7e\u4e4e\u4e0d\u53ef\u80fd\u8207\u8cc7\u6599\u5eab\u5efa\u7f6e\u7248\u672c\u5b8c\u5168\u76f8\u540c\u3002.<\/p>\n<\/div>\n<\/div>\n<div id=\"step-3\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\">\u5c07\u6240\u6709\u5167\u5bb9\u76f4\u64ad\u7d66\u76ee\u7684\u5730\u5ba2\u4eba<\/h3>\n<div class=\"rank-math-step-content\"><p>\u900f\u904e SSH \u5c07\u4f86\u6e90\u7aef\u7684 docker save \u6620\u50cf\u58d3\u7e2e\u5230\u76ee\u6a19\u7aef\u7684\u6a94\u6848\u4e2d\uff0c\u7136\u5f8c\u5c0d\u8cc7\u6599\u6b78\u6a94\u6a94\u6848\u57f7\u884c\u76f8\u540c\u7684\u64cd\u4f5c\u3002\u6211\u5011 816 MB \u7684\u93e1\u50cf\u88ab\u58d3\u7e2e\u5230 366 MB\uff0c\u4e26\u5728\u5927\u7d04\u4e00\u5206\u9418\u5167\u900f\u904e\u5340\u57df\u7db2\u8def\u50b3\u8f38\u5b8c\u7562\u3002\u5728\u9060\u7aef\u8f09\u5165\u93e1\u50cf\uff0c\u4e26\u4f7f\u7528 preserve-permissions \u6a19\u8a8c\u89e3\u58d3\u7e2e\u6b78\u6a94\u6a94\u6848\u3002.<\/p>\n<\/div>\n<\/div>\n<div id=\"step-4\" class=\"rank-math-step\">\n<h3 class=\"rank-math-step-title\">\u5148\u555f\u52d5\u8cc7\u6599\u5eab\uff0c\u5c0e\u5165\u6578\u64da\uff0c\u518d\u555f\u52d5\u61c9\u7528\u7a0b\u5f0f\u3002<\/h3>\n<div class=\"rank-math-step-content\"><p>\u50c5\u555f\u52d5\u8cc7\u6599\u5eab\u670d\u52d9\uff0c\u7b49\u5f85\u5176\u63a5\u53d7\u9023\u63a5\uff0c\u532f\u5165\u8f49\u5132\u6587\u4ef6\uff0c\u4e26\u78ba\u8a8d\u8868\u548c\u884c\u6578\u8207\u4f86\u6e90\u6587\u4ef6\u4e00\u81f4\u3002\u78ba\u8a8d\u7121\u8aa4\u5f8c\u518d\u555f\u52d5\u61c9\u7528\u7a0b\u5f0f\u5bb9\u5668\u3002\u5c07\u91cd\u555f\u7b56\u7565\u8a2d\u5b9a\u70ba\u59cb\u7d42\u91cd\u555f\uff0c\u4ee5\u78ba\u4fdd\u5806\u758a\u5728\u865b\u64ec\u6a5f\u5668\u91cd\u65b0\u555f\u52d5\u5f8c\u4ecd\u7136\u6709\u6548\u3002.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-the-compose-file-is-not-the-whole-container\">\u70ba\u4ec0\u9ebc Compose \u6a94\u6848\u4e0d\u662f\u6574\u500b\u5bb9\u5668<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9019\u5c31\u662f\u9677\u9631\u6240\u5728\uff0c\u5149\u662f\u9019\u4e00\u9ede\u5c31\u503c\u5f97\u4f60\u82b1\u9ede\u6642\u9593\u53bb\u4e86\u89e3\u4e00\u4e0b\u3002\u6211\u5011 Redmine \u5806\u758a\u7684 compose \u6a94\u6848\u5ba3\u544a\u4e86\u5169\u500b\u7d81\u5b9a\u639b\u8f09\u9ede\uff1a\u4e00\u500b\u7528\u65bc\u4e0a\u50b3\u7684\u6587\u4ef6\uff0c\u4e00\u500b\u7528\u65bc\u8cc7\u6599\u5eab\u3002\u95b1\u8b80\u8a72\u6a94\u6848\u5f8c\uff0c\u4f60\u53ef\u80fd\u6703\u7406\u6240\u7576\u7136\u5730\u8a8d\u70ba\uff0c\u5728\u65b0\u865b\u64ec\u6a5f\u5668\u4e0a\u91cd\u65b0\u5efa\u7acb\u5806\u758a\u610f\u5473\u8457\u8907\u88fd\u5169\u500b\u76ee\u9304\u4e26\u57f7\u884c `docker compose up` \u547d\u4ee4\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e8b\u5be6\u4e26\u975e\u5982\u6b64\u3002\u591a\u5e74\u4f86\uff0c\u4e94\u500b\u5916\u639b\u7a0b\u5f0f\u3001\u9019\u4e9b\u5916\u639b\u7a0b\u5f0f\u5f15\u5165\u7684 Ruby gems\u3001\u90f5\u4ef6\u914d\u7f6e\u4ee5\u53ca\u5e7e\u500b\u4fee\u6539\u904e\u7684\u521d\u59cb\u5316\u6a94\u6848\u90fd\u88ab\u76f4\u63a5\u5b89\u88dd\u5230\u4e86\u904b\u884c\u4e2d\u7684\u5bb9\u5668\u4e2d\u3002\u6240\u6709\u9019\u4e9b\u90fd\u6c92\u6709\u653e\u5728\u4efb\u4f55\u5377\u4e2d\u3002\u4e00\u689d\u547d\u4ee4\u5c31\u8b93\u6211\u5011\u660e\u767d\u4e86\u60c5\u6cc1\u6709\u591a\u7cdf\u3002.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5bb9\u5668\u548c\u5b83\u6240\u6e90\u81ea\u7684\u93e1\u50cf\u4e4b\u9593\u6709\u591a\u5c11\u500b\u6a94\u6848\u4e0d\u540c\uff1f sudo $D diff Redmine | wc -l 6764 # \u5bb9\u5668\u5167\u63d2\u4ef6\uff0c\u6c92\u6709\u4efb\u4f55\u78c1\u789f\u5340\u652f\u63f4 sudo $D exec Redmine ls \/usr\/src\/redmine\/plugins<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u62c9\u53d6\u4e00\u500b\u5168\u65b0\u7684\u5b98\u65b9\u93e1\u50cf\u6703\u7522\u751f\u4e00\u500b\u4e0d\u5305\u542b\u4efb\u4f55\u63d2\u4ef6\u7684\u5bb9\u5668\uff0c\u8a72\u5bb9\u5668\u6307\u5411\u7684\u8cc7\u6599\u5eab\u4ecd\u7136\u4fdd\u7559\u8457\u9077\u79fb\u904e\u7a0b\u4e2d\u5275\u5efa\u7684 144 \u500b\u8868\u3002\u61c9\u7528\u7a0b\u5f0f\u4e0d\u6703\u767c\u51fa\u660e\u986f\u7684\u932f\u8aa4\u63d0\u793a\u3002\u5b83\u6703\u555f\u52d5\uff0c\u770b\u8d77\u4f86\u5e7e\u4e4e\u4e00\u5207\u6b63\u5e38\uff0c\u7136\u5f8c\u51fa\u73fe\u96e3\u4ee5\u8a3a\u65b7\u7684\u6545\u969c\u3002\u5c07\u6b63\u5728\u904b\u884c\u7684\u5bb9\u5668\u63d0\u4ea4\u5230\u93e1\u50cf\u53ef\u4ee5\u5b8c\u5168\u907f\u514d\u9019\u500b\u554f\u984c\uff0c\u4f46\u4ee3\u50f9\u662f\u9700\u8981\u66f4\u5927\u7684\u50b3\u8f38\u6642\u9593\u3002\u5728\u5340\u57df\u7db2\u8def\u5167\u5169\u500b VDSM \u865b\u64ec\u6a5f\u5668\u4e4b\u9593\u50b3\u8f38\uff0c\u9019\u5927\u7d04\u9700\u8981\u4e00\u5206\u9418\uff0c\u6240\u4ee5\u6bcf\u6b21\u90fd\u503c\u5f97\u9019\u6a23\u505a\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how-a-small-team-uses-vdsm-to-consolidate-servers\">\u5c0f\u578b\u5718\u968a\u5982\u4f55\u4f7f\u7528 VDSM \u6574\u5408\u4f3a\u670d\u5668<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9019\u7a2e\u9077\u79fb\u6a21\u5f0f\u662f\u5927\u591a\u6578\u5c0f\u578b\u5718\u968a\u6700\u7d42\u90fd\u9700\u8981\u7684\u3002\u5e7e\u5e74\u4e0b\u4f86\uff0c\u4f60\u6703\u7d2f\u7a4d\u4e00\u4e9b\u7528\u9014\u55ae\u4e00\u7684\u865b\u64ec\u6a5f\uff1a\u4e00\u500b\u7528\u65bc\u7dad\u57fa\uff0c\u4e00\u500b\u7528\u65bc\u5de5\u55ae\u8ddf\u8e2a\uff0c\u4e00\u500b\u7528\u65bc\u76e3\u63a7\u5100\u9336\u677f\uff08\u5982\u6211\u5011\u4e4b\u524d\u63cf\u8ff0\u7684\u7d50\u69cb\uff09\u3002 <a href=\"https:\/\/synopower.club\/zh\/%e6%96%87%e4%bb%b6\/how-to-build-a-home-data-center-with-synology-nas-a-personal-journey-with-virtual-dsm\/\">\u5bb6\u5ead\u8cc7\u6599\u4e2d\u5fc3\u6982\u89bd<\/a>\uff09\u3002\u6bcf\u53f0\u8a2d\u5099\u5728\u5efa\u9020\u4e4b\u521d\u90fd\u8a2d\u8a08\u5f97\u975e\u5e38\u5bec\u655e\uff0c\u800c\u73fe\u5728\u6bcf\u53f0\u8a2d\u5099\u90fd\u53ea\u4ee5\u7576\u521d\u8a2d\u8a08\u5bb9\u91cf\u7684\u4e00\u5c0f\u90e8\u5206\u904b\u884c\uff0c\u800c\u4e3b\u6a5f\u537b\u8d85\u8ca0\u8377\u904b\u8f49\uff0c\u4e00\u5207\u90fd\u611f\u89ba\u6709\u9ede\u6162\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f7f\u7528 VDSM \u9032\u884c\u6574\u5408\u610f\u5473\u8457\u5c07\u7a7a\u9592\u5de5\u4f5c\u8ca0\u8f09\u5408\u4f75\u5230\u4e00\u500b\u5df2\u555f\u52d5\u7684\u865b\u64ec\u6a5f\u5668\u4e2d\u3002\u6211\u5011\u7684\u5de5\u55ae\u8ffd\u8e64\u5668\u539f\u672c\u4f54\u7528\u4e00\u500b\u5b8c\u6574\u7684\u865b\u64ec\u6a5f\uff0c\u64c1\u6709\u7368\u7acb\u7684 CPU \u5206\u914d\u548c 1GB \u5167\u5b58\uff0c\u800c\u6bcf\u5929\u53ea\u6709\u4e09\u500b\u4eba\u8a2a\u554f\u5e7e\u6b21\u3002\u5c07\u5176\u9077\u79fb\u5230\u73fe\u6709 Web \u5806\u758a\u65c1\u908a\u5f8c\uff0c\u76f4\u63a5\u91cb\u653e\u4e86 CPU \u5206\u914d\uff0c\u4f46\u76ee\u6a19\u5bb9\u5668\u4f54\u7528\u4e86\u5927\u7d04 480MB \u7684\u5e38\u99d0\u8a18\u61b6\u9ad4\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u78ba\u4fdd\u5b89\u5168\u7684\u95dc\u9375\u5728\u65bc\u6b63\u78ba\u5730\u505c\u7528\u4f86\u6e90\u670d\u52d9\uff0c\u800c\u4e0d\u662f\u8b93\u5b83\u7e7c\u7e8c\u904b\u4f5c\u3002\u6211\u5011\u5c07\u820a\u5bb9\u5668\u7684\u91cd\u65b0\u555f\u52d5\u7b56\u7565\u8a2d\u70ba\u201c\u5426\u201d\uff0c\u505c\u6b62\u4e86\u5b83\u5011\uff0c\u4e26\u5728\u76ee\u9304\u4e2d\u7559\u4e0b\u4e00\u500b\u6587\u5b57\u6587\u4ef6\uff0c\u8aaa\u660e\u670d\u52d9\u73fe\u5728\u7684\u904b\u884c\u4f4d\u7f6e\uff0c\u7136\u5f8c\u95dc\u9589\u865b\u64ec\u6a5f\u4e26\u505c\u7528\u81ea\u52d5\u555f\u52d5\u3002\u9019\u6a23\u5c31\u5f62\u6210\u4e86\u4e00\u500b\u5b8c\u6574\u7684\u56de\u6eaf\u9ede\uff0c\u5373\u4f7f\u4e3b\u6a5f\u91cd\u555f\uff0c\u5b83\u4e5f\u4e0d\u6703\u6084\u6084\u5730\u91cd\u65b0\u555f\u52d5\u4e26\u958b\u59cb\u63a5\u6536\u65b0\u5be6\u4f8b\u6c38\u9060\u4e0d\u6703\u770b\u5230\u7684\u5beb\u5165\u64cd\u4f5c\u3002\u91cd\u8907\u7684\u526f\u672c\u662f\u5c0e\u81f4\u4e00\u6b21\u770b\u4f3c\u5b8c\u7f8e\u7684\u9077\u79fb\u5728\u4e00\u500b\u6708\u5f8c\u6f14\u8b8a\u6210\u8cc7\u6599\u907a\u5931\u4e8b\u4ef6\u7684\u5178\u578b\u539f\u56e0\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"resizing-a-virtual-disk-that-ran-out-of-room\">\u8abf\u6574\u7a7a\u9593\u4e0d\u8db3\u7684\u865b\u64ec\u78c1\u789f\u7684\u5927\u5c0f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9032\u51fa\u4e00\u534a\u6642\uff0c\u76ee\u6a19\u4f4d\u7f6e\u7a7a\u9593\u4e0d\u8db3\u3002\u9019\u5377\u5bb9\u91cf\u70ba 9.6 GB\uff0c\u5269\u9918\u7a7a\u9593 1.5 GB\uff0c\u800c\u6211\u5011\u6b63\u6e96\u5099\u6dfb\u52a0\u4e00\u500b 816 MB \u7684\u93e1\u50cf\u6a94\u6848\u548c 123 MB \u7684\u61c9\u7528\u7a0b\u5f0f\u8cc7\u6599\u3002\u5728\u5be6\u9ad4 NAS \u4e0a\uff0c\u5230\u6b64\u70ba\u6b62\uff0c\u76f4\u5230\u65b0\u786c\u789f\u5230\u8ca8\u3002\u4f46\u5728 VDSM \u4e2d\uff0c\u9019\u5247\u662f\u4e00\u500b\u6587\u5b57\u65b9\u584a\u3002.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"646\" height=\"474\" src=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-resize-virtual-disk.png\" alt=\"\u5728 Virtual Machine Manager \u4e2d\u7de8\u8f2f Synology VDSM \u865b\u64ec\u6a5f\u5668\u7684\u865b\u64ec\u78c1\u789f\u5927\u5c0f\" class=\"wp-image-21129\" srcset=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-resize-virtual-disk.png 646w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-resize-virtual-disk-300x220.png 300w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-resize-virtual-disk-16x12.png 16w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-resize-virtual-disk-360x264.png 360w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-resize-virtual-disk-400x293.png 400w\" sizes=\"auto, (max-width: 646px) 100vw, 646px\" \/><figcaption class=\"wp-element-caption\">\u5728 Virtual Machine Manager \u4e2d\uff0c\u64f4\u5145\u865b\u64ec\u78c1\u789f\u662f\u4e00\u500b\u529f\u80fd\uff0d\u7121\u9700\u91cd\u5efa\u78c1\u789f\u5340\uff0c\u7121\u9700\u91cd\u65b0\u5b89\u88dd\u3002.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Open the guest&#8217;s settings in Virtual Machine Manager, go to the Storage tab, type the new size and click OK. <strong>The guest does not have to be shut down for this.<\/strong> The disk grows while the machine keeps running, which is why this is a fundamentally different experience from adding capacity to bare hardware. The one rule worth knowing is that a virtual disk can only grow, never shrink, so there is no undo and no reason to be shy about the number.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What makes it genuinely painless is what happens inside the guest. DSM expands the partition and the filesystem to fill the new space by itself. There is no Storage Manager wizard to run, no partition table to edit, no volume to rebuild and no data to migrate. Our volume went from 9.6 GB with 1.5 GB free to 20 GB with 13 GB free, and the containers carried on. This is the single strongest argument for putting a service on VDSM rather than on bare hardware: getting the sizing wrong is cheap to fix later.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1707\" height=\"222\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage.png\" alt=\"\u5c07 Synology VDSM \u865b\u64ec\u6a5f\u5668\u7684\u5927\u5c0f\u5f9e 10 GB \u8abf\u6574\u5230 20 GB \u5f8c\uff0c\u865b\u64ec\u78c1\u789f\u4f7f\u7528\u60c5\u6cc1\" class=\"wp-image-21130\" srcset=\"https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage.png 1707w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage-300x39.png 300w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage-1024x133.png 1024w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage-768x100.png 768w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage-1536x200.png 1536w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage-18x2.png 18w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage-360x47.png 360w, https:\/\/synopower.club\/wp-content\/uploads\/2026\/09\/synology-vdsm-virtual-disk-usage-400x52.png 400w\" \/><figcaption class=\"wp-element-caption\">\u91cd\u65b0\u555f\u52d5\u5f8c\uff0c\u865b\u64ec\u6a5f\u5668\u5831\u544a\u5df2\u4f54\u7528\u5168\u90e8 20 GB \u7a7a\u9593\uff0c\u4e26\u4e14\u5167\u90e8\u78c1\u789f\u5340\u5df2\u64f4\u5145\u3002.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-the-ai-assistant-actually-did\">AI\u52a9\u7406\u5be6\u969b\u4e0a\u505a\u4e86\u4ec0\u9ebc<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9019\u88e1\u6709\u5fc5\u8981\u56b4\u8b39\u4e00\u4e9b\uff0c\u56e0\u70ba\u300cAI \u79fb\u52d5\u4e86\u6211\u7684\u4f3a\u670d\u5668\u300d\u9019\u7a2e\u8aaa\u6cd5\u65e2\u5bb9\u6613\u8b93\u4eba\u8f15\u4fe1\uff0c\u4e5f\u5bb9\u6613\u8b93\u4eba\u96e3\u4ee5\u7f6e\u4fe1\u3002\u9019\u500b\u52a9\u624b\u4e26\u6c92\u6709\u4ec0\u9ebc\u795e\u5947\u7684\u6d1e\u898b\u3002\u5b83\u53ea\u662f\u5c0d VDSM \u7684\u5169\u4f4d\u5ba2\u4eba\u9032\u884c\u4e86\u7c21\u55ae\u7684\u64cd\u4f5c\uff0c\u800c\u4e14\u5b83\u7684\u7cfb\u7d71\u6027\u9060\u8d85\u4e00\u500b\u75b2\u618a\u4e0d\u582a\u3001\u4e00\u5929\u5de5\u4f5c\u4e0b\u4f86\u7684\u4eba\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b83\u6700\u6709\u50f9\u503c\u7684\u4e00\u9ede\u662f\uff0c\u5728\u9032\u884c\u4efb\u4f55\u64cd\u4f5c\u4e4b\u524d\u904b\u884c\u4e86 `docker diff` \u547d\u4ee4\uff0c\u767c\u73fe\u4e86 6764 \u500b\u5df2\u66f4\u6539\u7684\u6587\u4ef6\uff0c\u4e26\u62d2\u7d55\u4e86\u986f\u800c\u6613\u898b\u7684\u65b9\u6848\u3002\u4efb\u4f55\u9075\u5faa compose \u6a94\u6848\u7684\u4eba\u90fd\u4e0d\u6703\u6709\u7406\u7531\u57f7\u884c\u9019\u500b\u547d\u4ee4\u3002\u5176\u6b21\u6709\u50f9\u503c\u7684\u4e00\u9ede\u662f\u9a57\u8b49\uff1a\u5c0e\u5165\u5b8c\u6210\u5f8c\uff0c\u5b83\u7d71\u8a08\u4e86\u96d9\u65b9\u7684\u8868\u3001\u554f\u984c\u3001\u9805\u76ee\u3001\u65e5\u8a8c\u689d\u76ee\u548c\u9644\u4ef6\u7684\u6578\u91cf\uff0c\u6aa2\u67e5\u4e86\u6bcf\u500b\u9644\u4ef6\u6587\u4ef6\u662f\u5426\u90fd\u5b58\u5728\u65bc\u78c1\u789f\u4e0a\uff0c\u5217\u51fa\u4e86\u61c9\u7528\u7a0b\u5f0f\u5df2\u8a3b\u518a\u7684\u63d2\u4ef6\u7248\u672c\uff0c\u4e26\u78ba\u8a8d\u6c92\u6709\u5f85\u8655\u7406\u7684\u8cc7\u6599\u5eab\u9077\u79fb\u3002\u9019\u662f\u4e00\u4efd\u7e41\u7463\u7684\u6aa2\u67e5\u6e05\u55ae\uff0c\u800c\u7e41\u7463\u7684\u6aa2\u67e5\u6e05\u55ae\u6b63\u662f\u4e0b\u5348\u4e94\u9ede\u6700\u5bb9\u6613\u88ab\u5ffd\u7565\u7684\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b83\u4ecd\u7136\u9700\u8981\u4eba\u985e\u5c0d\u5f8c\u679c\u505a\u51fa\u5224\u65b7\u3002\u91cd\u555f VDSM \u7528\u6236\u7aef\u4f86\u589e\u52a0\u8a18\u61b6\u9ad4\u610f\u5473\u8457\u95dc\u9589\u4e00\u500b\u6b63\u5728\u904b\u884c\u7684\u7db2\u7ad9\uff0c\u9019\u662f\u4e00\u500b\u9700\u8981\u8a62\u554f\u800c\u4e0d\u662f\u60f3\u7576\u7136\u7684\u6c7a\u5b9a\u3002\u522a\u9664\u4efb\u4f55\u5167\u5bb9\u4e5f\u662f\u5982\u6b64\u3002\u628a\u52a9\u624b\u7576\u4f5c\u4e00\u96d9\u4e0d\u77e5\u75b2\u5026\u3001\u52d5\u4f5c\u975e\u5e38\u8fc5\u901f\u4e14\u4e00\u7d72\u4e0d\u82df\u7684\u624b\u4f86\u6aa2\u67e5\uff0c\u800c\u90a3\u4e9b\u4e0d\u53ef\u9006\u7684\u64cd\u4f5c\u5247\u7559\u7d66\u81ea\u5df1\u3002.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"where-to-find-more-official-resources\">\u54ea\u88e1\u53ef\u4ee5\u627e\u5230\u66f4\u591a\u5b98\u65b9\u8cc7\u6e90<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Virtual Machine Manager \u8edf\u9ad4\u5305\u627f\u8f09\u6240\u6709 VDSM \u7528\u6236\u6a5f\uff0c\u5b83\u5df2\u5728 DSM \u4e2d\u5b58\u5728\u591a\u5e74\uff0c\u4e26\u4e14\u5df2\u6709\u5b8c\u5584\u7684\u6587\u4ef6\u652f\u63f4\u3002\u4ee5\u4e0b\u4e09\u500b\u6559\u5b78\u5c07\u4ecb\u7d39\u8edf\u9ad4\u5305\u7684\u5b89\u88dd\u3001\u5efa\u7acb\u5ba2\u6236\u6a5f\u4ee5\u53ca\u60a8\u5c07\u8981\u4f7f\u7528\u7684\u4ecb\u9762\u6982\u89bd\u3002.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Synology Virtual Machine Manager \u653b\u7565\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/l-qOXRUvBcc?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">Virtual Machine Manager\u5957\u9910\u53ef\u63a5\u5f85Virtual DSM\u5ba2\u4eba\uff0c\u5e36\u60a8\u5168\u9762\u4e86\u89e3\u6b64\u5957\u9910\u3002.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Synology DSM \u865b\u64ec\u6a5f\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/w7rc1pWHIiU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">\u5f9e\u982d\u958b\u59cb\u5efa\u7acb DSM \u865b\u64ec\u6a5f\uff0c\u5305\u62ec\u8a31\u53ef\u8b49\u63d0\u793a\u3002.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"\u5728\u865b\u64ec\u6a5f\u5668\u7ba1\u7406\u5668\u4e0a\u5b89\u88dd Synology DSM - DSM 6.1\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/Nnk5OKgtwXo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">\u96d6\u7136\u5e74\u4ee3\u8f03\u65e9\uff0c\u4f46\u4ecd\u6e96\u78ba\u5730\u4ecb\u7d39\u5982\u4f55\u5728 Virtual Machine Manager \u5167\u5b89\u88dd Virtual DSM\u3002.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"limits-to-know-before-you-trust-vdsm-with-production\">\u5728\u5c07VDSM\u7528\u65bc\u751f\u7522\u4e4b\u524d\uff0c\u60a8\u9700\u8981\u4e86\u89e3\u5176\u9650\u5236\u3002<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\uff0c\u8a18\u61b6\u9ad4\u6bd4 CPU \u66f4\u5bb9\u6613\u6210\u70ba\u74f6\u9838\u3002\u6211\u5011\u7684\u76ee\u6a19\u865b\u64ec\u6a5f\u53ea\u6709 2GB \u5167\u5b58\uff0c\u5728\u6211\u5011\u6dfb\u52a0\u4efb\u4f55\u5167\u5bb9\u4e4b\u524d\u5c31\u5df2\u7d93\u4f7f\u7528\u4e86\u4ea4\u63db\u7a7a\u9593\u3002\u7b2c\u4e8c\u500b\u61c9\u7528\u7a0b\u5f0f\u548c\u7b2c\u4e8c\u500b\u8cc7\u6599\u5eab\u5927\u7d04\u9700\u8981\u984d\u5916 480MB \u5167\u5b58\uff0c\u6240\u4ee5\u6211\u5011\u5c07\u5176\u589e\u52a0\u5230 4GB\u3002\u5728\u898f\u5283\u9077\u79fb\u4e4b\u524d\uff0c\u800c\u4e0d\u662f\u4e4b\u5f8c\uff0c\u6aa2\u67e5\u76ee\u6a19\u865b\u64ec\u6a5f\u5668\u7684\u53ef\u7528\u8a18\u61b6\u9ad4\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5176\u6b21\uff0cVDSM \u865b\u64ec\u78c1\u789f\u53ea\u6703\u6210\u9577\u800c\u4e0d\u6703\u7e2e\u5c0f\u3002\u5982\u679c\u904e\u5ea6\u914d\u7f6e\uff0c\u60a8\u7121\u6cd5\u900f\u904e\u7de8\u8f2f\u6b04\u4f4d\u4f86\u56de\u6536\u7a7a\u9593\uff1b\u7e2e\u5c0f\u78c1\u789f\u7684\u552f\u4e00\u65b9\u6cd5\u662f\u5efa\u7acb\u4e00\u500b\u65b0\u7684\u865b\u64ec\u6a5f\u5668\u4e26\u5c07\u8cc7\u6599\u9077\u79fb\u5230\u5176\u4e2d\u3002\u9078\u64c7\u4e00\u500b\u5169\u5e74\u5f8c\u60a8\u4ecd\u7136\u6eff\u610f\u7684\u6578\u503c\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Third, licensing. One guest is included with the NAS; every additional guest needs its own <a href=\"https:\/\/synopower.club\/zh\/vdsm%e5%8c%85\/\">Virtual DSM licence<\/a>. Clustering across several NAS units, live migration and the larger snapshot retention are <a href=\"https:\/\/synopower.club\/zh\/synology-vmm-pro-license\/\">VMM Pro<\/a> features rather than standard ones. If your consolidation plan involves splitting one busy guest into four tidy ones, price that before you design it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7b2c\u56db\uff0c\u61c9\u907f\u514d\u7684\u5e7e\u7a2e\u60c5\u6cc1\u3002\u4e0d\u8981\u5c07\u865b\u64ec\u6a5f\u5668\u7684\u865b\u64ec\u78c1\u789f\u653e\u5728\u8207\u5099\u4efd\u76f8\u540c\u7684\u5be6\u9ad4\u78c1\u789f\u5340\u4e0a\uff0c\u4e26\u7a31\u4e4b\u70ba\u5099\u4efd\u3002\u4e0d\u8981\u5728\u8207\u7e41\u5fd9\u7684\u6a94\u6848\u4f3a\u670d\u5668\u5171\u7528\u6a5f\u68b0\u786c\u789f\u7684\u865b\u64ec\u6a5f\u5668\u4e0a\u57f7\u884c\u6301\u7e8c\u5927\u91cf\u5beb\u5165\u7684\u8cc7\u6599\u5eab\u3002\u4e0d\u8981\u5c07 VDSM \u8996\u70ba\u7b2c\u4e8c\u53f0\u6a5f\u5668\u7684\u66ff\u4ee3\u54c1\uff0c\u56e0\u70ba\u5982\u679c\u4e3b\u6a5f\u5d29\u6f70\uff0c\u5176\u4e0a\u7684\u6240\u6709\u865b\u64ec\u6a5f\u5668\u90fd\u6703\u540c\u6642\u5d29\u6f70\u3002\u6b64\u5916\uff0c\u4e0d\u8981\u9077\u79fb\u5f9e\u672a\u6aa2\u67e5\u904e\u7684\u5bb9\u5668\uff0c\u539f\u56e0\u5df2\u5728\u4e0a\u6587\u300ccompose-file\u300d\u90e8\u5206\u4e2d\u8aaa\u660e\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fifth, credentials. A migration touches database passwords, environment variables and configuration files. Ours moved a compose file holding plaintext database credentials, so it was placed deliberately outside the web server&#8217;s document root. A compose file left inside a document root is downloadable by anyone who guesses the filename, and that is a depressingly common way credentials leak. If you let an assistant script a migration, read where it is writing files. And when the job is done, disable the account you created for the assistant rather than leaving a live administrator login behind.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sixth, snapshot before you touch anything. A VDSM snapshot in Virtual Machine Manager takes seconds, is available without the Pro licence, and turns almost every mistake in this article into a two-minute rollback. It is the one step worth adding to any migration runbook, whether a human or an assistant is doing the typing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u5f8c\uff0c\u52d9\u5fc5\u9032\u884c\u9a57\u8b49\u800c\u975e\u81c6\u6e2c\u3002\u672c\u6587\u4e2d\u7684\u6bcf\u4e00\u9805\u8ad6\u9ede\u90fd\u5df2\u5728\u904b\u884c\u7cfb\u7d71\u4e2d\u9032\u884c\u4e86\u9a57\u8b49\uff1a\u6838\u5c0d\u4e86\u96d9\u65b9\u7684\u8868\u8a08\u6578\u3001\u6aa2\u67e5\u4e86\u78c1\u789f\u4e0a\u662f\u5426\u5b58\u5728\u9644\u4ef6\u6587\u4ef6\u3001\u78ba\u8a8d\u4e86\u61c9\u7528\u7a0b\u5f0f\u8a3b\u518a\u7684\u63d2\u4ef6\u7248\u672c\u3001\u6aa2\u67e5\u4e86\u662f\u5426\u5b58\u5728\u5f85\u8655\u7406\u7684\u9077\u79fb\uff0c\u4e26\u5b8c\u6574\u91cd\u555f\u4e86\u6574\u500b\u5806\u758a\u4ee5\u9a57\u8b49\u5176\u80fd\u5920\u81ea\u884c\u6062\u5fa9\u3002\u670d\u52d9\u97ff\u61c9\u4e26\u4e0d\u610f\u5473\u8457\u9077\u79fb\u5b8c\u6210\u3002\u53ea\u6709\u7576\u60a8\u8b49\u660e\u9077\u79fb\u5728 VDSM \u865b\u64ec\u6a5f\u5668\u91cd\u65b0\u555f\u52d5\u5f8c\u4ecd\u7136\u6709\u6548\uff0c\u4e14\u820a\u526f\u672c\u4e0d\u518d\u63a5\u53d7\u5beb\u5165\u4f5c\u696d\u6642\uff0c\u9077\u79fb\u624d\u7b97\u5b8c\u6210\u3002.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A note on where to get those licences, since it is what we do: SynoPower Club sells Synology licences with round-the-clock instant key delivery. The two that matter here are the <a href=\"https:\/\/synopower.club\/zh\/vdsm%e5%8c%85\/\">Virtual DSM licence<\/a>, which you need for every guest past the free one, and the <a href=\"https:\/\/synopower.club\/zh\/synology-vmm-pro-license\/\">VMM Pro licence<\/a> if you want clustering, live migration or 255 snapshots per guest instead of 32. The <a href=\"https:\/\/synopower.club\/zh\/\">full licence catalogue<\/a> covers Surveillance Station and MailPlus as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"references\">\u53c3\u8003<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/synopower.club\/zh\/\" target=\"_blank\" rel=\"noreferrer noopener\">SynoPower Club<\/a>, \u6211\u5011\u7684 Synology NAS \u6307\u5357\u548c\u76f8\u6a5f\u8a55\u6e2c<\/li><li><a href=\"https:\/\/www.synology.com\/en-global\/dsm\/feature\/virtual_machine_manager\" target=\"_blank\" rel=\"noreferrer noopener\">Synology \u2014 Virtual Machine Manager<\/a>, \u9019\u662f\u904b\u884c VDSM \u7684\u8edf\u9ad4\u5305\u7684\u5b98\u65b9\u6982\u8ff0\u3002<\/li><li><a href=\"https:\/\/kb.synology.com\/en-global\/DSM\/help\/Virtualization\/virtualization_desc\" target=\"_blank\" rel=\"noreferrer noopener\">Synology \u77e5\u8b58\u4e2d\u5fc3 \u2014 Virtual Machine Manager \u5e6b\u52a9<\/a>, \u8a2a\u5ba2\u5efa\u7acb\u548c\u8a2d\u5b9a<\/li><li><a href=\"https:\/\/docs.docker.com\/reference\/cli\/docker\/container\/commit\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Docker \u2014 Docker \u5bb9\u5668\u63d0\u4ea4<\/a>, \u7b2c\u4e00\u6b65\u80cc\u5f8c\u7684\u547d\u4ee4<\/li><li><a href=\"https:\/\/docs.docker.com\/reference\/cli\/docker\/image\/save\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Docker \u2014 docker \u6620\u50cf\u4fdd\u5b58<\/a>, \u7528\u65bc\u5728\u5ba2\u4eba\u4e4b\u9593\u50b3\u8f38\u5f71\u50cf<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"frequently-asked-questions\">\u7d93\u5e38\u554f\u7684\u554f\u984c<\/h2>\n\n\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list\">\n<div id=\"faq-1\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">Synology VDSM \u662f\u514d\u8cbb\u7684\u55ce\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u6240\u6709\u652f\u63f4 Virtual Machine Manager \u7684 NAS \u8a2d\u5099\u90fd\u514d\u8cbb\u5305\u542b\u4e00\u500b Virtual DSM \u8a31\u53ef\u8b49\uff0c\u8db3\u4ee5\u6c38\u4e45\u904b\u884c\u4e00\u500b\u865b\u64ec\u6a5f\u5668\u3002\u984d\u5916\u7684\u865b\u64ec\u6a5f\u5668\u9700\u8981\u4ed8\u8cbb\u8a31\u53ef\u8b49\u3002 Virtual Machine Manager \u8edf\u9ad4\u5305\u672c\u8eab\u53ef\u5f9e\u5957\u4ef6\u4e2d\u5fc3\u514d\u8cbb\u4e0b\u8f09\u3002.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-2\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">Synology VDSM \u80fd\u5426\u904b\u4f5c Docker \u5bb9\u5668\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u662f\u7684\u3002 Virtual DSM\u865b\u64ec\u6a5f\u5668\u662f\u4e00\u500b\u5b8c\u6574\u7684DSM\u7cfb\u7d71\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u50cf\u5728\u5be6\u9ad4NAS\u4e0a\u4e00\u6a23\uff0c\u900f\u904e\u5957\u4ef6\u4e2d\u5fc3\u5b89\u88dd\u5bb9\u5668\u7ba1\u7406\u5668\u3002\u672c\u6587\u4e2d\u7684\u9077\u79fb\u64cd\u4f5c\u662f\u5728\u5169\u500b\u865b\u64ec\u6a5f\u5668\u4e4b\u9593\u9077\u79fb\u4e00\u500b\u5305\u542b\u5169\u500b\u5bb9\u5668\u7684\u5806\u758a\uff0c\u800c\u7121\u9700\u5c0d\u5bb9\u5668\u672c\u8eab\u9032\u884c\u4efb\u4f55\u66f4\u6539\u3002.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-3\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">Do I need to shut the guest down to enlarge a virtual disk?<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>No, and you do not need to reinstall anything either. Raise the size in the Storage tab of Virtual Machine Manager and the disk grows while the guest keeps running. DSM inside the guest expands the partition and filesystem on its own, so there is no Storage Manager wizard and no volume to rebuild. The only rule is that a virtual disk can grow but never shrink.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-4\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">Synology VDSM \u8207\u5728\u4e3b\u6a5f NAS \u4e0a\u57f7\u884c Docker \u76f8\u6bd4\u6709\u4f55\u4e0d\u540c\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u76f4\u63a5\u5728\u4e3b\u6a5f\u4e0a\u904b\u884c\u5bb9\u5668\u66f4\u7c21\u55ae\uff0c\u901f\u5ea6\u4e5f\u7565\u5feb\uff0c\u56e0\u70ba\u4e0d\u9700\u8981\u865b\u64ec\u5316\u5c64\u3002\u800c\u865b\u64ec\u6a5f\u5668\u5247\u63d0\u4f9b\u4e86\u9694\u96e2\u6027\uff1a\u8a18\u61b6\u9ad4\u4e0a\u9650\u56fa\u5b9a\u3001\u7368\u7acb\u7684\u5206\u6563\u5f0f\u7cfb\u7d71\u7ba1\u7406 (DSM) \u9700\u8981\u91cd\u555f\uff0c\u4ee5\u53ca\u53ef\u4ee5\u9032\u884c\u5feb\u7167\u6216\u9077\u79fb\u7684\u6574\u500b\u4f3a\u670d\u5668\u3002\u4e3b\u6a5f\u7528\u65bc\u5fc5\u9808\u59cb\u7d42\u6b63\u5e38\u904b\u4f5c\u7684\u4efb\u52d9\uff0c\u800c\u865b\u64ec\u6a5f\u5668\u5247\u7528\u65bc\u53ef\u4ee5\u9032\u884c\u6545\u969c\u6392\u9664\u7684\u4efb\u52d9\u3002.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-5\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">Should I take a VDSM snapshot before migrating?<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>Yes, and it is free. Snapshots are included in the standard edition of Virtual Machine Manager, which keeps up to 32 per guest, and a snapshot captures the whole machine rather than one folder. Take one on the source and one on the destination before you start. This matters even more when an AI assistant is driving the shell: keep the source intact until the destination is verified, require confirmation before anything irreversible, and read what is about to run rather than approving on reflex.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-6\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">\u5982\u679c\u5bb9\u5668\u5167\u6c92\u6709\u6372\uff0c\u90a3\u9ebc\u5b89\u88dd\u5728\u5bb9\u5668\u5167\u7684\u6a94\u6848\u6703\u767c\u751f\u4ec0\u9ebc\u4e8b\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u5b83\u5011\u53ea\u5b58\u5728\u65bc\u5bb9\u5668\u7684\u53ef\u5beb\u5c64\u4e2d\uff0c\u4e00\u65e6\u5bb9\u5668\u5f9e\u93e1\u50cf\u91cd\u65b0\u5275\u5efa\uff0c\u5b83\u5011\u5c31\u6703\u7acb\u5373\u6d88\u5931\u3002\u5728\u9077\u79fb\u5bb9\u5668\u4e4b\u524d\uff0c\u8acb\u57f7\u884c `docker diff` \u6307\u4ee4\u4f86\u67e5\u770b\u5bb9\u5668\u7684\u5dee\u7570\u3002\u5982\u679c\u5dee\u7570\u5f88\u5927\uff0c\u8acb\u5c07\u5bb9\u5668\u63d0\u4ea4\u5230\u93e1\u50cf\u4e2d\uff0c\u7136\u5f8c\u9077\u79fb\u8a72\u93e1\u50cf\uff0c\u800c\u4e0d\u662f\u5f9e\u93e1\u50cf\u5009\u5eab\u62c9\u53d6\u4e00\u500b\u65b0\u93e1\u50cf\u3002.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-7\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">\u50cf\u9019\u6a23\u7684\u9077\u79fb\u9700\u8981\u591a\u9577\u6642\u9593\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u5c0d\u65bc\u4e00\u500b\u5c0f\u578b\u5806\u758a\uff0c\u5305\u62ec\u9a57\u8b49\u5728\u5167\uff0c\u6574\u500b\u904e\u7a0b\u5927\u7d04\u9700\u8981 35 \u5206\u9418\u3002\u900f\u904e\u5343\u5146\u5340\u57df\u7db2\u8def\u50b3\u8f38\u4e00\u500b 366 MB \u7684\u58d3\u7e2e\u93e1\u50cf\u672c\u8eab\u5927\u7d04\u9700\u8981 1 \u5206\u9418\u3002\u5927\u90e8\u5206\u6642\u9593\u90fd\u82b1\u5728\u4e86\u6aa2\u67e5\u539f\u59cb\u6a94\u548c\u78ba\u8a8d\u7d50\u679c\u4e0a\uff0c\u9019\u90e8\u5206\u7d55\u5c0d\u4e0d\u80fd\u64cd\u4e4b\u904e\u6025\u3002.<\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-8\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question\">\u6211\u53ef\u4ee5\u5c07 Synology VDSM \u865b\u64ec\u6a5f\u5668\u5728 NAS \u8a2d\u5099\u4e4b\u9593\u9077\u79fb\u55ce\uff1f<\/h3>\n<div class=\"rank-math-answer\">\n\n<p>\u662f\u7684\u3002 Virtual Machine Manager \u53ef\u4ee5\u5c07\u865b\u64ec\u6a5f\u5668\u9077\u79fb\u6216\u8907\u88fd\u5230\u540c\u4e00\u53e2\u96c6\u4e2d\u7684\u53e6\u4e00\u500b NAS\uff0c\u9019\u6bd4\u9077\u79fb\u865b\u64ec\u6a5f\u5668\u5167\u90e8\u7684\u5bb9\u5668\u8981\u597d\u5f97\u591a\uff0c\u800c\u4e14\u901a\u5e38\u6548\u679c\u66f4\u4f73\u3002\u50cf\u6211\u5011\u5728\u9019\u88e1\u6240\u505a\u7684\u90a3\u6a23\u79fb\u52d5\u5bb9\u5668\uff0c\u66f4\u9069\u5408\u5c07\u5169\u500b\u865b\u64ec\u6a5f\u5668\u5408\u4f75\u70ba\u4e00\u500b\uff0c\u800c\u4e0d\u662f\u9077\u79fb\u6574\u500b\u865b\u64ec\u6a5f\u5668\u3002.<\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>A virtual NAS is one of those features people install once, poke at for an afternoon, and then forget they own. That is a shame, because Synology VDSM \u2014 Virtual DSM, run inside Virtual Machine Manager \u2014 quietly solves two of the most annoying problems in small-scale self-hosting. The first is that moving a Docker [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21128,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[183,182],"tags":[184],"class_list":["post-21131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vdsm","category-virtual-machine-manager","tag-ai-automation"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/posts\/21131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/comments?post=21131"}],"version-history":[{"count":4,"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/posts\/21131\/revisions"}],"predecessor-version":[{"id":21137,"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/posts\/21131\/revisions\/21137"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/media\/21128"}],"wp:attachment":[{"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/media?parent=21131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/categories?post=21131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/synopower.club\/zh\/wp-json\/wp\/v2\/tags?post=21131"}],"curies":[{"name":"\u53ef\u6fd5\u6027\u7c89\u5291","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}