On my OpenWrt One I have moved the system.log to an SSD into the directory /work/logs. Every day at 23:59 a logrotate is started which removes a lot of unneccessary messages and copies the remaining ones to a daily /work/logs/system_DOW.log, where DOW is Mon, Tue etc.
After a reboot, the new messages are not written to /work/logs/system.log any more. A new logrotate after the reboot fixes the problem.
Maybe, the reason is the timing: Probably, logging is started before the SSD is mounted by /etc/rc.local.
Because an entry in the fstab did not work, I added the mount in the /etc/rc.local:
The subvolume is mounted correctly and the result of a “dmesg | grep BTRFS” gives the following result:
[ 17.612778] BTRFS: device fsid 93cd1a03-22db-4a7c-bbd0-282b45d7c194 devid 1 transid 125885 /dev/nvme0n1 scanned by block (960) [ 17.624905] BTRFS info (device nvme0n1): first mount of filesystem 93cd1a03-22db-4a7c-bbd0-282b45d7c194 [ 17.634351] BTRFS info (device nvme0n1): using crc32c (crc32c-generic) checksum algorithm [ 17.642562] BTRFS info (device nvme0n1): using free space tree [ 17.652374] BTRFS info (device nvme0n1): enabling ssd optimizations [ 17.658649] BTRFS info (device nvme0n1): auto enabling async discard