ESXi

 View Only
Expand all | Collapse all

Cannot add VMFS datastore to ESXi host

datwater

datwaterMar 09, 2015 05:37 PM

  • 1.  Cannot add VMFS datastore to ESXi host

    Posted Feb 20, 2013 05:37 PM

    Hello all,

    I have an issue with 1 FC LUN that can be seen as a device through multiple paths on all 10 hosts in a cluster but it only appear as a VMFS datastore on 6 of the hosts. Other LUNs from the same array appear fine on all hosts. All 10 hosts see the LUN with the same LUN ID and all hosts are identical with respect to ESXi version (5.0 Update 2), HBA models and firmware.

    On the 4 hosts that can see the device but not the VMFS datastore it appears that it sees the LUN as a snapshot: "esxcli storage vmfs snapshot list" results in:

    4f5e5cbb-a87cd2c6-86e9-d8d385f98034
       Volume Name: LUN101_SAS2
       VMFS UUID: 4f5e5cbb-a87cd2c6-86e9-d8d385f98034
       Can mount: true
       Reason for un-mountability:
       Can resignature: false
       Reason for non-resignaturability: the volume is being actively used
       Unresolved Extent Count: 1

    The above VMFS UUID matches the VMFS UUID seen on the 6 hosts that can see the VMFS datastore.

    When I try to use "Add Storage", the device appears with a VMFS Label of: LUN101_SAS2(head). I'm not sure why (head) has been appended to the VMFS label. On the following screen the "Keep existing signature" and "Assign a new signature" options are greyed out. The only option is "Format the disk". I need to keep the existing signature as there are running VMs that have their .vmx and .vmdk files on this LUN.

    Would the fact that I have running VMs on this LUN be preventing me from choosing the "Keep existing signature" option?

    Will I need to Storage vMotion these VMs to another LUN before I can add the VMFS datastore to the 4 hosts?

    TIA



  • 2.  RE: Cannot add VMFS datastore to ESXi host
    Best Answer

    Posted Feb 20, 2013 06:13 PM

    Hey RoscoT,

    Try the following command

    #esxcfg-volume -l

    This ought to show the volume

    To persistently mount the volume, use esxcfg-volume -M followed by either the UUID or the name of the volume

    Regards

    a



  • 3.  RE: Cannot add VMFS datastore to ESXi host

    Posted Feb 21, 2013 11:52 AM

    A big thank you a_nut_in!

    That worked a treat. I'd tried from the GUI directly attached to the host and using vCenter but no joy. Good to know that esxcfg-volume -M will force the VMFS datastore to be mounted while obviously keeping the current UUID.

    Cheers again,

    Rosco



  • 4.  RE: Cannot add VMFS datastore to ESXi host

    Posted Feb 21, 2013 02:49 PM

    No worries :smileyblush:



  • 5.  RE: Cannot add VMFS datastore to ESXi host

    Posted Jun 13, 2013 01:09 AM

    esxcfg -l option is showing nothing. I am trying to downgrade from 5.1 to 41. update 3 as 5.1 is show freq purple screen for my this whitebox.

    Do you see any issue in this and also esxcfg-volume -l is showing nothing...



  • 6.  RE: Cannot add VMFS datastore to ESXi host

    Posted May 03, 2014 08:13 PM

    Hello, i need help if you can i will appreciate it. i have the same issue i can't see the datastore so i want to mount it without to format the drive i need the data.

    i tried the commands but when i run esxcfg-volume -M and the UDID after some time i receive an error:timeout

    esxcfg-volume -M 50105409-876f4320-030d-0010f3246b93 this is the command that i run.

    Do you have any idea? Thanks



  • 7.  RE: Cannot add VMFS datastore to ESXi host

    Posted May 04, 2014 11:14 AM

    Hi Peri,

    Try running esxcfg-volume -l to check that the volume can indeed be mounted. If nothing is listed then it's probably another problem you're encountering.

    Run esxcli storage vmfs extent list to see all the datastores

    Run esxcfg-volume -M <the name of the datastore>

    Give that a whirl.



  • 8.  RE: Cannot add VMFS datastore to ESXi host

    Posted Feb 23, 2017 01:53 PM

    This worked for me too! Thank you!

    - 2 standalone hosts (not clustered), same VMware ESXi, 5.5.0, 4345813

    - vcenter 5.5, 4180647

    - using web client

    - san present disk with same LUN ID to both hosts

    - mounted LUN on first host, formatted to vmfs5 (5.60)

    - LUN was visible on second host as well, tried to add datastore via the wizard keeping signature but it could not complete without this error:

    "The Resolve VMFS volumes operation failed for the entity with the following error message. A VMFS volume with the same UUID is already mounted in the datacenter."

    (removed actual uuid)

    So I started googling, found this topic, connected to 2nd host via ssh, run commands and now both hosts can access the same datastore without problem.



  • 9.  RE: Cannot add VMFS datastore to ESXi host

    Posted Feb 15, 2018 05:02 PM

    I'm having the same issue, any help would be appreciated



  • 10.  RE: Cannot add VMFS datastore to ESXi host

    Posted Jul 19, 2013 06:59 AM

    Could you give an example of a working commandstring for vSphere ESXi 5.1? I guess a lot of people are having this problem.



  • 11.  RE: Cannot add VMFS datastore to ESXi host



  • 12.  RE: Cannot add VMFS datastore to ESXi host

    Posted Jul 19, 2013 10:43 AM

    Thanks. I was a little tired here from going to work at 0400, but of cause it was just to log in to the ssh server with putty and run "esxcfg-volume -M MYDISKNAME" for each disk listed by the esxcfg-volume -l command and all was OK.



  • 13.  RE: Cannot add VMFS datastore to ESXi host

    Posted May 04, 2014 04:52 PM

    Thanks for the answer i appreciate it. when i run the -l it's mounted but at the resignature it has false. i can copy exactly the error message there.

    ~ # esxcfg-volume -l

    VMFS UUID/label: 50105409-876f4320-030d-0010f3246b93/datastore1

    Can mount: Yes

    Can resignature: No (failed to check for existing active volumes)

    Extent name: t10.ATA_____Crucial_CT120M500SSD1___________________________1307092A3738:3 range: 0 - 71167 (MB)



  • 14.  RE: Cannot add VMFS datastore to ESXi host

    Posted Mar 09, 2015 05:37 PM

    Thank you!



  • 15.  RE: Cannot add VMFS datastore to ESXi host

    Posted May 22, 2015 01:27 AM

    Wow,

    Previously, I would have moved all my VMs off of this volume and reformatted trying to get this to mount on all hosts.

    This command worked like a CHAMP! 

    FYI, the UUID given after running the first command in my instance was: 

    [root@esx2:~] esxcfg-volume -l

    VMFS UUID/label: 5347af6e-3b64a73d-eaa1-0022195bb6e4/iSCSI_NAS

    The UUID to enter is:  5347af6e-3b64a73d-eaa1-0022195bb6e4

    Hence: esxcfg-volume -M 5347af6e-3b64a73d-eaa1-0022195bb6e4

    Worked perfectly... I'm using vSphere 6/vCenter 6, etc...

    THANK YOU!!!!!

    =wolfegang=



  • 16.  RE: Cannot add VMFS datastore to ESXi host

    Posted Mar 02, 2016 02:10 PM

    Hi

    I have the same issue. 

    I have the following setup.

    Iscsi Storage

    Store01

    Store02

    Host01

    Host02

    both stores have direct connections to hosts.

    Host02 has access to store 01 and 02

    Host01 has access to store02 but not 01

    When i run the force mount command the drive appears.  However when i restart that host it comes back up without STORE01 attached.

    Any ideas would be helpful.



  • 17.  RE: Cannot add VMFS datastore to ESXi host

    Posted Mar 09, 2016 03:08 PM

    I have the same issue, the datastores are gone after a reboot, as if they aren't persistent.



  • 18.  RE: Cannot add VMFS datastore to ESXi host

    Posted Mar 10, 2016 03:16 PM

    Just saw this somewhere else. May be your problem.

    esxcfg-volume –M to mount the volume without resignaturing (use lower case m for temporary mount rather than persistent)