incubator-cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 北川 大輔 <daisuke.kitag...@inte.co.jp>
Subject RE: [cloudstack-devel] Differences of parameter "capacityused" between Type2 and Type3
Date Tue, 15 May 2012 00:52:45 GMT
Hello, all who helped on this question.
And thank you Nitin!

> This has been identified as a bug on KVM.
> http://bugs.cloud.com/show_bug.cgi?id=14597 <http://bugs.cloud.com/show_bug.cgi?id=14597>
 

Is there any one who knows this bug is fixed on CloudStack 3.0.2?
If not so, would this be fixed on next release?

As if there are some one who knows about this issue or working on,
It is very nice to be informed.

Thank you for your time.

--
Daisuke kitagawa
 
Intelligence Business Solutions
 
1-4-4 Yanagibashi Taito-ku
Tokyo-to Japan  111-0052
Phone: +81 3 6385 6103
FAX: +81 3 6385 6104
 
http://ibs.inte.co.jp/ 

________________________________

From: 北川 大輔 
Sent: Wednesday, April 04, 2012 10:11 AM
To: Development discussions for CloudStack; Development discussions for CloudStack; Edison
Su; Janardhana Reddy
Subject: RE: [cloudstack-devel] Differences ofparameter "capacityused" between Type2 and Type3


 Hello, Nitin and all who helped on this question.
 
Thank you for taking look at this issue, and posted to bugzilla.
I will keep checking on this bugzilla ticket.
 
 
--
Daisuke kitagawa
 
Intelligence Business Solutions
 
1-4-4 Yanagibashi Taito-ku
Tokyo-to Japan  111-0052
Phone: +81 3 6385 6103
FAX: +81 3 6385 6104
 
http://ibs.inte.co.jp/

________________________________

From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com]
Sent: 2012/04/03 (火) 20:55
To: Development discussions for CloudStack; Edison Su; Janardhana Reddy
Subject: Re: [cloudstack-devel] Differences ofparameter "capacityused" between Type2 and Type3



Hi Daisuke,

This has been identified as a bug on KVM.

http://bugs.cloud.com/show_bug.cgi?id=14597 <http://bugs.cloud.com/show_bug.cgi?id=14597>
 

 

 

Thanks,

-Nitin

 

From: Nitin Mehta [mailto:Nitin.Mehta@citrix.com] 
Sent: Thursday, March 29, 2012 12:14 PM
To: Development discussions for CloudStack; Edison Su; Janardhana Reddy
Subject: Re: [cloudstack-devel] Differences of parameter "capacityused" between Type2 and
Type3

 

If you look at the size column of the volumes table, it is pretty less and probably sums up
to what you are seeing as the total allocated size. I would have expected them to be equivalent
to the size of the templates they have been created from.

Edison/Jana - Can you please comment on this behavior for KVM ?

 

Thanks,

-Nitin

 

From: 北川 大輔 [mailto:daisuke.kitagawa@inte.co.jp] <mailto:[mailto:daisuke.kitagawa@inte.co.jp]>
 
Sent: Thursday, March 29, 2012 7:40 AM
To: 北川 大輔; Edison Su; Development discussions for CloudStack
Subject: Re: [cloudstack-devel] Differences of parameter "capacityused" between Type2 and
Type3

 

Hello, all!

 

MySQL out put did not help to see what the problem was?

If so, tell me what to show.

 

ThankQ

 

--

Daisuke kitagawa

 

Intelligence Business Solutions

 

1-4-4 Yanagibashi Taito-ku

Tokyo-to Japan  111-0052
Phone: +81 3 6385 6103

FAX: +81 3 6385 6104

 

http://ibs.inte.co.jp/ <http://ibs.inte.co.jp/> 

 

________________________________

From: 北川 大輔
Sent: 2012/03/26 (月) 10:33
To: Edison Su; Development discussions for CloudStack
Subject: RE: [cloudstack-devel] Differences of parameter "capacityused" between Type2 and
Type3

Hi, Edison and all!

 

This is the MySQL out put.

And, I attached it to this mail.

Please Take a look at.

 

Thank you!

 

Daisuke Kitagwa 

 

________________________________

From: Edison Su [mailto:Edison.su@citrix.com]
Sent: 2012/03/23 (金) 23:06
To: Development discussions for CloudStack; 北川 大輔
Subject: RE: [cloudstack-devel] Differences of parameter "capacityused" between Type2 and
Type3

That’s weird, usually Type3 is larger than Type 2.

Can you show me “select * from volumes where pool_id=your-primary-storage-pool-id and removed
is null” in your db?

 

From: 北川 大輔 [mailto:daisuke.kitagawa@inte.co.jp] 
Sent: Friday, March 23, 2012 1:53 AM
To: Development discussions for CloudStack
Subject: [cloudstack-devel] Differences of parameter "capacityused" between Type2 and Type3

 

Hey, all!

 

I am running 10 instances of VMs (each of the vm image size is 5GB) on Cloudstack3.0 with
KVM(CentOS 6.2). 

 

Total Usage of Primary storage size is 6.8GB.

When I check parameters of “capacityused” between Type2, and Type3, there are differences.

Type2 7266631680(6.9GB)

Type3 4792320(4.5MB)

 

There are many files sized over 4.5MB in a directory…

Why Type 3 “capacityused” comes out at 4792320(4.5MB).

I can also see differences on Cloudstack web UI.

 

See how I checked below.

I also attached screen shot of Cloudstack web UI.

 

 

-- log start --

 

# df -h /mnt/b5353e4f-0083-37bd-8be4-2823b8d2c437/

Filesystem            Size  Used Avail Use% mount point

192.168.16.2:/export  244G  6.8G  238G   3% /mnt/b5353e4f-0083-37bd-8be4-2823b8d2c437

 

# du -h /mnt/b5353e4f-0083-37bd-8be4-2823b8d2c437

8.0K    /mnt/b5353e4f-0083-37bd-8be4-2823b8d2c437/KVMHA

6.8G    /mnt/b5353e4f-0083-37bd-8be4-2823b8d2c437

 

#listCapacity --type=2

(CAPACITY_TYPE_STORAGE)

 

--- OUTPUT ---

<?xml version="1.0" encoding="ISO-8859-1"?>

<listcapacityresponse cloud-stack-version="3.0.0.20120228045507">

  <count>1</count>

  <capacity>

    <type>2</type>

    <zoneid>38c16262-47ce-4670-b95e-c7ec9188698b</zoneid>

    <zonename>foo-Zone</zonename>

    < capacityused >7266631680</capacityused>

    <capacitytotal>261969936384</capacitytotal>

    <percentused>2.77</percentused>

  </capacity>

</listcapacityresponse>

 

 

#listCapacity --type=3

(CAPACITY_TYPE_STORAGE_ALLOCATED)

 

--- OUTPUT ---

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<listcapacityresponse cloud-stack-version="3.0.0.20120228045507">

  <count>1</count>

  <capacity>

    <type>3</type>

    <zoneid>38c16262-47ce-4670-b95e-c7ec9188698b</zoneid>

    <zonename>foo-Zone</zonename>

    <capacityused>4792320</capacityused>

    <capacitytotal>523939872768</capacitytotal>

    <percentused>0</percentused>

  </capacity>

</listcapacityresponse> 

 

-- logend -- 

 

Thank you!

 

--

Daisuke Kitagawa


Mime
View raw message