VMware Cloud Community
Thoranai
Contributor
Contributor
Jump to solution

Permission Denied while Creating a VMFS drive

Hi there,

Please pardon me if this is a repost.

I am trying to create a VMFS Drive. Here are the things that I have tried:

I am getting an error while creating a VMFS Drive ( 2x 2TB Drives ). I did create an VMFS Drive on a 500 GB drive. The ESXI Server is running on an USB (2GB).

Screenshot 1 shows the drives ( I was able to create a partition ) through the commandline (Did this after I tried to create it through the GUI.

Anyways the error i'm getting while creating the VMFS Datastore through the GUI is:

Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "ha-datastoresystem" on ESXi "192.168.0.2" failed.

(Screenshot 2)

When I try to create it through the command line, it says:

Permission Denied.

(Screenshot 3)

After that I did some research about this error and found this thread:

I found a thread: http://communities.vmware.com/thread/288514

In that thread the person said to use the following commands:

ls /vmfs/devices/disks

The vm1 should be visible in the disk. I searched in the disks and did found the following:

/vmfs/devices/disks/vml.0100000000533248374a39464232303130363120202020202053414d53554e:1
After that I did ls /vmfs/devices/disks/ls /vmfs/devices/disks/vml.0100000000533248374a39464232303130363120202020202053414d53554e:1.
The system gave me back the item.(Screenshot 4)
I retried to use the following command:
vmkfstools -C vmfs3 /vmfs/devices/disks/ls /vmfs/devices/disks/vml.0100000000533248374a39464232303130363120202020202053414d53554e:1

The output of that is in screenshot 5.

Atleast it keeps saying Permission Denied. Could anyone help me with this? What am I doing wrong? Did I forgot something?

Screenshot FDisk -L (Second Post)

I'm running ESXI Server 4.1. I

Thanks for ur time and I'd hope someone can help me.

Thanks,

Thoranai

0 Kudos
1 Solution

Accepted Solutions
DSTAVERT
Immortal
Immortal
Jump to solution

ESXi has a LUN limit of 2TB -512 bytes. Your problem may be related. You can try making smaller virtual LUNs / Disks using the array tools in your RAID controller.

-- David -- VMware Communities Moderator

View solution in original post

0 Kudos
5 Replies
Thoranai
Contributor
Contributor
Jump to solution

FDisk -L Screenshot.

I created another partition on the other hard disk ( the other 2 TB Drive ).

I retried using the following command:

vmkfstools -C vmfs3 -b 1m -S TEST /vmfs/devices/disks/vml.0100000000533248374a39464232303130363120202020202053414d53554e:1

But it failed. And I used this command to get the names of the vm's.

esxcfg-scsidevs -l
Screenshots

Thanks for ur time.

0 Kudos
DSTAVERT
Immortal
Immortal
Jump to solution

ESXi has a LUN limit of 2TB -512 bytes. Your problem may be related. You can try making smaller virtual LUNs / Disks using the array tools in your RAID controller.

-- David -- VMware Communities Moderator
0 Kudos
Thoranai
Contributor
Contributor
Jump to solution

Hi,

Thanks . Didnt knew this. Was stuck on this for hours xd. Anyways, i need to search some raid tools. Do you know if esxi had built in tools to do this?

Stupid of me to not see the 512 bytes. I only saw the 2tb and kinda ignored the 512 bytes:p

Anyways thank you very much.

0 Kudos
DSTAVERT
Immortal
Immortal
Jump to solution

ESX(i) do not include any RAID tools. That would be something that is part of the RAID controller. What RAID controller do you have and I will see if I can help? My suggestion to break up the array is only to make sure that the issue isn't related to the 2TB - 512 byte limit. There can still be another issue.

-- David -- VMware Communities Moderator
0 Kudos
Thoranai
Contributor
Contributor
Jump to solution

Hey,

Sorry for the late response. Was working and went to bed. Anyways, the specifications:

- Asus P8H67-M EVO motherboard

- Intel® H67(B3) chipset :

2 x SATA 6Gb/s port(s), gray

4 x SATA 3Gb/s port(s), blue

Support Raid 0, 1, 5, 10

Marvell 88SE6111 controller :

1 x UltraDMA 133/100/66 for up to 2 PATA devices , navy blue

1 x Power eSATA 3Gb/s port(s), green

Thanks for ur time,

Thoranai

0 Kudos