Quantcast
Channel: VMware Communities: Message List - Converter Standalone
Viewing all articles
Browse latest Browse all 8478

Re: UnixP2VVolumeCloneFailedEvent error in Converter 5.1

$
0
0

Hello bparinas,

 

I don't think patching the source fstab would help if patching the destination's doesn't.

I am examining the not mounted devices again in the log, I'd like to show you what is happening (I am taking an arbitrary one, e.g. /dev/vgdata/data203628_u06):

- first we partition the destination disks

- then we create the physical volume and the volume group:

2014-01-31T08:41:44.504Z [F2060B70 verbose 'task-1'] LD_LIBRARY_PATH=/usr/lib/vmware-converter

2014-01-31T08:41:44.504Z [F2060B70 verbose 'task-1'] PATH=/sbin:/usr/sbin:/bin:/usr/bin

2014-01-31T08:41:44.504Z [F2060B70 verbose 'task-1'] Invoking /sbin/lvm with the following arguments:

2014-01-31T08:41:44.505Z [F2060B70 verbose 'task-1'] args[0]: pvcreate

2014-01-31T08:41:44.505Z [F2060B70 verbose 'task-1'] args[1]: --metadatatype

2014-01-31T08:41:44.505Z [F2060B70 verbose 'task-1'] args[2]: 2

2014-01-31T08:41:44.505Z [F2060B70 verbose 'task-1'] args[3]: /dev/sdc1

2014-01-31T08:41:45.217Z [F2060B70 verbose 'task-1'] Command return code: 0; result string:   Writing physical volume data to disk "/dev/sdc1"

-->   Physical volume "/dev/sdc1" successfully created

-->

2014-01-31T08:41:45.217Z [F2060B70 verbose 'task-1'] LD_LIBRARY_PATH=/usr/lib/vmware-converter

2014-01-31T08:41:45.218Z [F2060B70 verbose 'task-1'] PATH=/sbin:/usr/sbin:/bin:/usr/bin

2014-01-31T08:41:45.218Z [F2060B70 verbose 'task-1'] Invoking /sbin/lvm with the following arguments:

2014-01-31T08:41:45.218Z [F2060B70 verbose 'task-1'] args[0]: vgcreate

2014-01-31T08:41:45.218Z [F2060B70 verbose 'task-1'] args[1]: --metadatatype

2014-01-31T08:41:45.219Z [F2060B70 verbose 'task-1'] args[2]: 2

2014-01-31T08:41:45.219Z [F2060B70 verbose 'task-1'] args[3]: --physicalextentsize

2014-01-31T08:41:45.219Z [F2060B70 verbose 'task-1'] args[4]: 4096K

2014-01-31T08:41:45.219Z [F2060B70 verbose 'task-1'] args[5]: vgdata

2014-01-31T08:41:45.219Z [F2060B70 verbose 'task-1'] args[6]: /dev/sdc1

2014-01-31T08:41:45.417Z [F2060B70 verbose 'task-1'] Command return code: 0; result string:   Volume group "vgdata" successfully created

 

- create the logical volume:

2014-01-31T08:41:45.618Z [F2060B70 verbose 'task-1'] LD_LIBRARY_PATH=/usr/lib/vmware-converter

2014-01-31T08:41:45.618Z [F2060B70 verbose 'task-1'] PATH=/sbin:/usr/sbin:/bin:/usr/bin

2014-01-31T08:41:45.619Z [F2060B70 verbose 'task-1'] Invoking /sbin/lvm with the following arguments:

2014-01-31T08:41:45.619Z [F2060B70 verbose 'task-1'] args[0]: lvcreate

2014-01-31T08:41:45.619Z [F2060B70 verbose 'task-1'] args[1]: --name

2014-01-31T08:41:45.619Z [F2060B70 verbose 'task-1'] args[2]: data203628_u06

2014-01-31T08:41:45.619Z [F2060B70 verbose 'task-1'] args[3]: --size

2014-01-31T08:41:45.620Z [F2060B70 verbose 'task-1'] args[4]: 104857600K

2014-01-31T08:41:45.620Z [F2060B70 verbose 'task-1'] args[5]: vgdata

2014-01-31T08:41:45.668Z [F2060B70 verbose 'task-1'] Command return code: 0; result string:   Logical volume "data203628_u06" created

 

- format it:

2014-01-31T08:42:40.830Z [F2060B70 verbose 'task-1'] LD_LIBRARY_PATH=/usr/lib/vmware-converter

2014-01-31T08:42:40.830Z [F2060B70 verbose 'task-1'] PATH=/sbin:/usr/sbin:/bin:/usr/bin

2014-01-31T08:42:40.830Z [F2060B70 verbose 'task-1'] Invoking /sbin/mkfs.ext4 with the following arguments:

2014-01-31T08:42:40.830Z [F2060B70 verbose 'task-1'] args[0]: -Ldata203628_u06

2014-01-31T08:42:40.830Z [F2060B70 verbose 'task-1'] args[1]: -O dir_index,filetype,has_journal,^journal_dev,resize_inode,sparse_super,extent,flex_bg,uninit_bg

2014-01-31T08:42:40.831Z [F2060B70 verbose 'task-1'] args[2]: -I 128

2014-01-31T08:42:40.831Z [F2060B70 verbose 'task-1'] args[3]: /dev/vgdata/data203628_u06

2014-01-31T08:42:57.957Z [F2060B70 verbose 'task-1'] Command return code: 0; result string: mke2fs 1.41.12 (17-May-2010)

 

- mount it to a temporary directory:

2014-01-31T10:31:17.627Z [F2060B70 verbose 'task-1'] LD_LIBRARY_PATH=/usr/lib/vmware-converter

2014-01-31T10:31:17.627Z [F2060B70 verbose 'task-1'] PATH=/sbin:/usr/sbin:/bin:/usr/bin

2014-01-31T10:31:17.627Z [F2060B70 verbose 'task-1'] Invoking /bin/mount with the following arguments:

2014-01-31T10:31:17.627Z [F2060B70 verbose 'task-1'] args[0]: -t

2014-01-31T10:31:17.627Z [F2060B70 verbose 'task-1'] args[1]: ext4

2014-01-31T10:31:17.628Z [F2060B70 verbose 'task-1'] args[2]: /dev/vgdata/data203628_u06

2014-01-31T10:31:17.628Z [F2060B70 verbose 'task-1'] args[3]: /mnt/p2v-src-root/srv/data203628

2014-01-31T10:31:17.677Z [F2060B70 verbose 'task-1'] Command return code: 0; result string:

 

- transfer the data:

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] Invoking /usr/lib/vmware-converter/copyFileSystem.sh with the following arguments:

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[0]: --sshClient

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[1]: /usr/lib/vmware-converter/bin/ssh

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[2]: --user

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[3]: root

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[4]: --host

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[5]: 135.247.217.121

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[6]: --port

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[7]: 22

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[8]: --sourceMountPoint

2014-01-31T10:31:17.678Z [F2060B70 verbose 'task-1'] args[9]: /srv/data203628

2014-01-31T10:31:17.679Z [F2060B70 verbose 'task-1'] args[10]: --targetMountPoint

2014-01-31T10:31:17.679Z [F2060B70 verbose 'task-1'] args[11]: /mnt/p2v-src-root/srv/data203628

2014-01-31T10:31:17.679Z [F2060B70 verbose 'task-1'] args[12]: --sshConfigFile

2014-01-31T10:31:17.679Z [F2060B70 verbose 'task-1'] args[13]: /usr/lib/vmware-converter/ssh.conf

2014-01-31T10:31:17.679Z [F2060B70 verbose 'task-1'] args[14]: --sourceTarOption

2014-01-31T10:31:17.679Z [F2060B70 verbose 'task-1'] args[15]: --sparse

 

And everything passes OK.

 

In fstab patching there is:

2014-01-31T11:48:28.893Z [F2060B70 info 'task-1'] patching device path of mount point /srv/data203628, from /dev/mapper/vgdata-data203628_u06 to /dev/vgdata/data203628_u06

 

Is it possible this machine has the links of the form /dev/mapper/vgdata-<lvname> but doesn't have links like /dev/vgdata/<lvname> ? Can you check that?

If so, please update, I would like to file a bug.

 

Regards,

Plamen


Viewing all articles
Browse latest Browse all 8478

Trending Articles