github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_check_fs.md (about) 1 ## cozy-stack check fs 2 3 Check a vfs 4 5 ### Synopsis 6 7 8 This command checks that the files in the VFS are not desynchronized, ie a file 9 present in CouchDB but not swift/localfs, or present in swift/localfs but not 10 couchdb. 11 12 There are 2 steps: 13 14 - index integrity checks that there are nothing wrong in the index (CouchDB), 15 like a file present in a directory that has been deleted 16 - files consistency checks that the files are the same in the index (CouchDB) 17 and the storage (Swift or localfs). 18 19 By default, both operations are done, but you can choose one or the other via 20 the flags. 21 22 23 ``` 24 cozy-stack check fs <domain> [flags] 25 ``` 26 27 ### Options 28 29 ``` 30 --fail-fast Stop the FSCK on the first error 31 --files-consistency Check the files consistency only (between CouchDB and Swift) 32 -h, --help help for fs 33 --index-integrity Check the index integrity only 34 ``` 35 36 ### Options inherited from parent commands 37 38 ``` 39 --admin-host string administration server host (default "localhost") 40 --admin-port int administration server port (default 6060) 41 -c, --config string configuration file (default "$HOME/.cozy.yaml") 42 --host string server host (default "localhost") 43 -p, --port int server port (default 8080) 44 ``` 45 46 ### SEE ALSO 47 48 * [cozy-stack check](cozy-stack_check.md) - A set of tools to check that instances are in the expected state. 49