I just reviewed some of my Seafile documentation and found this
Seafile FSCK:
source: https://manual.seafile.com/maintain/seafile_fsck.html
Usage-Modes:
- checking integrity of libraries.
- repairing corrupted libraries.
- exporting libraries.
Integrity Checks:
Running seaf-fsck.sh without any arguments will run a read-only integrity check for all libraries.
cd seafile-server-latest
./seaf-fsck.sh
Running the following command will run a read-only integrity check for specific libraries
cd seafile-server-latest
./seaf-fsck.sh [library-id1] [library-id2] …
Repair corrupted Libraries:
Running the following command repairs all the libraries:
cd seafile-server-latest
./seaf-fsck.sh --repair
Running the following command repairs specific libraries
cd seafile-server-latest
./seaf-fsck.sh --repair [library-id1] [library-id2] …
Exporting Libraries:
Running the following** command exports all the libraries to the “top_export_path”
cd seafile-server-latest
./seaf-fsck.sh --export top_export_path
Running the following command exports the specified libraries to the “top_export_path”
cd seafile-server-latest
./seaf-fsck.sh --export top_export_path [library-id1] [library-id2] …
…
So far I have a cron job running every 2 Weeks to delete old data.
I was wondering ist I need to do the FSCK in a similar maner.
I have never done FSCK over the last 2 years.
- How often do you guys run FSCK?
- Did you ever have any issues after running it /w repair mode? because that is the mode I would run it…
Thanks for your feedback