linux-apfs-rw icon indicating copy to clipboard operation
linux-apfs-rw copied to clipboard

Partition mounted in read-write mode sometimes suddenly becomes read-only.

Open blickers opened this issue 11 months ago • 2 comments

I have encountered this issue multiple times before. When mounting an APFS partition in read-write mode, it sometimes suddenly becomes read-only unexpectedly while copying a bunch of files into it. Checking with the 'mount' command, I find that the partition has been remounted in read-only mode. I am using the latest development branch, with Debian 12 as the operating system and kernel version 6.12. The APFS partition is a simple data sub-volume created within the Hackintosh system partition, no complex features such as compression or encryption enabled.

blickers avatar Mar 02 '25 03:03 blickers

Thanks for the report. Have you checked dmesg? There should be an error message there explaining what went wrong in more detail.

eafer avatar Mar 03 '25 01:03 eafer

In general, a mount will become read-only as soon as any unexpected error is detected. This is by design, to prevent corruption of any data already synced to disk. Inspecting dmesg is the only way to know for sure what the error was.

eafer avatar Mar 17 '25 19:03 eafer