Repair / recover VMFS Volume

I have a situation where someone had vSphere 4.x older glomerulus. Virtual machines have been welcomed to a rheostat of SAN iSCSI for the nodes in the cluster.  Volume was initially 260 GB when I did a few years ago.   Later, they added enough VMs they needed to expand.  They have developed the ability of LUN to 3 TB, but has never been able to extend the partition.   It's a problem with VMFS3.

Seems if you epand the LUN, EVEN IF you NEVER develop the score, your systems, if they disassemble the volume can never stand again.

These are apparently for some time where over time systems more wouldn't have 'access' on MON... and after a power outage, no system could then access dozens of virtual machines.

Now I need to find a way to mount this 3 TB iSCSI LUN, even if read-only long enough to mount the virtual machines off of it to the NFS share 260 I ready.

Goal: map iSCSI LUNS on Windows / Linux system.  Turn up the volume of RO.  Copy NFS export data. Destroy and rebuild the data on the new lun VMFS5 iSCI.

I can mount the LUNS to the CENTOS system and parted shows the 3 TB LUN but only 260 GB primary partition.  So, I see the data as expected.   "Now, I tried to compile ' vmfs-tools - 0.2.5 ', but the compiler errors.  Nothing of any help or comments. I've tried ubuntu and CENTOS48 too and mistakes not much help.

Is their path another, simpler to get this accomplished?

Thank you

If ESXi cannot see content any volumes VMFS - try Linux vmfs-tools - he often sees more.
Try the LiveCD I do - there last vmfs-tools batim.

Cut the flat.vmdks is possible but only worth trying if:

1. you have good reasons to assume that the flat.vmdk was written in a single fragment
2. the vmdk was thick provsioned (greedy zero works best)
3. you can provide specific details on the structure of the disc of the lost flat.vmdk

Tags: VMware

