Announcement

Collapse
No announcement yet.

Help!!! Recover VMFS partition table

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help!!! Recover VMFS partition table

    Hi All

    This morning when i boot ESXi 4.0.0, I found lost a VMFS volume. By default my Disk has two partitions. I tried to recover the second partition with the instructions on the forum but it still not worked.

    fdisk -lu /dev/disks/t10.ATA_____ST3500418AS___________________________ ______________9VM6Z8Y1

    Disk /dev/disks/t10.ATA_____ST3500418AS___________________________ ______________9VM6Z8Y1: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes

    Device Boot Start End Blocks Id System
    /dev/disks/t10.ATA_____ST3500418AS___________________________ ______________9VM6Z8Y1p1 63 8386622 4193280 6 FAT16
    Partition 1 does not end on cylinder boundary
    /dev/disks/t10.ATA_____ST3500418AS___________________________ ______________9VM6Z8Y1p2 8386623 976773167 484193272+ fb VMFS


    fdisk -u /dev/disks/t10.ATA_____ST3500418AS___________________________ ______________9VM6Z8Y1

    The number of cylinders for this disk is set to 60801.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
    (e.g., DOS FDISK, OS/2 FDISK)

    Command (m for help): d
    Partition number (1-4): 2

    Command (m for help): w
    The partition table has been altered!

    Calling ioctl() to re-read partition table

    fdisk -u /dev/disks/t10.ATA_____ST3500418AS___________________________ ______________9VM6Z8Y1

    The number of cylinders for this disk is set to 1409485.
    There is nothing wrong with that, but this is larger than 1024,
    and could in certain setups cause problems with:
    1) software that runs at boot time (e.g., old versions of LILO)
    2) booting and partitioning software from other OSs
    (e.g., DOS FDISK, OS/2 FDISK)

    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 2
    First sector (8386623-976773167, default 8386623): Using default value 8386623
    Last sector or +size or +sizeM or +sizeK (8386623-976773167, default 976773167): Using default value 976773167

    Command (m for help): t
    Partition number (1-4): 2
    Hex code (type L to list codes): fb
    Changed system type of partition 2 to fb (VMFS)

    Command (m for help): x

    Expert command (m for help): b
    Partition number (1-4): 2
    New beginning of data (8386623-976773167, default 8386623): 8386688

    Expert command (m for help): w
    The partition table has been altered!

    Calling ioctl() to re-read partition table.

    I login VL and go to Configuration > Storage >Refresh this volume not return.

    Please help me!!!.

  • #2
    Re: Help!!! Recover VMFS partition table

    have you restarted after you adjusted the partition table ?
    Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

    Comment


    • #3
      Re: Help!!! Recover VMFS partition table

      Yes I restarted but this volume not return.

      Comment


      • #4
        Re: Help!!! Recover VMFS partition table

        after restarting.. does fdisk see the partition ?

        for a start, re-reading over what you've done, it looks like you have deleted the second partition, and then recreated it.
        So any data on the volume will be gone, and you'll need to re-initialise the volume.. set it up again as a vmfs store
        Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

        Comment


        • #5
          Re: Help!!! Recover VMFS partition table

          Did you had a read on this?
          http://kb.vmware.com/selfservice/mic...rnalId=1002281
          Marcel
          Technical Consultant
          Netherlands
          http://www.phetios.com
          http://blog.nessus.nl

          MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
          "No matter how secure, there is always the human factor."

          "Enjoy life today, tomorrow may never come."
          "If you're going through hell, keep going. ~Winston Churchill"

          Comment

          Working...
          X