You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Krzysztof Janiszewski - ecenter sp. z o.o." <k....@ecenter.pl> on 2013/06/17 22:42:55 UTC

snapshot in kvm

Hi!

 

I've just noticed, that while taking snapshot of ROOT volume, my instance
has network cut off and is not responding. Is it normal? I'm using
CloudStack 4.0.2.

 

Is there posibility to make creating snapshots faster? It takes hours to
create snapshot of 20GB volume.

 

Pozdrawiam

Krzysztof Janiszewski

ecenter sp. z o.o.

--------------------------------------

Domeny, hosting, poczta wideo ::  <http://www.ecenter.pl>
http://www.ecenter.pl ::

 

Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.

87-100 Toruń, Ul. Goździkowa 2

Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem zakładowym w
wysokości 142500zł NIP 956-216-66-73

 


Re: snapshot in kvm

Posted by Dean Kamali <de...@gmail.com>.
true, snapshot gets created first on primary then moved to secondary, maybe
its taking a while to copy to secondary, thats why its taking hours.

For me 20G takes between 3 - 5 min, keep in mind, my kvm box is connected
to storage via 10G Network / Jambo frames set to 9000 + I have a fast disk
array 12 x 3TB SATA 3 With expensive RAID controller with 1GB RAM cache.






On Tue, Jun 18, 2013 at 1:50 PM, Krzysztof Janiszewski - ecenter sp. z o.o.
<k....@ecenter.pl> wrote:

> Slow creation of snapshots is in "Creating", when data is dumped on primary
> storage. In state 'backing Up', task fails. Libvirt reports:
>
> 2992: error : virStoragePoolSourceFindDuplicate:1718 : operation failed:
> Storage source conflict with pool: '7cbe4dd5-ad44-318e-b387-be26e66ee742
>
> PS: How long does it tak for you to tak snapshot of 20GB volume?
>
> Pozdrawiam
> Krzysztof Janiszewski
> ecenter sp. z o.o.
> --------------------------------------
> Domeny, hosting, poczta wideo :: http://www.ecenter.pl ::
>
> Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
> 87-100 Toruń, Ul. Goździkowa 2
> Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
> Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem zakładowym w
> wysokości 142500zł NIP 956-216-66-73
>
>
> -----Original Message-----
> From: Dean Kamali [mailto:dean.kamali@gmail.com]
> Sent: Tuesday, June 18, 2013 12:11 AM
> To: users@cloudstack.apache.org
> Subject: RE: snapshot in kvm
>
> No its not possible to not pause a VM white taking a snapshot at current
> release, but it will in the future.
>
> Try to run dd write test against your NFS and let me know.
>
> I guess for secondary storage you will need 100mb/s minimal.
>
> Are all drivers SATA 6gbs?
> On Jun 17, 2013 6:01 PM, "Krzysztof Janiszewski - ecenter sp. z o.o." <
> k.janiszewski@ecenter.pl> wrote:
>
> > Is it possible for KVM not to pause VM?
> >
> > Primary storage is SharedMountPoint (MooseFS mount) Secondary storage
> > is NFS on the same MooseFS installation.
> >
> > HDD's are SATA drives.
> >
> > Pozdrawiam
> > Krzysztof Janiszewski
> > ecenter sp. z o.o.
> > --------------------------------------
> > Domeny, hosting, poczta wideo :: http://www.ecenter.pl ::
> >
> > Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
> > 87-100 Toruń, Ul. Goździkowa 2
> > Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
> > Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem
> > zakładowym w wysokości 142500zł NIP 956-216-66-73
> >
> >
> > -----Original Message-----
> > From: Dean Kamali [mailto:dean.kamali@gmail.com]
> > Sent: Monday, June 17, 2013 11:29 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: snapshot in kvm
> >
> > KVM pause the VM while taking the snapshot , that's why you notice the
> > network cuts off. Then it will resume the operation after snap is
> complete.
> >
> > It takes hours? Hmmm where is your secondary storage?
> >
> > Could be a slow 1GB link? Could be slow drives?
> >  On Jun 17, 2013 4:43 PM, "Krzysztof Janiszewski - ecenter sp. z o.o."
> > < k.janiszewski@ecenter.pl> wrote:
> >
> > > Hi!
> > >
> > >
> > >
> > > I've just noticed, that while taking snapshot of ROOT volume, my
> > > instance has network cut off and is not responding. Is it normal?
> > > I'm using CloudStack 4.0.2.
> > >
> > >
> > >
> > > Is there posibility to make creating snapshots faster? It takes
> > > hours to create snapshot of 20GB volume.
> > >
> > >
> > >
> > > Pozdrawiam
> > >
> > > Krzysztof Janiszewski
> > >
> > > ecenter sp. z o.o.
> > >
> > > --------------------------------------
> > >
> > > Domeny, hosting, poczta wideo ::  <http://www.ecenter.pl>
> > > http://www.ecenter.pl ::
> > >
> > >
> > >
> > > Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
> > >
> > > 87-100 Toruń, Ul. Goździkowa 2
> > >
> > > Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
> > > Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem
> > > zakładowym w wysokości 142500zł NIP 956-216-66-73
> > >
> > >
> > >
> > >
> >
> >
>
>

