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

백업된 이미지의 내용에 따라서 USB 쓰기가 안되는 경우 #4

Closed
chaeya opened this issue Apr 17, 2021 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@chaeya
Copy link
Contributor

chaeya commented Apr 17, 2021

SBLIVE 파티션의 내용을 작성하는 도중 오류가 발생하는 경우가 있음.

  • sblive 파일안에 어떤 파일이 있을 때 오류가 생기는지 디버그 필요
@chaeya chaeya added the bug Something isn't working label Apr 17, 2021
@chaeya chaeya self-assigned this Apr 17, 2021
@chaeya
Copy link
Contributor Author

chaeya commented Apr 18, 2021

같은 프로그램 소스로 빌드한 후 커널 환경이 다른 시스템을 테스트한 결과
히모니카 기본으로 제공된 kernel 5.4.x 에서는 정상 동작했지만
kernel 5.10.0.14 에서 백업한 이미지의 경우 USB 쓰기가 안되는 경우가 발생

@chaeya
Copy link
Contributor Author

chaeya commented Apr 18, 2021

쓰는 도중에 확인한 마운트 정보는 동일

정상인 경우

$ cat /etc/mtab

/dev/sdc1 /.sblivesystemwrite/sblive vfat rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/sdc2 /.sblivesystemwrite/sbroot ext4 rw,noatime 0 0

오류날 경우

/dev/sdc1 /.sblivesystemwrite/sblive vfat rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/sdc2 /.sblivesystemwrite/sbroot ext4 rw,noatime 0 0

@chaeya
Copy link
Contributor Author

chaeya commented Apr 18, 2021

ERROR LOG

$cat /var/log/syslog

Apr 17 13:15:25 hamonikr-jin multipath: sdc: can't store path info
Apr 17 13:15:25 hamonikr-jin multipathd[930]: sdc: spurious uevent, path not found
Apr 17 13:15:25 hamonikr-jin multipathd[930]: uevent trigger error
Apr 17 13:15:26 hamonikr-jin kernel: [ 2881.142777] sdc: sdc1 sdc2
Apr 17 13:15:26 hamonikr-jin multipath: sdc: can't store path info
Apr 17 13:15:26 hamonikr-jin multipathd[930]: sdc: spurious uevent, path not found
Apr 17 13:15:26 hamonikr-jin multipathd[930]: uevent trigger error
Apr 17 13:15:26 hamonikr-jin kernel: [ 2881.310358] EXT4-fs (sdc2): mounted filesystem with ordered data mode. Opts: (null)
Apr 17 13:15:26 hamonikr-jin systemd[2517]: \x2esblivesystemwrite-sblive.mount: Succeeded.
Apr 17 13:15:26 hamonikr-jin systemd[1]: \x2esblivesystemwrite-sblive.mount: Succeeded.
Apr 17 13:15:30 hamonikr-jin systemd[1]: \x2esblivesystemwrite-sbroot.mount: Succeeded.
Apr 17 13:15:30 hamonikr-jin systemd[2517]: \x2esblivesystemwrite-sbroot.mount: Succeeded.

@chaeya
Copy link
Contributor Author

chaeya commented Apr 18, 2021

해당 서비스를 제거하고 중지하는 방법을 시도했으나 동일한 오류

sudo systemctl stop multipath-tools.service
sudo apt purge multipath-tools

@chaeya chaeya closed this as completed in a0200c3 Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant