Just keep in mind that “files:scan --all” will also scan all data in local Data folder - it will take much longer and will eat a lot of resources.
Use:
php occ files:scan --path="/USERNAME/files/Mount_Point"
as described in Automate OCC Filescan. This will only do rescan of specific path/mounting point.