Last active
March 9, 2017 10:40
-
-
Save moschlar/c700ecc146afe3c491d0d690a53fd809 to your computer and use it in GitHub Desktop.
seaf-fsck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ grep ku3oghahghiv7aeC -r /fsapp/seafile_data/storage/blocks/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/ | |
/fsapp/seafile_data/storage/blocks/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/9e/6643d813d6b2910128a5aaa301fca567d82842:ku3oghahghiv7aeC | |
$ rm /fsapp/seafile_data/storage/blocks/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/9e/6643d813d6b2910128a5aaa301fca567d82842 | |
$ sudo -u seafile /opt/seafile/seafile-server-latest/seaf-fsck.sh 9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a | |
Starting seaf-fsck, please wait ... | |
[03/09/17 11:33:02] fsck.c(595): Running fsck for repo 9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a. | |
[03/09/17 11:33:02] fsck.c(422): Checking file system integrity of repo Test(9a06f3f8)... | |
[03/09/17 11:33:02] fsck.c(97): Block 9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a:9e6643d813d6b2910128a5aaa301fca567d82842 is missing. | |
[03/09/17 11:33:02] fsck.c(192): File /IchWerdeKorrumpiert.txt(624de747) is damaged. | |
[03/09/17 11:33:02] fsck.c(659): Fsck finished for repo 9a06f3f8. | |
seaf-fsck run done | |
Done. | |
$ sudo -u seafile /opt/seafile/seafile-server-latest/seaf-fsck.sh --repair 9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a | |
Starting seaf-fsck, please wait ... | |
[03/09/17 11:35:12] fsck.c(595): Running fsck for repo 9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a. | |
[03/09/17 11:35:12] fsck.c(422): Checking file system integrity of repo Test(9a06f3f8)... | |
[03/09/17 11:35:12] fsck.c(97): Block 9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a:9e6643d813d6b2910128a5aaa301fca567d82842 is missing. | |
[03/09/17 11:35:12] fsck.c(189): File /IchWerdeKorrumpiert.txt(624de747) is damaged, recreate an empty file. | |
[03/09/17 11:35:12] fsck.c(398): Update repo 9a06f3f8 status to commit f62eee12. | |
[03/09/17 11:35:12] fsck.c(659): Fsck finished for repo 9a06f3f8. | |
seaf-fsck run done | |
Done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[03/09/17 11:32:31] sync-mgr.c(702): Repo 'Test' sync state transition from 'synchronized' to 'committing'. | |
[03/09/17 11:32:31] repo-mgr.c(2118): Failed to stat .IchWerdeKorrumpiert.txt.swx: No such file or directory. | |
[03/09/17 11:32:31] repo-mgr.c(2118): Failed to stat .IchWerdeKorrumpiert.txt.swp: No such file or directory. | |
[03/09/17 11:32:31] repo-mgr.c(2118): Failed to stat .IchWerdeKorrumpiert.txt.swp: No such file or directory. | |
[03/09/17 11:32:31] repo-mgr.c(2118): Failed to stat .IchWerdeKorrumpiert.txt.swp: No such file or directory. | |
[03/09/17 11:32:31] repo-mgr.c(2118): Failed to stat 4913: No such file or directory. | |
[03/09/17 11:32:31] repo-mgr.c(2118): Failed to stat .IchWerdeKorrumpiert.txt.swp: No such file or directory. | |
[03/09/17 11:32:31] repo-mgr.c(2118): Failed to stat .IchWerdeKorrumpiert.txt.swp: No such file or directory. | |
[03/09/17 11:32:31] repo-mgr.c(3730): All events are processed for repo 9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a. | |
[03/09/17 11:32:31] sync-mgr.c(702): Repo 'Test' sync state transition from 'committing' to 'uploading'. | |
[03/09/17 11:32:31] http-tx-mgr.c(3400): Upload with HTTP sync protocol version 1. | |
[03/09/17 11:32:31] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'init') --> ('normal', 'check') | |
[03/09/17 11:32:31] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'check') --> ('normal', 'commit') | |
[03/09/17 11:32:31] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'commit') --> ('normal', 'fs') | |
[03/09/17 11:32:31] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'fs') --> ('normal', 'data') | |
[03/09/17 11:32:31] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'data') --> ('normal', 'update-branch') | |
[03/09/17 11:32:31] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'update-branch') --> ('finished', 'finished') | |
[03/09/17 11:32:31] sync-mgr.c(702): Repo 'Test' sync state transition from 'uploading' to 'initializing'. | |
[03/09/17 11:32:31] sync-mgr.c(1516): Removing blocks for repo Test(9a06f3f8). | |
[03/09/17 11:35:37] http-tx-mgr.c(4262): Download with HTTP sync protocol version 1. | |
[03/09/17 11:35:37] sync-mgr.c(702): Repo 'Test' sync state transition from 'initializing' to 'downloading'. | |
[03/09/17 11:35:37] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'init') --> ('normal', 'check') | |
[03/09/17 11:35:37] http-tx-mgr.c(2232): Bad response code for GET https://seafile.rlp.net/seafhttp/repo/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/permission-check/?op=download&client_id=b6c4730b0e478b46135955077db4fe7064f17cc2&client_name=schlarb-1: 403. | |
[03/09/17 11:35:37] http-tx-mgr.c(4268): Download permission denied for repo 9a06f3f8 on server https://seafile.rlp.net. | |
[03/09/17 11:35:37] http-tx-mgr.c(1109): Transfer repo '9a06f3f8': ('normal', 'check') --> ('error', 'finished') | |
[03/09/17 11:35:37] sync-mgr.c(764): Repo 'Test' sync state transition from downloading to 'error': 'You do not have permission to access this library'. | |
[03/09/17 11:36:08] http-tx-mgr.c(1371): Bad response code for GET https://seafile.rlp.net/seafhttp/repo/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/commit/HEAD: 403. | |
[03/09/17 11:36:08] sync-mgr.c(764): Repo 'Test' sync state transition from initializing to 'error': 'Failed to get sync info from server.'. | |
[03/09/17 11:36:39] http-tx-mgr.c(1371): Bad response code for GET https://seafile.rlp.net/seafhttp/repo/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/commit/HEAD: 403. | |
[03/09/17 11:36:39] sync-mgr.c(764): Repo 'Test' sync state transition from initializing to 'error': 'Failed to get sync info from server.'. | |
... | |
[03/09/17 11:39:15] clone-mgr.c(840): Transition clone state for 9a06f3f8 from [init] to [check server]. | |
[03/09/17 11:39:15] http-tx-mgr.c(1371): Bad response code for GET https://seafile.rlp.net/seafhttp/repo/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/commit/HEAD: 403. | |
[03/09/17 11:39:15] clone-mgr.c(857): Transition clone state for 9a06f3f8 from [check server] to [error]: check server. | |
[03/09/17 11:39:16] clone-mgr.c(840): Transition clone state for 9a06f3f8 from [error] to [check server]. | |
[03/09/17 11:39:16] http-tx-mgr.c(1371): Bad response code for GET https://seafile.rlp.net/seafhttp/repo/9a06f3f8-1beb-4ee1-a83b-da7b2074cd4a/commit/HEAD: 403. | |
[03/09/17 11:39:16] clone-mgr.c(857): Transition clone state for 9a06f3f8 from [check server] to [error]: check server. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment