Article ID: 123457, created on Nov 7, 2014, last review on Nov 7, 2014

  • Applies to:
  • Virtuozzo 6.0

Symptoms

  • IT is not possible to migrate a KVM VM to a PCS VM if the source VM has "/" partition on "/dev/vd**" (e.g: "/dev/vda1")

  • After transporter agent is started on the source KVM VM host, the migration fails with no messages to stdout:

    [root@pcs ~]# pmigrate h root@10.20.30.40 v migrated.vm
    Warning: the OS partition will be migrated only, the rest will be skipped
    Password:
    Connecting to root@10.20.30.40:0...
    Querying configuration...
    
  • Similar errors can be found in "/var/log/parallels.log" on the source VM:

    06-25 12:15:14.987 F /LvmNative:15046:15393/ Error : Failed to run command "mdadm -D " and get std output.
    06-25 12:15:14.999 F /HostUtils:15046:15393/ The 'sh -c "vgdisplay -c"' returned exit code: '127' !
    06-25 12:15:14.999 F /HostUtils:15046:15393/ The 'sh -c "vgdisplay -c"' returned with error: 'sh: 0: getcwd() failed: No such file or directory
    /bin/sh: 1: vgdisplay: not found
    ' !
    06-25 12:15:15.000 F /LvmNative:15046:15393/ Error : Failed to run command "vgdisplay -c" and get std output.
    06-25 12:15:15.000 I /osacc:15046:15393/ Map,  volume groups count: 0
    06-25 12:15:15.050 F /HostUtils:15046:15393/ The 'sh -c "mdadm -D /dev/vda1"' returned exit code: '127' !
    06-25 12:15:15.051 F /HostUtils:15046:15393/ The 'sh -c "mdadm -D /dev/vda1"' returned with error: 'sh: 0: getcwd() failed: No such file or directory
    /bin/sh: 1: mdadm: not found
    ' !
    06-25 12:15:15.052 F /LvmNative:15046:15393/ Error : Failed to run command "mdadm -D " and get std output.
    06-25 12:15:15.064 F /HostUtils:15046:15393/ The 'sh -c "vgdisplay -c"' returned exit code: '127' !
    06-25 12:15:15.064 F /HostUtils:15046:15393/ The 'sh -c "vgdisplay -c"' returned with error: 'sh: 0: getcwd() failed: No such file or directory
    /bin/sh: 1: vgdisplay: not found
    

Cause

This issue is recognized as a product bug PSBM-27864.

Resolution

The fix will be included in one of the future product updates.

Search Words

Failed to run command "mdadm -D " and get std output

/dev/vda

p2v migration

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF