ESXi - RAW Drive Mapping + NASlite + *.vmdk + disk permissions

ArchStud

Junior Member
Jun 11, 2016
6
0
0
Hello,

I am hoping that I would be able to find some help with setting up ESXi 6 on my machine to run a few Virtual Machines to learn various Operating Systems and Server systems, as well as running my NASLite M2 x64 system.

Some background first:

System Setup:

MB - SuperMicro X7DBE
CPU - 2 x Intel Xeon L5420
RAM - 12 GB ECC
HD's - 2 x 2 TB WD Red, a 4 TB WD Red, and a 3 TB WD Green
CASE - Fractal Design Define XL Titanium E-ATX PC Case

I previously had a NAS running using NASlite M2 x64, and had some old 500 GB EIDE hard drives die on me and was able to recover the data using testdisk and photorec (awesome programs!). A WD 2TB green died on me, and I mean, it is dead!

I recently setup ESXi on the system, and created my first VM's (Ubuntu 16 and NASLite M2 x64).

To access the original hard drives that were in the NAS that had data on them, I followed this video on how to add physical hard drives in VMWare vSphere Hypervisor. Basically I used RAW disk mapping and created *.vmdk image for the hard drives (video can be seen here).

I have been able to access them without any issues, ftp in to the NASlite system, AFP in, etc., and I can copy files from the VM, but I am unable to write to the any of the disks in the NASlite VM.

Could anyone offer any insight in to the issue? The closest thing I have found was an example in a ESX article that discusses changing permissions of a mapping to add write permission via a shell/prompt as seen from the text below:

Query and Change Permissions of a Mapping
Next you want to change the permissions on YOUR.vmdk so that all users have write access.

Using the service console, query the permissions and then set them for the mapping just like an ordinary Linux file:

ls -l /vmfs/Vmfs1/YOUR.vmdk
chmod 0777 /vmfs/Vmfs1/YOUR.vmdk


What I am trying to figure out is how to allow write permission for the *.vmdk file in ESXi 6, and if this would work as well or if anyone could point me in the right direction.

Thank you and I look forward to your replies.