Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1523 - block-mount: unnecessary error log on already mounted device #7372

Closed
openwrt-bot opened this issue Apr 28, 2018 · 1 comment
Closed
Labels

Comments

@openwrt-bot
Copy link

ndvour:

Environment: arm_cortex-a9_vfpv3, Linksys WRT1200AC, LEDE Reboot 17.01.4 r3560-79f57e422d

Description:
A USB flash drive has been configured with an ext4 partition to be used as external overlay, following the steps at https://openwrt.org/docs/guide-user/additional-software/extroot_configuration precisely. After the extroot switch, block tries to remount partitions that have already been mounted, generating the following errors in the logs:
Sat Apr 28 12:25:00 2018 daemon.err block: /dev/ubiblock0_0 is already mounted on /rom
Sat Apr 28 12:25:00 2018 daemon.err block: /dev/sdb1 is already mounted on /overlay

@openwrt-bot
Copy link
Author

ndvour:

This actually doesn't seem related to mounting an external overlay: the errors appear even when using the internal one (with "/dev/ubi0_1" replacing "/dev/sdb1").
Mon Apr 30 12:45:14 2018 daemon.err block: /dev/ubiblock0_0 is already mounted on /rom
Mon Apr 30 12:45:14 2018 daemon.err block: /dev/ubi0_1 is already mounted on /overlay

I understand this may not be regarded as a bug at all, everything works fine. But I'm trying to get a better understanding of my system and I think having meaningful logs is key. "False positives" are confusing and annoying: if there is indeed no error, no error should appear, maybe a warning. So I stand by my choice of reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant