Bug #2783
Storage size calculation for Datastore using du
Status: | Closed | Start date: | 03/19/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Javi Fontan | % Done: | 0% | |
Category: | Drivers - Storage | |||
Target version: | Release 4.10.2 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: | OpenNebula 4.4 |
Description
Support for sparse files can mislead the storage calculation, using --apparent-size should fix this. There are two scripts at least affected by this:
- IM - ds_monitoring.sh
- Datastore - fs/monitor
Related issues
Associated revisions
bug #2783: use df instead of du for datastore usage
bug #2783: use df instead of du for datastore usage
(cherry picked from commit 4ec69144c9561d9200f0578ae9a4701b4dbeb5a7)
History
#1 Updated by Ruben S. Montero about 7 years ago
- Target version changed from Release 4.6 to Release 4.8
#2 Updated by Jaime Melis about 7 years ago
- Related to Backlog #2402: Keep track of allocated storage in DS added
#3 Updated by Ruben S. Montero about 7 years ago
This will be solved when the storage is checked by OpenNebula. This will also means that we use df...
#4 Updated by Ruben S. Montero about 7 years ago
- Status changed from New to Closed
- Assignee deleted (
Javi Fontan) - Resolution set to wontfix
#5 Updated by Ruben S. Montero over 6 years ago
- Status changed from Closed to New
- Target version changed from Release 4.8 to Release 4.12
- Resolution deleted (
wontfix)
At least to remove du on IM - ds_monitoring.sh. It'd be better to reduce the accuracy of the probe rather than taking down a node with NFS...
#6 Updated by Ruben S. Montero over 6 years ago
- Related to Bug #3393: Multiple probes running on a node added
#7 Updated by Ruben S. Montero over 6 years ago
- Target version changed from Release 4.12 to Release 4.10.2
#8 Updated by Ruben S. Montero over 6 years ago
- Assignee set to Javi Fontan
#9 Updated by Javi Fontan over 6 years ago
- Status changed from New to Closed
- Resolution set to fixed
Now usage is calculated with df command instead of du.