I have been doing some negative testing with Plugin, it caused VMs not to start
properly I had some that were in Stopped or Stopping state that I had clean out
of the system manually. After I was done I found that the XenServer Hypervisor
Local Storage Stats was off between CloudStack and the XenServer. I am trying
to figure if this normal, given my negative testing, Cloudstack usage is
34342961152/34347155456 (used/capacity) versus XenServer 4194304/34347155456.
-Soheil
[root@xenserver1-cloudstack ~]# xe sr-param-list
uuid=52ea201e-694e-37ef-d9fa-61b10af29165
uuid ( RO) : 52ea201e-694e-37ef-d9fa-61b10af29165
name-label ( RW): 52ea201e-694e-37ef-d9fa-61b10af29165
name-description ( RW): Cloud Stack Local LVM Storage Pool for
846b5000-897d-4eee-8497-3b7992bdc40e
host ( RO): xenserver1-cloudstack
allowed-operations (SRO): forget; VDI.create; VDI.snapshot; plug; update;
destroy; VDI.destroy; scan; VDI.clone; VDI.resize; unplug
current-operations (SRO):
VDIs (SRO):
PBDs (SRO): 5fa4e878-f708-33e4-bfd2-5cb51d680669
virtual-allocation ( RO): 0
physical-utilisation ( RO): 4194304
physical-size ( RO): 34347155456
type ( RO): lvm
content-type ( RO): user
shared ( RW): false
introduced-by ( RO): <not in database>
other-config (MRW): i18n-original-value-name_label: Local storage;
i18n-key: local-storage
sm-config (MRO): allocation: thick; use_vhd: true; devserial:
blobs ( RO):
local-cache-enabled ( RO): false
tags (SRW):
mysql> select * from storage_pool;
+----+-------------------------------------+--------------------------------------+-------------------+------+----------------+--------+------------+-------------+----------------+----------------+-----------+----------------------+---------------------+---------+-------------+--------+-----------------------+---------+------------+
| id | name | uuid
| pool_type | port | data_center_id | pod_id | cluster_id |
used_bytes | capacity_bytes | host_address | user_info | path
| created | removed | update_time | status | storage_provider_name
| scope | hypervisor |
+----+-------------------------------------+--------------------------------------+-------------------+------+----------------+--------+------------+-------------+----------------+----------------+-----------+----------------------+---------------------+---------+-------------+--------+-----------------------+---------+------------+
| 5 | testprimarynfs |
75719dd8-db6b-398f-924a-c6d088e442d2 | NetworkFilesystem | 2049 |
1 | 1 | 1 | 11577196544 | 20332937216 | 172.16.197.134 | NULL
| /opt/storage/primary | 2013-07-03 00:00:44 | NULL | NULL | Up
| DefaultPrimary | CLUSTER | NULL |
| 7 | xenserver1-cloudstack Local Storage |
52ea201e-694e-37ef-d9fa-61b10af29165 | LVM | 0 |
1 | 1 | 1 | 34342961152 | 34347155456 | 172.16.197.133 | NULL
| lvm | 2013-07-08 00:38:14 | NULL | NULL | Up
| DefaultPrimary | HOST | NULL |
+----+-------------------------------------+--------------------------------------+-------------------+------+----------------+--------+------------+-------------+----------------+----------------+-----------+----------------------+---------------------+---------+-------------+--------+-----------------------+---------+------------+
2 rows in set (0.00 sec)