Ir para conteúdo
View in the app

A better way to browse. Learn more.

Portal do Host

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Openvz] Problemas Ao Gerar Snapshot

Featured Replies

Postado

Fala Pessoal,

Estou tentando gerar um snapshot das VPS em um diretório montado via NFS, porém aparece o seguinte erro:


INFO: Starting Backup of VM 128 (openvz)

INFO: status = CTID 128 exist mounted running

INFO: creating lvm snapshot of /dev/mapper/VolGroup32-ROOT ('/dev/VolGroup32/vzsnap')

INFO:   Volume group "VolGroup32" has insufficient free space (0 extents): 32 required.

ERROR: Backup of VM 128 failed - command '/usr/sbin/lvcreate --size 1024M --snapshot --name vzsnap /dev/VolGroup32/ROOT' failed with exit code 5

Alguém sabe como resolvo isso?


Postado

Tem espaço suficiente no grupo lógico? (VolGroup32), lembrando que tem que ser o dobro do espaço que o VPS consome.


Postado
  • Autor

Fiquei um pouco na duvida, está assim:

Espaço usado pela VM:


[root@servidor ~]# vzctl exec 101 df -h

Filesystem		    Size  Used Avail Use% Mounted on

/dev/simfs			 40G  2.3G   38G   6% /

none				  512M  4.0K  512M   1% /dev

Espaço do HD e do NFS:

Filesystem		    Size  Used Avail Use% Mounted on

/dev/mapper/VolGroup32-ROOT 893G  257G  591G  31% /

/dev/sda1			  99M   38M   57M  41% /boot

tmpfs				 3.9G	 0  3.9G   0% /dev/shm

backup:/home/servidor  913G   76G  792G   9% /backup

Volume lógico

[root@servidor ~]# vgdisplay

  --- Volume group ---

  VG Name			   VolGroup32

  System ID

  Format			    lvm2

  Metadata Areas	    1

  Metadata Sequence No  3

  VG Access			 read/write

  VG Status			 resizable

  MAX LV			    0

  Cur LV			    2

  Open LV			   2

  Max PV			    0

  Cur PV			    1

  Act PV			    1

  VG Size			   931.41 GB

  PE Size			   32.00 MB

  Total PE			  29805

  Alloc PE / Size	   29805 / 931.41 GB

  Free  PE / Size	   0 / 0

  VG UUID			   zffe1S-PMJ8-QO1P-qT3D-Ykj8-i2nZ-PfSKCT

Volume fisico:

[root@servidor ~]# pvdisplay

  --- Physical volume ---

  PV Name			   /dev/sda2

  VG Name			   VolGroup32

  PV Size			   931.41 GB / not usable 5.24 MB

  Allocatable		   yes (but full)

  PE Size (KByte)	   32768

  Total PE			  29805

  Free PE			   0

  Allocated PE		  29805

  PV UUID			   XHlW1i-VYLz-owcy-ylMS-oJ0B-NumY-tgNmcZ

Tem algo de errado nisso ?


Postado

Marcelo, acredito que o erro esta aqui:

Free PE / Size 0 / 0

Você precisa alocar espaço no grupo VolGroup32

WebChamp - Hospedagem de Sites, Revenda de Hospedagem, Revenda de VPS, Servidores Virtuais  (OpenVZ / KVM).



Postado
  • Autor

Tentei fazer no HD local e funcionou, mas quando tento fazer na partição montada (NFS) não funciona


Visitante
Este tópico está impedido de receber novos posts.

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Informação Importante

Concorda com os nossos termos?

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.