RE: snapshot in kvm

Posted by "Krzysztof Janiszewski - ecenter sp. z o.o." <k....@ecenter.pl>.
Slow creation of snapshots is in "Creating", when data is dumped on primary
storage. In state 'backing Up', task fails. Libvirt reports:

2992: error : virStoragePoolSourceFindDuplicate:1718 : operation failed:
Storage source conflict with pool: '7cbe4dd5-ad44-318e-b387-be26e66ee742

PS: How long does it tak for you to tak snapshot of 20GB volume?

Pozdrawiam
Krzysztof Janiszewski
ecenter sp. z o.o.
--------------------------------------
Domeny, hosting, poczta wideo :: http://www.ecenter.pl ::

Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
87-100 Toruń, Ul. Goździkowa 2
Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem zakładowym w
wysokości 142500zł NIP 956-216-66-73


-----Original Message-----
From: Dean Kamali [mailto:dean.kamali@gmail.com] 
Sent: Tuesday, June 18, 2013 12:11 AM
To: users@cloudstack.apache.org
Subject: RE: snapshot in kvm

No its not possible to not pause a VM white taking a snapshot at current
release, but it will in the future.

Try to run dd write test against your NFS and let me know.

I guess for secondary storage you will need 100mb/s minimal.

Are all drivers SATA 6gbs?
On Jun 17, 2013 6:01 PM, "Krzysztof Janiszewski - ecenter sp. z o.o." <
k.janiszewski@ecenter.pl> wrote:

> Is it possible for KVM not to pause VM?
>
> Primary storage is SharedMountPoint (MooseFS mount) Secondary storage 
> is NFS on the same MooseFS installation.
>
> HDD's are SATA drives.
>
> Pozdrawiam
> Krzysztof Janiszewski
> ecenter sp. z o.o.
> --------------------------------------
> Domeny, hosting, poczta wideo :: http://www.ecenter.pl ::
>
> Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
> 87-100 Toruń, Ul. Goździkowa 2
> Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy 
> Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem 
> zakładowym w wysokości 142500zł NIP 956-216-66-73
>
>
> -----Original Message-----
> From: Dean Kamali [mailto:dean.kamali@gmail.com]
> Sent: Monday, June 17, 2013 11:29 PM
> To: users@cloudstack.apache.org
> Subject: Re: snapshot in kvm
>
> KVM pause the VM while taking the snapshot , that's why you notice the 
> network cuts off. Then it will resume the operation after snap is
complete.
>
> It takes hours? Hmmm where is your secondary storage?
>
> Could be a slow 1GB link? Could be slow drives?
>  On Jun 17, 2013 4:43 PM, "Krzysztof Janiszewski - ecenter sp. z o.o." 
> < k.janiszewski@ecenter.pl> wrote:
>
> > Hi!
> >
> >
> >
> > I've just noticed, that while taking snapshot of ROOT volume, my 
> > instance has network cut off and is not responding. Is it normal? 
> > I'm using CloudStack 4.0.2.
> >
> >
> >
> > Is there posibility to make creating snapshots faster? It takes 
> > hours to create snapshot of 20GB volume.
> >
> >
> >
> > Pozdrawiam
> >
> > Krzysztof Janiszewski
> >
> > ecenter sp. z o.o.
> >
> > --------------------------------------
> >
> > Domeny, hosting, poczta wideo ::  <http://www.ecenter.pl> 
> > http://www.ecenter.pl ::
> >
> >
> >
> > Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
> >
> > 87-100 Toruń, Ul. Goździkowa 2
> >
> > Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy 
> > Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem 
> > zakładowym w wysokości 142500zł NIP 956-216-66-73
> >
> >
> >
> >
>
>


RE: snapshot in kvm

Posted by Dean Kamali <de...@gmail.com>.
No its not possible to not pause a VM white taking a snapshot at current
release, but it will in the future.

Try to run dd write test against your NFS and let me know.

I guess for secondary storage you will need 100mb/s minimal.

Are all drivers SATA 6gbs?
On Jun 17, 2013 6:01 PM, "Krzysztof Janiszewski - ecenter sp. z o.o." <
k.janiszewski@ecenter.pl> wrote:

