VMware Cloud Community
johnabraham
Enthusiast
Enthusiast

How to access the data from a Guest OS from Datastore?

Hi friends

I want to access around 20GB of a directory from RHEL5 Guest. If i upload the data to the datastore there is no such way like share data from a datastore to VM.

so how can i share such files or folders?

any suggestion would be grateful.

thanks

0 Kudos
3 Replies
Linjo
Leadership
Leadership

You could write the data to an iso-file and mount that to the VM.

Another alternative is to setup a simple nfs-server and mount that.

// Linjo

Best regards, Linjo Please follow me on twitter: @viewgeek If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
tova
Contributor
Contributor

Hi John,

it depend... If you need just access/copy data (saved on datastore) from linux (virtual) machine, the easyest way is enable SSH on ESXi server and use scp from target machine:

scp root@ESXi_IP_address:/vmfs/volumes/storage_name/your_data /path_where_to_copy

If You need to share data, is is possible to mount this data over SCP, but I think, that this is not good idea.

T.

0 Kudos
nielse
Expert
Expert

The best solution is to setup NFS or SMB on that specific server. You could upload it to the datastore and use SCP getting it from the ESXi server but I wouldn't advise this.

@nielsengelen - http://foonet.be - VCP4/5
0 Kudos