-
1. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
continuum Jan 29, 2018 10:35 AM (in response to tsxi)Hi
your idea makes sense - I thought the same several years ago and made the same feature request several times.
So dont hold your breath while waiting for this feature.
Ulli -
2. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
tsxi Jan 29, 2018 12:07 PM (in response to continuum)Thanks for the respond
I found that this might be better if I had created it as an IDEA in this community, I will try that later.
-
3. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
Zongmin Aug 5, 2018 8:27 PM (in response to tsxi)thanks tsxi and Ullli for this feature request! This sounds a user case that will be convenient to Workstation users.
Sorry for replying late for this thread. I already put it into the backlog.
-ZM
-
4. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
bonnie201110141 Aug 14, 2018 2:14 AM (in response to continuum)Hi,
Can you try adding below line to the .vmx file under your VM directory?
ehci:#.present = "TRUE"
ehci:#.deviceType = "disk"
ehci:#.fileName = "pathToFile.vmdk"
where # is a number ranging from 0 to 5 (or 7 if you configure the EHCI ports in the configuration file).
Then the .vmdk will be a USB disk in guest. Try it and let us know if it is what you want. Thanks!
-
5. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
continuum Aug 14, 2018 11:52 AM (in response to bonnie201110141)> Try it and let us know if it is what you want. Thanks!
Are you serious ???
Man - this is great ! - why didn't you tell us about this feature ?
It seems to be implemented since at least WS 12 - maybe even longer ?
This is a game-changer feature for all users who develope USB-bootable tools and LiveCDs.
If those users create the USB-VMDK as type monolithicFlat they can work on their USB-boot images inside a VM conveniently and transfer it to a real device with dd.
This maybe a game-changer feature for all users that want to create VMs with disks that maybe absent.
With SCSI / SATA and IDE-vmdks a VM will not boot if the files are not available.
If a USB-vmdk is missing it may still be possible to start the VM - I still need to test this though.
This maybe a game-changing feature for all those users who missed the option to feed a single partition image to a VM.
This feature is so useful that I even consider to add Workstation to my VMFS-recovery-CD again.
Thank you guys - please prepare yourself for follow-up questions
Regards UlliTo do: check if this is also implemented in ESXi
-
6. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
a.p. Aug 14, 2018 1:02 PM (in response to continuum)It seems to be implemented since at least WS 12 - maybe even longer ?
I just tried it with WS 8.0 on a Windows 2016 Server VM. It worked.
André
-
8. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
a.p. Aug 14, 2018 3:41 PM (in response to continuum)No, that was new to me.
Regarding the read-only issue you mentioned. Did you have e.g. a CD-ROM drive mounted on the guest OS before using the same drive letter?
André
-
9. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
continuum Aug 14, 2018 5:06 PM (in response to a.p.)I used my Ubuntu-LiveCD as ISO using sata0.
This should not have any impact on this question.
My first tests suggest that the way you format the image may make the difference.
I tried to format with standard GPT and also by simply formatting the complete device.
Option A> the normal way
gdisk /dev/sda - create GPT with one Linux partition
mkfs.ext3 /dev/sda1 - create a filesystem
Option B> this would be something new - otherwise only USB-sticks typically use a single partition without MBR / GPT
mkfs.ext - create a filesystem
Both would be useful. -
10. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
bonnie201110141 Aug 14, 2018 7:00 PM (in response to continuum)1 person found this helpfulThis is not an officially released feature. But basic function works on Workstation and ESXi.
To make the USB disk in guest writable, the following option should be added:
ehci:#.readonly = "FALSE"
And you can also connect a CDROM image to the guest as a USB a usb device:
- ehci:#.present = "TRUE"
- ehci:#.deviceType = "cdrom"
- ehci:#.fileName = "pathToFile.iso"
- ehci:#.readonly = "FALSE"
Please let us know your further comments or requests. Currently this feature is a backlog in our list and we will certainly make the feature more complete and add UI to expose the feature.
-
11. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
continuum Aug 14, 2018 8:22 PM (in response to bonnie201110141)> This is not an officially released feature. But basic function works on Workstation and ESXi.
Thank you very much for the update. Very good to know.
By the way - I believe that a large part of the Workstation "hard core" users do not care at all wether a feature is officially supported.
We will use them anyway as long as the feature is implemented in a way that is consistent in the use of the required vmx-parameters and when there is a consistency across versions and platforms.
In the past we heard the statement: we only officially support those features that we also expose in the GUI.
We accepted that long ago.
So I would not put any extra work in exposing this feature in the GUI.
This is a feature that will probably go unnoticed by most of your users.
For us powerusers it is probably sufficient if you simply keep us uptodate when ever the behaviour of this feature changes in future releases.
There is one follow up question that already came to my mind.
How - if at all, can we change the vendor-string that is presented to the guestOS ?
This seems to be something like
VMware_Virtual_Storage_some uuid-0: partition number
Before I forget it: this "small discovery" today is the first unexpected pleasant surprise I received from the "Workstation front" in years.
Maybe there is still reason to hope ....
Thank you
Ulli -
12. Re: Idea / Feature Suggestion: Useful to have vmdk disks, usually SCSI / SATA / IDE, make possible for mounting as USB disk as well
bonnie201110141 Aug 20, 2018 7:33 PM (in response to continuum)Sorry for the late response! But the developer is busy with other things. Currently changing device name is not feasible. But if there is a strong request, we can add one.