Hi, I'll put a condition around the block that does the shrinking only in the case of CLVM. Would the disk image type be "CLVM" instead of "qcow2"?
Thanks, John > On 13 Aug 2014, at 20:39, "Mike Tutkowski" <mike.tutkow...@solidfire.com> > wrote: > > This is how Marcus responded: > > Yes, this is true. Ideally other storage maintainers/drivers would > implement it as well, but we only committed a test for shrinking clvm (over > a year ago now). I'd like to keep the test itself to run regression against > clvm, but since this test is being used now for some continuous integration > or other automated testing. Perhaps it can be split out or only run in > applicable situations, perhaps make a copy of the file that doesn't run > during your automation, but can be run by others who want to test shrinking > on their storage type. > > > On Wed, Aug 13, 2014 at 1:05 PM, Chandan Purushothama < > chandan.purushoth...@citrix.com> wrote: > >> Marcus, >> >> May I know your response, >> >> Thank you, >> Chandan. >> >> -----Original Message----- >> From: Chandan Purushothama [mailto:chandan.purushoth...@citrix.com] >> Sent: Tuesday, August 12, 2014 12:37 PM >> To: Marcus >> Cc: dev@cloudstack.apache.org >> Subject: Regarding Shrinking of Volume >> >> Hello Marcus, >> >> I see that shrinking of volume is not supported by XenServer >> (CLOUDSTACK-7228) . May I know whether KVM with CLVM Data Volumes is the >> only configuration that supports shrinking of data volume? If Yes, May I >> know if the corresponding test case that shrinks data disks be removed from >> smoke/test_volumes.py (https://reviews.apache.org/r/24615/). Please let >> me know, >> >> Thank you, >> Chandan. > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > <http://solidfire.com/solution/overview/?video=play>*™*