Article ID: 111804, created on Aug 4, 2011, last review on May 7, 2014

  • Applies to:
  • Virtuozzo hypervisor 5.0

Symptoms

Unable to start the virtual machine after offline migration. The error is observed:
Unable to connect Hard Disk 1

Cause

Most likely non-root account was used to connect to destination server during the migration, which is why this account cannot access HDD files:
[19:05:55][~]# ls -l /vz/vmprivate/src-centos-5-x86_64.pvm/
total 200
-rwx------ 1 user user  17249 Aug  4 19:05 config.pvs
-rwx------ 1 user user  17249 Aug  4 19:05 config.pvs.backup
d--------- 2 root root   4096 Aug  4 19:03 harddisk.hdd
drwx--x--x 2 root root   4096 Aug  4 19:05 localhost.localdomain-0.hdd
-rw------- 1 root root  16384 Jul 19 17:58 NVRAM.dat
-rw-rw-rw- 1 root root 124748 Aug  4 19:05 parallels.log
drwx--x--x 2 root root   4096 Jul 19 18:00 Snapshots
-rw------- 1 root root   1760 Aug  4 19:05 statistic.log

Resolution

Recursively change permissions on virtual machine folder:
~# chown -R user:user /vz/vmprivate/src-centos-5-x86_64.pvm

c662da62f00df94fd77ba7a2c9eff4b4 a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF