Opened 12 years ago
Closed 12 years ago
#11814 closed defect (fixed)
Virtual machine name exceeding 87 characters corrupts OVA file ... => Fixed in SVN
Reported by: | Hans Vledder | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.2.12 |
Keywords: | Cc: | ||
Guest type: | Windows | Host type: | Windows |
Description
Gents,
Today I ran into an issue importing one of my virtual machines into the VirtualBox Manager. After some investigation I found the length of the virtual machine name to be the root cause of all this. These are the steps to reproduce the problem:
Scenario #1
- Create a new virtual machine with a 87 character long name.
- Export it to OVA format.
- Rename the OVA file to TAR and open it.
- The names of the files within the archive will be intact.
- Importing this machine again will run just fine.
Scenario #2
- Create a new virtual machine with a 88 character long name.
- Export it to OVA format.
- Rename the OVA file to TAR and open it.
- The name of the VMDK file within the archive will be truncated.
- Importing this machine again will fail, because the VMDK cannot be found.
Given the type of compression of the OVA file, the only option I see left to eliminate this problem, is to limit the VM name to 87 characters. Please let me know how and when this issue will be fixed.
Kind Regards, Hans Vledder
Attachments (2)
Change History (4)
by , 12 years ago
by , 12 years ago
Attachment: | 01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678.ova added |
---|
VM with 88 character long name - Import fails.
comment:1 by , 12 years ago
Summary: | Virtual machine name exceeding 87 characters corrupts OVA file ... → Virtual machine name exceeding 87 characters corrupts OVA file ... => Fixed in SVN |
---|
Thank you for this report. The problem is that the tar format isn't able to handle file names in its records longer than 99 characters. VBox did silently strip the filename in such cases. An additional sanity check raising an error will be added in the next maintenance release. The better solution would be probably to find an alternative filename in such cases.
VM with 87 character long name - Imports just fine.