Page 1 of 1

File read error! >> You do not have access rights to this file

Posted: Sat Jun 15, 2024 7:41 pm
by AlexIT
I'm trying to migrate a VMware VM from one remote host to the other one.

The migration of the VM starts and is runnig up to 40% and then I get the error message ...

File read error!
You do not have access rights to this file

The vm is powered off during the migration and I'm migrating the full VM.

Do you have any idea to solve the migration, so that I can migrate the VM from one ESXi to the other ESXi?

here the log file ...
6/15 19:42:08.475 2c40 Facility ???INFO: CPPConverting::ConvertDisks: CreateInputImage: 0
6/15 19:42:09.787 2c40 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [esx_local_datastore] migrate/srvxxxxx/srvxxxxx_0.vmdk
6/15 19:42:09.787 2c40 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=6
6/15 19:42:09.803 2c40 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - D6:90:71:60:1D:40:7B:A6:28:4E:BD:F4:0C:31:53:68:54:F1:AF:C3
6/15 19:42:11.206 2c40 Facility ???INFO: CPPConverting::ConvertDisks: CreateOutputImage: 0
6/15 19:45:51.438 628 Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): No_timeout ESX connection
6/15 19:46:28.453 2eac Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): Timeout ESX connection
6/15 20:06:28.462 2eac Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): Timeout ESX connection
6/15 20:26:28.496 2eac Facility ???INFO: VMConverter::ESXIConverter::Connection::<lambda_8874940e4602bbfc5e7b4b277e23eb86>::operator (): Timeout ESX connection
6/15 20:41:10.762 2c40 Facility ???ERROR: VMwareFile::Read: m_VixDiskLib_Read is fail - 13, You do not have access rights to this file
6/15 20:41:10.762 2c40 Facility ???ERROR: CPPConverting::ConvertImage: Read 3
6/15 20:41:16.146 2c40 Facility ???INFO: ESXVmdk::ParseFile: sFilename - [esx_datastore] srvxxxxx/srvxxxxx_0.vmdk
6/15 20:41:16.146 2c40 Facility ???INFO: ESXVmdk::ParseFile: m_cvmxSpec - moref=1
6/15 20:41:16.146 2c40 Facility ???INFO: ESXVmdk::ParseFile: Close disk
6/15 20:41:16.146 2c40 Facility ???INFO: ESXVmdk::ParseFile: Disconnect
6/15 20:41:16.193 2c40 Facility ???INFO: ESXVmdk::ParseFile: sslThumbprint - 01:82:D6:09:2E:78:30:02:57:AE:D6:0C:E1:3C:37:4F:BC:89:1D:FC
6/15 20:41:18.100 2c40 Facility ???ERROR: VMwareFile::Read: m_VixDiskLib_Read is fail - 13, You do not have access rights to this file
6/15 20:41:18.100 2c40 Facility ???ERROR: CPPConverting::ConvertImage: Read 3

Thank you and best regards
Alex

Re: File read error! >> You do not have access rights to this file

Posted: Sat Jun 15, 2024 8:34 pm
by yaroslav (staff)
Welcome to StarWind Forum. Does the conversion run a long time?
Try converting the disk to a local device or to another Hyper-V host and than copy the file to the VXrail host.

Re: File read error! >> You do not have access rights to this file

Posted: Sat Jun 15, 2024 8:37 pm
by AlexIT
It's running about one hour.

I tried in a 2nd run to create a local file and change the format to thick. But in this case I get the same error.

Hyper-V is not possible because I've no Hyper-V server

Re: File read error! >> You do not have access rights to this file

Posted: Sat Jun 15, 2024 8:51 pm
by yaroslav (staff)
It seems that there's some session expiration. As a workaround, try converting the disks as local files and export them to VXrail. You can convert them to elsewhere where there si no expiration for a session.

Re: File read error! >> You do not have access rights to this file

Posted: Sat Jun 15, 2024 8:57 pm
by AlexIT
I've already tried to

As a workaround, try converting the disks as local files

But the same issue with the timout.

I'm wondering where the timeout comes from.

In the ESXi I checked the Shell TimeOut for UserVars.ESXiShellTimeOut = 0 and also for the ESXiShellInteractiveTimeOut = 0.

Re: File read error! >> You do not have access rights to this file

Posted: Sat Jun 15, 2024 9:12 pm
by yaroslav (staff)
Thanks for your update.
Does it come up even when you convert a disk into a local file that is located on the same host as the V2V converter is running?