Similar Questions

  • To access the servers non - VMFS volumes ESX (i)

    Suppose I have a FC LUN with a VMFS volume.  It is not accessed by a host ESX (i).  However, there are old VMDK on the logic unit number I want to recover.  If the LUN is delivered to a physical Linux server, and this physical server is zoned / correctly mapped to the FC LUNS, can I access the VMFS LUNS for the vmdk off of it?

    Thank you

    Yes.

    http://digfor.blogspot.com/2011/04/accessing-VMFS-partitions.html

  • Understanding of VMFS volumes

    Hello

    I've detailed a few elements on VMFS volumes that are useful to know in this blog.

    Kind regards

    Mike

    http://blog.laspina.ca/roller/ubiquitous/entry/understanding_vmfs_volumes

    Hi Mike,.

    Thank you.

    Reading recommended high quality... as always

    Have you experimented with VMware undelete tool? I guess that your copy of the partition table is added only to security to restore tool. With the crash of the partition table, you can create as many - if not further damage as you can recover data.

    I believe that everyone is capable of using a hex editor. Maybe they should if they manage ESX, but we all know who will not always be the case, should not be necessary.

    --

    Wil

    _____________________________________________________

    Visit the new VMware developers at http://www.vi-toolkit.com wiki

  • Discs of ESXi supports local (UFS) as a Volume/vmfs/volumes - didn't want not!

    Hi all

    Updated from 5.5U2 to 6.0

    A race of NAS VM using two disks using RDM (virtual) to get direct access to disks and smart State - created with the flag - z.

    After the upgrade to 6.0, ESXi now mounted (s?) drive - which are SoftRAID(4) 1 and have a file system UFS - to/vmfs/volumes/sink. This happened only after the second start, but now there is no way back for me.

    After the first reboot after upgrade, I was able to assign the disks to a virtual computer and restart it. On the next reboot, the problem above has occurred.

    Perhaps interesting to note that the volume is not mounted as a VMFS storage (at least it seems), but directly in the folder/vmfs volumes - and it is not a symbolic link like usual data warehouses.

    Tried Altready:

    / recreate the files with vmkfstools RDM

    Unmount the volume/vmfs/volumes/disassemble sink via esxcli file storage system (using all the u/n/p options, but ESXi said he "can not find the nas drive", which is not really sense)

    There is a thread on serverfault (not mine) with the same problem and similar details.

    VMware - 6.0 ESXi RDM mounting as local volume - Super user

    For the moment, I went down to 5.5u2 to access the virtual machine to work.

    Any help is appreciated.

    See you soon

    IAM

    It is possible to blacklist the ufs module with the following command to esxcli, and won't automount in volumes of ufs. the host reboot is required

    $ esxcli system module set m eggs e fake

  • After integrated error of VMFS volumes

    Hello

    I have a 5.5 installed on Dell PowerEdge T110 2 ESXi which worked well. I decided to migrate to 6.0, but in case of a problem, I made a clone of my records. During the clone, I had a built-in long and the UPS has been unable to support, and now I cannot start the system and cannot be updated.

    If I try to boot ESXi 5.5 I got an error:

    Error loading misc_dri.v00

    If I start the update with the ISO burned, I got:

    The selected disk has a VMFS volume, which can not be scanned. It may be damaged or disconnected. Please select another disk or fix the problem.

    So I thought I'd start with 5.5 ESXi ISO to fix the system, but I got this error:

    The system has found a problem on your machine and cannot continue.

    Cannot load multiboot module: invalid parameter.


    I also tried to burn 2 times each ISO for you ensure that they are not broken but doesn't change anything.

    I don't see anything on the forum to help me, maybe I missed something?

    Also, I've migrated front of 5.1 to 5.5 and worked well. If I restore the 5.1 system, do I loss my VMs?

    Thanks for help

    I would try a new installation of a key to 16 GB + USB or SD card, first of all and then try to add the data store. Follow this KB: VMware KB: installing ESXi 5.x on a USB flash drive or SD flash card support looks like your least partner/OEM support (DELL) storage controller, and you need the drivers for it.

    If the data store is mounted with this temporary system first of all, I would like to make a backup of all your virtual machines, otherwise you can try to fix it.

  • Add measure of VMFS volumes

    Hello

    I would like to ask if its possible to add a point to a vmfs volume using PowerCLI? Im running 5.1 update 1 (PowerCLI and hosts and vCenter)

    Thank you

    Hello

    Thanks for the reply.

    I solved it by using the vmkfstools (Perl CLI). It works for me.

  • My newly created vmfs volume is the only version 3.46?


    Hello, just trying to understand what is happening.  I just created a new VMFS volume on my 5.0 (build 914586) and when I look at the version in vCenter it says that his version 3.46?  When I look to the top of versioning it states my new volume should be 5.54. None of these hosts have been upgraded on the spot they are all fresh versions of ESXi 5.0 914586.  How can I create a volume and ensure his 5.54 early?

    Thank you

    Don

    When you create a data store, you can create a VMFS5 or VFS3 data store. Can you confirm that vmfs5 is selected in the wizard?

    André

  • A procedure to remove a VMFS Volume?

    Hello

    We use EMC CLARiiON CX4 SAN

    We have created 5 VMFS volume and am migrated VMs.

    We will remove the VMFS-3 volume.  We would like to ask for your opinion if the next step is correct?

    (1) remove the Volume VMFS VI client

    (2) remove the VI Client VMFS Volume

    (3) delete the storage group logical unit number in EMC Enterprise Manager

    (4) destroy the LUNS in EMC Enterprise Manager.

    Thank you

    Looks fine measures, more take a look at this article

  • How to calculate the size of a VMFS volume?

    Creating a new partitiontable after ESXi 4 wiped empty was pretty easy with fdisk.
    These days with partedUtil and ESXi 5 is not so trivial.

    Consider that we have a disk/Lun, which looks like this

    ~ # partedUtil get /vmfs/devices/disks/mpx.vmhba1:C0:T4:L0
    93990 255 63 1509949440

    and suggests that the original - now messed the Volume was created with ESXi 5.
    How to calculate the value of the end in the sector so that I can recreate the VMFS partition like this:

    partedUtil setptbl ' / vmfs/devices/disks/mpx.vmhba1:C0:T4:L0 ' TPG '1-2048 ? '. AA31E02A400F11DB9590000C2911D1B8 0 "


    In this case, the correct value is 1509949349, but how do I calculate if I don't know the correct value?

    Hello

    the output of the command "partedUtil get /vmfs/devices/disks/mpx.vmhba1:C0:T4:L0" will be useful in your case, it's "93990 255 63 1509949440".

    gives us the values for C/H/S (cylinder/head/sector).

    A VMFS volume partition must end on the limit of a cylinder, so selecting the last sector of the partition table should be done using the formula endSector = (C * H * S - 1).

    who is '1509949440-1' = 1509949349.

    Concerning

    (Ref: http://www.virtuallyghetto.com/2011/07/how-to-format-and-create-vmfs-volume.html)

  • Cannot extend a VMFS volume

    I have an installation of VMWare Essentials 5 I've updated since version 4.

    Initially, I had 4 300 GB drives in a hardware raid. After the upgrade to version 5, I added 4 additional disks and used the HP software to extend the logical volume to 1.9 TB.

    I am trying to add this new space to my store of VMFS data but am unable to.

    When I select my host in VCenter and go to storage in the Setup tab and then go to devices so I can see my disk is recognized as 1.91 TB.

    It also shows the primary and logical partitions current:

    Primary:

    1 BACK 16-bit < M 4.00 32 MB

    2 BACK 16-bit > = 32 M 4.00 GB

    3 VMFS 833,22 GB

    4 scope 896,00 MB

    Logic:

    1 BACK 16-bit > = 32 M 250.00 MB

    When I go to the store database properties dialog box and click the button increase then I should see the list of available free space.

    This list remains empty and so I can't extend the volume.

    The file system is 5.54 VMFS with a block size of 1 MB.

    Any help would be much appreciated!

    Regarding kind.

    Marcel bourdon

    Sorry for the delay, I did a rebuild of my test system these days.

    I have reproduced what you have and was able to successfully complete such VMFS volume that documented in the link I provided (except VMFS partition 3)

    I did install ESXi 4.1 U2 on a 900 GB drive, then upgrade to ESXi 5.0 and increase the size of the disc to 1.9 TB. Then I opened a session SSH, fdisk used to resize/increase the VMFS partition (which btw. is a primary partition with the new additional disk space adjacent to it) and expanded the cultivated partition using vmkfstools.

    If do not already rebuild you the host, please after af fdisk-lu as well as ls/vmfs/devices/disks

    André

  • When I tried to power on VM ends up in the right error: the specified file is not a virtual disk. Cannot open disk ' / vmfs/volumes/4d48ad95-ad5e027a-67f4-e41f1360cc9e/Iso/ser01/ser01.vmdk' or one of the snapshot disks it depends on.

    I stop a virtual machine after a certain time, I tried to power. Its has ended up in the following error message

    Reason: The specified file is not a virtual disk. Cannot open disk ' / vmfs/volumes/4d48ad95-ad5e027a-67f4-e41f1360cc9e/Iso/ser01/ser01.vmdk' or one of the snapshot disks it depends on.

    The machine was working fine before the closure.

    In the data store, the file type of the virtual machine is 'file' instead of 'virtual drive '.

    Help, please

    You are missing the file descriptor hard. The xxxx - flat hard is the file that contains the data effectively. But the xxxx.vmdk is missing, which is a text file that connects to the flat file.

    AWo

  • P2V to multiple VMFS volumes

    Hello

    We have a physical file (Windows Server 2003) server with eight volumes (C, D, E and so on), all volumes are less than 2 TB each, but overall, they are superior to 2 TB, so if I want to virtualize it I put the VMDK files on different VMFS volumes (since VMFS volumes can be maximum 2 TB).

    Is it possible to put the VMDK files to different volumes VMFS with VMware Converter? If this is not the case, how world you do this?

    Yes, it is possible. When you get to the "Destination Options", choose Edit.  From there you can choose you destination data store (s)

    .. all volumes are less than 2 TB each

    Make sure that you have the data warehouses that are 8MB, otherwise you will not be able to P2V guest.

  • Best way to copy the ISO and Template on another VMFS volume?

    Since we are running out of disk space, we would like to change the size of a volume VMFS existing 500 GB to 400 GB.  This VMFS volume contains ISO images and virtual machine templates.

    We have already created a new 400 GB size VMFS volume and would like to know what is the best way to copy the ISO and models from the 500GB to 400GB size VMFS volume.  Can we use WinSCP or use the command line?

    Your advie is requested.

    The more simple and quick to copy ISO files store data to another, is to use Veeam FastSCP. It copies data directly from one host to another. And it's free (http://www.veeam.com/vmware-esxi-fastscp.html)

  • A procedure to follow to change the block of VMFS Volume size?

    We use a VMFS volume with size of 1 MB blocks.  As the virtual HD size must be greater than 256 GB, to change the size of the block to 2 MB.

    We would like to confirm that the following is correct:

    (1) to migrate all VM this VMFS volume

    (2) delete this VMFS of ESX Cluster

    Add 3) as storage again

    4) format with the 2 MB block size

    Is it Miss?

    Thank you

    There is not another possible procedure

    But as already shown reflect the selection of block size.

    ---

    MCSA, MCTS, VCP, VMware vExpert 2009

    http://blog.vadmin.ru

  • VMware-cmd/vmfs/volumes/storage... / createsnapshot does not work on vSphere?

    VMware-cmd /vmfs/volumes/storage/VM/VM.vmx createsnapshot 'name' brief quiesce of "description".

    This comes with the error below.  Worked absolutely perfect with 3.5*.

    Traceback (most recent call changed):

    File "/ usr/bin/vmware-cmd", line 88, in?

    main()

    File "/ usr/bin/vmware-cmd", line 63, in hand

    operationName, result is CommandProcessor.Process (host, args)

    File "/ usr/lib/vmware/vmware-cmd/CommandProcessor.py", line 11, in the process of

    result = operation. DoIt(*processedArgs)

    TypeError: DoIt() takes exactly 7 arguments (13 given)

    Change the words 'suspend' and 'memory' to 1 or 0 (enable or disable).

    Marcelo Soares

    VMWare Certified Professional 310/410

    Technical Support Engineer

    Globant Argentina

    Review the allocation of points for "useful" or "right" answers.

Maybe you are looking for