VMware Cloud Community
Erwin_Zavala1
Contributor
Contributor

why is vmkfstools -i generating this Missing required argument: vmfsPath error

vmkfstools -i /vmfs/volumes/NFS_Shared/Fedora2/Fedora2.vmdk -d /test

Missing required argument: vmfsPath

0 Kudos
6 Replies
weinstein5
Immortal
Immortal

The issue I believe is you need to specify a vmfs datastore - so if test is a vmfs datastore syntax should be /vmfs/volumrs/test -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
Erwin_Zavala1
Contributor
Contributor

I folled your suggestions and still the error persists

vmkfstools -i /vmfs/volumes/NFS_Shared/Fedora2/Fedora2.vmdk -d /vmfs/volumes/NFS_Shared/

0 Kudos
mcowger
Immortal
Immortal

The documentation is misleading - it doesn't actually want a path, but a full path and filename:

vmkfstools -i /vmfs/volumes/NFS_Shared/Fedora2/Fedora2.vmdk /vmfs/volumes/NFS_Shared/cloneddisk.vmdk

Not sure why you are including the -d, its not required or relevant.

--Matt

--Matt VCDX #52 blog.cowger.us
0 Kudos
mcowger
Immortal
Immortal

Duplicate post.

--Matt VCDX #52 blog.cowger.us
0 Kudos
weinstein5
Immortal
Immortal

Because the NFS is still not a VMFS file system - you might need to use the -d switch -

vmkfstools -i /vmfs/volumes/NFS_Shared/Fedora2/Fedora2.vmdk -d 2gbsparse /vmfs/volumes/NFS_Shared/cloneddisk.vmdk

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
mcowger
Immortal
Immortal

it should default to that anyways for an NFS filessystem, but I dont have one currently to test that with.

--Matt

--Matt VCDX #52 blog.cowger.us
0 Kudos