I have 2 identical arm devices running FreeBSD 11.4 from a 64 GB microSD card that is mounted read-only most of the time, whenever I mount it read-write and then back to read-only with these commands:
It will take between 10 and 40 seconds to mount it read-only again, freezing disk access during that time, and in dmesg it appears these messages:
The partitions of both cards look like this:
Is this a driver related problem? or maybe I should partition the cards in a different way to keep partitions aligned somewhat?
Code:
mount -u -w /
mount -u -r /
Code:
Mar 27 07:56:00 bl12-247-99 kernel: GEOM_PART: partition 1 on (diskid/DISK-E89ADB97, MBR) is not aligned on 4194304 bytes
Mar 27 07:56:00 bl12-247-99 kernel: GEOM_PART: partition 2 on (diskid/DISK-E89ADB97, MBR) is not aligned on 4194304 bytes
Mar 27 07:56:00 bl12-247-99 kernel: GEOM_PART: partition 1 on (ufsid/5e37468114d819f1, BSD) is not aligned on 4194304 bytes
Mar 27 07:56:00 bl12-247-99 kernel: GEOM_PART: partition 1 on (diskid/DISK-E89ADB97s2, BSD) is not aligned on 4194304 bytes
Code:
# gpart show mmcsd0
=> 63 124735425 mmcsd0 MBR (59G)
63 2016 - free - (1.0M)
2079 65520 1 !12 [active] (32M)
67599 1009 - free - (505K)
68608 121533440 2 freebsd (58G)
121602048 3133440 - free - (1.5G)