[SERVER-1493] --smallfiles file size allocation ballons Created: 26/Jul/10 Updated: 12/Jul/16 Resolved: 09/Aug/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 1.4.4 |
| Fix Version/s: | 1.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Justin Smestad | Assignee: | Aaron Staple |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux, XFS |
||
| Operating System: | ALL |
| Participants: |
| Description |
|
Running a server with smallfiles turned on will cause mongod to create a large amount of additional files. Example: a dataset with 18GB of files will have 47GB of files when --smallfiles is turned on. steps to reproduce: |
| Comments |
| Comment by auto [ 15/Sep/10 ] |
|
Author: {'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}Message: |
| Comment by auto [ 09/Aug/10 ] |
|
Author: {'login': 'astaple', 'name': 'Aaron', 'email': 'aaron@10gen.com'}Message: |
| Comment by Mathias Stearn [ 26/Jul/10 ] |
|
I have verified that this occurs but I don't see the cause of the issue. Some numbers: > db.foo.stats() , > db.stats() $ ls -l /mnt/external/data/test.10 Note the filesize of 9G with a storageSize of 3.6G. |