void-runit icon indicating copy to clipboard operation
void-runit copied to clipboard

failed to lock /etc/exports.d/zfs.exports.lock: Read-only file system in core-services/03-filesystems.sh

Open lzhoucs opened this issue 8 months ago • 1 comments

It seems we are mounting the zfs pool as read-only first, then zfs share -a will attempt to place a lock /etc/exports.d/zfs.exports.lock which causes the issue in the title. I wonder if we should mount the pool as read-write earlier to avoid the error?

Also a separate question, how do I check the log for the runit boot process? I literally took a screenshot during booting to create this issue. I've setup socklog according to the docs, but I couldn't find the error: failed to lock /etc/exports.d/zfs.exports.lock: Read-only file system anywhere in the /var/log.

lzhoucs avatar May 26 '24 19:05 lzhoucs