steemd doesn't support NTFS drive

in #steemlast month

I recently repurposed an unused Intel NUC by installing Ubuntu 24 on it, but it doesn’t have enough internal storage. To compensate, I connected an external USB drive formatted as NTFS. I tried running a backup instance of steemd on that drive, but it failed — likely because NTFS doesn’t support proper Linux file ownership or file locking, which steemd depends on.

RocksDB requires POSIX file locking (fcntl/flock) to ensure only one process writes to the database at a time.

The NTFS-3G driver does not support POSIX file locks properly on Linux.

So any app using RocksDB (like Steem, Hive, or similar blockchain nodes) will fail to open the database if it’s stored on NTFS.

Even if permissions (uid, gid, etc.) look fine, RocksDB still cannot lock its LOCK file because the filesystem driver rejects or ignores the locking call.

Workarounds that don’t work

Changing mount options (permissions, uid=1000, etc.)
→ won’t fix it; the problem is lack of lock support, not permissions.
Running as root or --privileged
→ still fails, same reason.
Using Samba or NFS mounted from NTFS host
→ same underlying issue: no file locks.

image.png

0523e08eb529a787198ecd18cca28c52.jpg

91d7d6ad595ab2939f56076b462ac674.jpg

eaaf7eed257472f32c072198d8dbb760.jpg

准备在我那NUC8跑一个备份节点,有一个大问题, 我把数据挂在 NTFS的移动硬盘上,因为没有文件权限的支持,steemd跑不起来。应该是文件系统格式的问题,Linux对 NTFS 的支持有限。

b56ef1101c53d41451f151d539d28ac7.png

File Permissions Denied

e0d2aa05d7b764c54d49e458950f99df.png

Steem to the Moon🚀!

Support me, thank you!

Why you should vote me? My contributions
Please vote me as a witness or set me as a proxy via https://steemitwallet.com/~witnesses

image.png