Scott Hanselman

RSS: http://feeds.hanselman.com/ScottHanselman
Scott Hanselman 是程序员、教师、演讲者、技术专家、播客主、作家与包容倡导者。

从 Synology 迁移到 UniFi UNAS Pro 8:Robocopy 的坑与 SMB 多通道实测

Synology 迁 UniFi UNAS,Robocopy 去掉 /Z 提速至 187MB/s。迁移中发现.m4p 音乐文件含 NTFS 备用数据流(ADS),用 /COPY:DATX 跳过即可。 /Z 重启模式因额外日志开销严重拖慢速度,稳定局域网建议去掉。/J 大文件无缓冲模式在双 SMB 中转场景反而更慢。Synology 四口 1GbE 通过 SMB 多通道聚合,实际可达约 250MB/s,并非单口瓶颈。 rsync 直连仅 67MB/s,不如 Robocopy 经 Windows 中转。
评论点赞收藏45 天前

从 Synology 迁移到 UniFi UNAS Pro 8:Robocopy 迁移中的性能陷阱与踩坑记录

<p>我有过对于最近我开始把它的内容迁移到新的.这看起来应该是个相当无聊的行动。两台设备都支持SMB,我有一个快速的网络(最近内部升级到10千兆),Windows几十年来一直有可靠复制文件的工具。<br><br>自然地,这变成了一整晚的学习,我以为自己已经知道了,这也是我开博客的原因,哈哈。</p><p>对我来说,这里有一段不错的历史,因为回到2007年(天哪!)我写过一篇叫做<strong>“.”</strong>我当时的观点基本上是,一旦你移动了足够多的文件,资源管理器就不再是移动工具,Robocopy 看起来也变得相当不错。<br><br>我甚至用过<code>/Z</code>Robocopy 的可重启模式,因为能够恢复部分传输的文件在不稳定的连接中非常有用。</p><p>将近二十年后,<code>/Z</code>结果发现这是我必须移除的最重要部分之一,因为它让整个过程变得非常缓慢。</p><h2>迁徙</h2><p>基本工作很简单。我在Synology持有股票,例如:</p><pre><code>\\server\music </code></pre><p>以及UNAS上的匹配股份:</p><pre><code>\\UNAS-Pro-8\music </code></pre><p>我最初用的是Explorer,主要是因为它存在,而且有时候简单的事情其实就是简单。直到 Explorer 开始在单个文件上出现错误:</p><pre><code>The requested operation could not be completed due to a file sy…</code></pre>
评论点赞收藏45 天前

Is the Craft Dead?

The Japanese are really good at woodworking. And I love watching the Yankee workshop, my dad makes Native American bows and arrows completely from scratch in his workshop with trees that he finds. Thi...
评论点赞收藏232 天前

The danger of glamourizing one shots

People should not be judging AI-augmented coding by “1 shots.” If someone told you that their model did a “one shot of Minecraft” and they’re impressed by that, you need to consider how much semantic ...
评论点赞收藏241 天前

Open Sourcing DOS 4

See the canonical version of this blog post at the Microsoft Open Source Blog! Ten years ago, Microsoft released the source for MS-DOS 1.25 and 2.0 to the Computer History Museum, and then later repub...
评论点赞收藏895 天前

GitHub Copilot for CLI for PowerShell

GitHub Next has this cool project that is basically Copilot for the CLI (command line interface). You can sign up for their waitlist at the Copilot for CLI site. Copilot for CLI provides three shell c...
评论点赞收藏1262 天前

I got tired

I have been blogging here for the last 20 years. Every Tuesday and Thursday, quite consistently, for two decades. But last year, without planning it, I got tired and stopped. Not sure why. It didn't c...
评论点赞收藏1390 天前

登录芦苇

登录后关注作者、收藏内容和参与讨论。