VMware Cloud Community
Monkeyfacesmone
Contributor
Contributor
Jump to solution

Problem with RDM, 3TB drive and ESXi 6

Hello,

I've been following this guide to make my local 3TB drive to work with ESXi 6.

VMware KB: Raw Device Mapping for local storage

But when I use the command

vmkfstools -z /vmfs/devices/disks/<diskname> /vmfs/volumes/<datastorename>/<vmfolder>/<vmname>.vmdk

I get this error.

Failed to create virtual disk: The destination file system does not support large files (12).

Any advice on how to solve this?

1 Solution

Accepted Solutions
Monkeyfacesmone
Contributor
Contributor
Jump to solution

PROBLEM SOLVED!!

vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_WD30EFRX2D68AX_________________________WD2DWMC1T1096 /vmfs/volumes/datastore1/3TBRDM.vmdk 

I didn't understand that I needed to add the datastore1 folder and put the .vmdk file there. I'm quite new to things like this Smiley Happy .

View solution in original post

6 Replies
npadmani
Virtuoso
Virtuoso
Jump to solution

vmkfstools -z /vmfs/devices/disks/<diskname> /vmfs/volumes/<datastorename>/<vmfolder>/<vmname>.vmdk

Datastore you are using, is it VMFS-5 or VMFS-3?

this could happen if you try to create RDM pointer file on VMFS-3 datastore, in that case you got to upgrade it to VMFS-5 using cli or web client.

Narendra Padmani VCIX6-DCV | VCIX7-CMA | VCI | TOGAF 9 Certified
Monkeyfacesmone
Contributor
Contributor
Jump to solution

PROBLEM SOLVED!!

vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_WD30EFRX2D68AX_________________________WD2DWMC1T1096 /vmfs/volumes/datastore1/3TBRDM.vmdk 

I didn't understand that I needed to add the datastore1 folder and put the .vmdk file there. I'm quite new to things like this Smiley Happy .

a_p_
Leadership
Leadership
Jump to solution

Just a quick question. Did you create the vmdk's target folder prior to running the command? The command itself will not create the folder.


André

Reply
0 Kudos
Monkeyfacesmone
Contributor
Contributor
Jump to solution

I tried to do it but it didn't work.

    /vmfs/volumes] mkdir datastore2

    mkdir: can't create directory 'datastore2': Operation not permitted

(How could I fix this?`)

So instead I tried to put the file directly in /vmf/volumes

And thats when I got the error.

Reply
0 Kudos
a_p_
Leadership
Leadership
Jump to solution

[/vmfs/volumes] mkdir datastore2

A folder can only be created on an existing datastore, so the commands would look like:

[/vmfs/volumes/datastore1] mkdir vmfolder

[...] vmkfstools -z /vmfs/devices/disks/t10.ATA_____WDC_... /vmfs/volumes/datastore1/vmfolder/3TBRDM.vmdk

André

Reply
0 Kudos
Monkeyfacesmone
Contributor
Contributor
Jump to solution

Oh ok I see, Thanks!

Reply
0 Kudos