> Is it possible for KVM not to pause VM?
>
> Primary storage is SharedMountPoint (MooseFS mount)
> Secondary storage is NFS on the same MooseFS installation.
>
> HDD's are SATA drives.
>
> Pozdrawiam
> Krzysztof Janiszewski
> ecenter sp. z o.o.
> --------------------------------------
> Domeny, hosting, poczta wideo :: http://www.ecenter.pl ::
>
> Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
> 87-100 Toruń, Ul. Goździkowa 2
> Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
> Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem zakładowym w
> wysokości 142500zł NIP 956-216-66-73
>
>
> -----Original Message-----
> From: Dean Kamali [mailto:dean.kamali@gmail.com]
> Sent: Monday, June 17, 2013 11:29 PM
> To: users@cloudstack.apache.org
> Subject: Re: snapshot in kvm
>
> KVM pause the VM while taking the snapshot , that's why you notice the
> network cuts off. Then it will resume the operation after snap is complete.
>
> It takes hours? Hmmm where is your secondary storage?
>
> Could be a slow 1GB link? Could be slow drives?
>  On Jun 17, 2013 4:43 PM, "Krzysztof Janiszewski - ecenter sp. z o.o." <
> k.janiszewski@ecenter.pl> wrote:
>
> > Hi!
> >
> >
> >
> > I've just noticed, that while taking snapshot of ROOT volume, my
> > instance has network cut off and is not responding. Is it normal? I'm
> > using CloudStack 4.0.2.
> >
> >
> >
> > Is there posibility to make creating snapshots faster? It takes hours
> > to create snapshot of 20GB volume.
> >
> >
> >
> > Pozdrawiam
> >
> > Krzysztof Janiszewski
> >
> > ecenter sp. z o.o.
> >
> > --------------------------------------
> >
> > Domeny, hosting, poczta wideo ::  <http://www.ecenter.pl>
> > http://www.ecenter.pl ::
> >
> >
> >
> > Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
> >
> > 87-100 Toruń, Ul. Goździkowa 2
> >
> > Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
> > Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem
> > zakładowym w wysokości 142500zł NIP 956-216-66-73
> >
> >
> >
> >
>
>

RE: snapshot in kvm

Posted by "Krzysztof Janiszewski - ecenter sp. z o.o." <k....@ecenter.pl>.
Is it possible for KVM not to pause VM?

Primary storage is SharedMountPoint (MooseFS mount)
Secondary storage is NFS on the same MooseFS installation.

HDD's are SATA drives.

Pozdrawiam
Krzysztof Janiszewski
ecenter sp. z o.o.
--------------------------------------
Domeny, hosting, poczta wideo :: http://www.ecenter.pl ::

Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
87-100 Toruń, Ul. Goździkowa 2
Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem zakładowym w
wysokości 142500zł NIP 956-216-66-73


-----Original Message-----
From: Dean Kamali [mailto:dean.kamali@gmail.com] 
Sent: Monday, June 17, 2013 11:29 PM
To: users@cloudstack.apache.org
Subject: Re: snapshot in kvm

KVM pause the VM while taking the snapshot , that's why you notice the
network cuts off. Then it will resume the operation after snap is complete.

It takes hours? Hmmm where is your secondary storage?

Could be a slow 1GB link? Could be slow drives?
 On Jun 17, 2013 4:43 PM, "Krzysztof Janiszewski - ecenter sp. z o.o." <
k.janiszewski@ecenter.pl> wrote:

> Hi!
>
>
>
> I've just noticed, that while taking snapshot of ROOT volume, my 
> instance has network cut off and is not responding. Is it normal? I'm 
> using CloudStack 4.0.2.
>
>
>
> Is there posibility to make creating snapshots faster? It takes hours 
> to create snapshot of 20GB volume.
>
>
>
> Pozdrawiam
>
> Krzysztof Janiszewski
>
> ecenter sp. z o.o.
>
> --------------------------------------
>
> Domeny, hosting, poczta wideo ::  <http://www.ecenter.pl> 
> http://www.ecenter.pl ::
>
>
>
> Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
>
> 87-100 Toruń, Ul. Goździkowa 2
>
> Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy 
> Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem 
> zakładowym w wysokości 142500zł NIP 956-216-66-73
>
>
>
>


Re: snapshot in kvm

Posted by Dean Kamali <de...@gmail.com>.
KVM pause the VM while taking the snapshot , that's why you notice the
network cuts off. Then it will resume the operation after snap is complete.

It takes hours? Hmmm where is your secondary storage?

Could be a slow 1GB link? Could be slow drives?
 On Jun 17, 2013 4:43 PM, "Krzysztof Janiszewski - ecenter sp. z o.o." <
k.janiszewski@ecenter.pl> wrote:

> Hi!
>
>
>
> I've just noticed, that while taking snapshot of ROOT volume, my instance
> has network cut off and is not responding. Is it normal? I'm using
> CloudStack 4.0.2.
>
>
>
> Is there posibility to make creating snapshots faster? It takes hours to
> create snapshot of 20GB volume.
>
>
>
> Pozdrawiam
>
> Krzysztof Janiszewski
>
> ecenter sp. z o.o.
>
> --------------------------------------
>
> Domeny, hosting, poczta wideo ::  <http://www.ecenter.pl>
> http://www.ecenter.pl ::
>
>
>
> Niniejsza wiadomość przekazana została Państwu przez ecenter sp z o.o.
>
> 87-100 Toruń, Ul. Goździkowa 2
>
> Zarejestrowana w Sądzie Rejonowym w Toruniu VII Wydział Gospodarczy
> Krajowego Rejestru Sądowego pod numerem 0000251110 Z kapitałem zakładowym w
> wysokości 142500zł NIP 956-216-66-73
>
>
>
>