Course size
- Moodle 4.1–5.3
- 更新 2026-11-09
This plugin provides approximate disk usage by Moodle courses.
This plugin provides approximate disk usage by Moodle courses.
There are 2 known shortcomings with this plugin
If the same file is used multiple times within a course, the report will report an inflated disk usage figure as the files will be counted each time even though Moodle only stores one copy of the file on disk.
If the same file is used within multiple courses it will be counted in each course and there is no indicator within the report to inform the user if they delete the course or files within the course they will not free that amount from disk.
It should be possible to improve the report to address these issues – we’d greatly appreciate any patches to improve the plugin!
To improve the performance of the total disk usage check, you should configure the pathtodu in your installation:
https://docs.moodle.org/en/System_paths#Path_to_du
- 3.6Moodle 3.6, 3.7
- 2.2Moodle 3.4, 3.5, 3.6
- 2.2Moodle 3.2, 3.3, 3.4, 3.5
- 2.2Moodle 3.3