OpenVZ Forum


Home » General » Support » openvz7 Add virtual disk to container
Re: openvz7 Add virtual disk to container [message #53180 is a reply to message #53164] Fri, 16 February 2018 22:58 Go to previous message
gral is currently offline  gral
Messages: 34
Registered: May 2006
Member

Hi, i have new problems with the virtual disk .

After a reboot the CT doesnt start again; i receive:

# vzctl start 1d635d9d-1e4d-4799-ba40-c11683axxxxx
Starting Container ...
Mount image: /vz/private/1d635d9d-1e4d-4799-ba40-c11683axxxxx/root.hdd
Mount image: /vz/private/1d635d9d-1e4d-4799-ba40-c11683axxxxx/harddisk3.h dd
Failed to mount image: Error in ploop_mount_image (ploop.c:2401): Image /vz/private/1d635d9d-1e4d-4799-ba40-c11683axxxxx/harddisk3.h dd/root.hds already used by device /dev/ploop53294 [21]
Unmount image: /vz/private/1d635d9d-1e4d-4799-ba40-c11683axxxx/root.hdd


If i remove the line refer to the (extra) DISK on the ve.conf the container start well.

But i cant even remove the virtual disk , trying to remove it i receive;

# prlctl set 1d635d9d-1e4d-4799-ba40-c11683axxxxx --device-del hdd1
Remove the hdd1 device.
Unable to commit CT configuration: PRL_ERR_VZCTL_OPERATION_FAILED (Details: Unable to find first partition for /dev/ploop53294
)
Failed to configure the virtual machine.


I could remove it manually , but i wouldn't like to have this problem in a production environment , what im doing wrong ?


tried:

# ploop check --force /vz/private/1d635d9d-1e4d-4799-ba40-c11683xxxxx/harddisk3.hd d/root.hds
Reopen rw /vz/private/1d635d9d-1e4d-4799-ba40-c11683axxxxx/harddisk3.h dd/root.hds
Error in ploop_check (check.c:580): Dirty flag is set


Thanks again


Argentina
--Vz--
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: The certificate for https://download.openvz.org/ is broken/expired
Next Topic: download.openvz.org is down
Goto Forum:
  


Current Time: Thu Sep 05 14:31:00 GMT 2024

Total time taken to generate the page: 0.06156 seconds