Openhabian: "mirror_SD "diff" /dev/sda" shows weird entries in journal

System:
openHab 4.1.1 on Openhabian 1.9, 64Bit,
Raspberry 4B, 8GB

Hi,

by chance I discovered the following entries in the journal.

I’m wondering what’s causing this. The directories are existing.
I do not have ZRAM active, but in my opinion the error should not actually occur.
[edit insert]It’s from the service created by ‘53 | Setup SD mirroring’ in openhabian-config.[/edit insert]
What do you think?

Okt 18 22:01:51 ourhouse mirror_SD[91467]: $ rsync --one-file-system --delete -aKh /var/lib/openhab/persistence/* /storage/syncmount/opt/zram/persistence.bind 
Okt 18 22:01:51 ourhouse mirror_SD[91496]: rsync: [sender] link_stat "/var/lib/openhab/persistence/*" failed: No such file or directory (2)
Okt 18 22:01:51 ourhouse mirror_SD[91496]: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]
Okt 18 22:01:51 ourhouse mirror_SD[91467]: $ rsync --one-file-system --delete -aKh /var/log/* /storage/syncmount/opt/zram/log.bind 
Okt 18 22:01:51 ourhouse mirror_SD[91499]: rsync: [sender] link_stat "/var/log/*" failed: No such file or directory (2)
Okt 18 22:01:51 ourhouse mirror_SD[91499]: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1333) [sender=3.2.3]
Okt 18 22:01:51 ourhouse systemd[85202]: storage-syncmount.mount: Succeeded.
Okt 18 22:01:51 ourhouse systemd[1]: storage-syncmount.mount: Succeeded.
Okt 18 22:01:53 ourhouse kernel: EXT4-fs (sda2): unmounting filesystem.
Okt 18 22:01:53 ourhouse systemd[1]: sdrsync.service: Succeeded.
Okt 18 22:01:53 ourhouse systemd[1]: Finished Run SD rsync daily except semiannually (when a raw dump is made).
Okt 18 22:01:53 ourhouse systemd[1]: sdrsync.service: Consumed 10.903s CPU time.

The error messages

link_stat "/var/lib/openhab/persistence/*" failed: No such file or directory (2)
link_stat "/var/log/*" failed: No such file or directory (2)

say “no such file or directory” … The directories should exist what you confirmed.
The problem is that there are no files in these directories.

No, that’s not the problem.

They also containing files and directories.
I have also tried executing these two rsync commands directly and this results in no error.

Possibly a rights problem?

Edit: I should perhaps mention that this is the service created by ‘53 | Setup SD mirroring’ in openhabian-config.

It’s because you disabled zram. That now of course is no intended mode of operation.
Zram is normally mounted in right those places.

Ah, does the problem with “not existing” refer to this parameter “/storage/syncmount/opt/zram/persistence.bind” and not to this parameter “/var/lib/openhab/persistence/*” ?
Is that the point?

rsync --one-file-system --delete -aKh /var/lib/openhab/persistence/* /storage/syncmount/opt/zram/persistence.bind 

But what I still not understand: Why can I manually call this line without errors ? (after mounting /dev/sda2 on /storage/syncmount)

sudo rsync --one-file-system --delete -aKh /var/lib/openhab/persistence/* /storage/syncmount/opt/zram/persistence.bind

It looks like the same ?

Because when mounted, the pattern matches.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.