You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/12/30 15:07:30 UTC

[GitHub] [cloudstack] GabrielBrascher commented on issue #5019: Listsnapshots.physicalsize has been 0

GabrielBrascher commented on issue #5019:
URL: https://github.com/apache/cloudstack/issues/5019#issuecomment-1003068455


   @sureshanaparti @div8cn 
   
   I've tested on KVM with different primary storage pools: `Local storage`, `NFS`, and `Ceph`.
   I have been able to reproduce this issue but it was not related to the storage pool. The factor that seems to be playing the key role (at least on my tests) here is the OS type.
   
   To show that, here follows an output from _cloudmonkey_:
   ```
   (cloudstack) 🐱 > list snapshots filter=name,osdisplayname,physicalsize,virtualsize
   count = 6
   snapshot:
   +-----------------------------+-------------------------------+-----------------+-----------------+
   |            NAME             |         OSDISPLAYNAME         |  PHYSICALSIZE   |   VIRTUALSIZE   |
   +-----------------------------+-------------------------------+-----------------+-----------------+
   | test-local-snapshot         | Other PV Virtio-SCSI (64-bit) | 3.408003072e+09 | 1.073741824e+10 |
   | migration-rbd-test-snapshot | Other PV Virtio-SCSI (64-bit) | 3.59661568e+09  | 5.36870912e+10  |
   | snap-123                    | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   | primary-nfs-snap2           | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   | primary-nfs-snap            | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   | test-snap1                  | Other PV (64-bit)             |               0 | 2.14749184e+08  |
   +-----------------------------+-------------------------------+-----------------+-----------------+
   ```
   
   @div8cn can you please confirm if that is also observed on your tests?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org