TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Muxfs – a mirroring, checksumming, and self-healing filesystem layer for OpenBSD

171 点作者 ciprian_craciun将近 3 年前

9 条评论

ciprian_craciun将近 3 年前
I have only two issues with the `muxfs` implementation as it stands:<p>(1) (And the largest problem) is that it requires stable inodes in order to tie the checksums with the actual files. This means (and it&#x27;s already stated in the article) you can&#x27;t copy &#x2F; move &#x2F; overwrite any of the underlying files without losing the checksums. (Basically it also removes the possibility of accessing one of the mirrors via NFS, FUSE, or anything that doesn&#x27;t have stable inodes.)<p>(2) (Based on my reading of the article) it doesn&#x27;t seem to hold a &quot;log&quot; or &quot;sequence&quot; to identify which of the two mirrors are ahead or if they are in sync. In case of a disconnect &#x2F; reconnect you need to manually tell `muxfs` which is the &quot;newer&quot; one (by using a `sync` before being able to mount it).<p>(I haven&#x27;t tested it though, I&#x27;m running Linux, but I&#x27;m quite interested because just last week I thought &quot;why doesn&#x27;t one implement a FUSE file-system to add checksums and thus prevent bitrot&quot;. `muxfs` also adds mirroring.)
评论 #32458225 未加载
评论 #32458328 未加载
defrost将近 3 年前
Nice concept, and having skimmed it&#x27;s worth noting:<p>&gt; muxfs needs you!<p>&gt; No filesystem can be considered stable without thorough testing and muxfs is no exception.<p>&gt; Even if I had tested muxfs enough to call it stable it still would not be responsible to expect you to simply take my word for it. It is for this reason that I do not intend to release a version 1.0 until there are sufficient citations that I can make to positive, third-party evaluations of muxfs.<p>&gt; This is where you can help.<p>&gt; I need volunteers to test muxfs, provide feedback, and periodically publish test results.
评论 #32457778 未加载
sdadams将近 3 年前
Author here. A big thank you to you all for your interest in muxfs! I will try to answer all of your questions as best I can.
评论 #32462371 未加载
ranger_danger将近 3 年前
&gt; a filesystem should automatically check and repair data as it is accessed rather than processing the entire filesystem tree upon every check or repair job.<p>Except this is not sufficient. Flash storage for example is especially susceptible to random bitrot of data over time regardless of whether or not it is ever accessed or even powered on. Ever tried to plug in an old USB stick or SD card only to find out it was totally busted or unreadable? Scanning the entire filesystem and re-checksumming everything is therefore completely necessary.
评论 #32457391 未加载
ikiris将近 3 年前
i can&#x27;t find &quot;zfs&quot; mentioned once in this guy&#x27;s doc so my first question is... why not?
评论 #32457366 未加载
评论 #32457348 未加载
评论 #32457356 未加载
aborsy将近 3 年前
Other than lack of support for NAS file systems in OpenBSD, is there a reason not to use ZFS (in favor of another file system providing similar features)?
评论 #32459464 未加载
tbe超过 2 年前
Would muxfs be easily portable to other operating systems, or does it rely on non-standard APIs?
pmarreck将近 3 年前
Do you use forward error correction? If so, which algorithm?
评论 #32471356 未加载
gigatexal将近 3 年前
would porting ZFS have been worthwile? I know the CDDL is likely considered toxic to have in the kernel but even in a FUSE way might be worthwhile here, no?
评论 #32462257 未加载
评论 #32469881 未加载