Home » Errores en discos GPT en ESX / ESXi

Errores en discos GPT en ESX / ESXi

Hoy me encontré con el siguiente problema en un entorno VSphere 4.1: tenía una LUN iSCSI mapeada directamente a un huésped en una NAS OpenFiler  en modo "RAW Device Mapping" ( RDM ) . Después de eliminar este servidor con la intención de convertir esta lun en un datastore VMFS para los hosts ESX,  cuando intento mapearla a otro host virtual desde el wizard del cliente informa  que es imposible añadirlo como DataStore con el siguiente error:

Error: Call "HostDatastoreSystem.CreateVmfsDatastore"  for object; "datastoreSystem-143" on vCenter Server …… failed.

Haciendo googling   encuentro  la solución en el siguiente blog:

http://vcpgeeks.blogspot.com/2010/03/while-adding-lun-to-esx-error-unable.html

Siendo el causante el mapeo anterior como lun RDM que lo había creado una con tabla de particiones  gpt y no como msdos. Lo muestro en las salidas por consola siguientes:

[root@AGSS03 ~]# fdisk -l

Disk /dev/sdb: 73.4 GB, 73407868928 bytes
255 heads, 63 sectors/track, 8924 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1         140     1124518+  83  Linux
/dev/sdb2             141         154      112455   fc  VMware VMKCORE
/dev/sdb3             155        8924    70445025    5  Extended
/dev/sdb5             155        8924    70444993+  fb  VMware VMFS

Disk /dev/sdc: 8392 MB, 8392802304 bytes
255 heads, 63 sectors/track, 1020 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         127     1020096   82  Linux swap / Solaris
/dev/sdc2             128         382     2048287+  83  Linux
/dev/sdc3             383        1020     5124735    5  Extended
/dev/sdc5             383        1020     5124703+  83  Linux

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn't support GPT. Use GNU Parted.

Disk /dev/sdd: 1800.3 GB, 1800324251648 bytes
255 heads, 63 sectors/track, 218876 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      218877  1758129151+  ee  EFI GPT

[root@AGSS03 ~]# parted /dev/sdd
GNU Parted 1.8.1
Using /dev/sdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

Model: FSC FibreCAT_SX1 (scsi)
Disk /dev/sdd: 1800GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
1      17.4kB  1800GB  1800GB                     lvm

(parted)

 

 

Identificado el problema, la solución es  cambiar la tabla de partición de gpt a msdos. En ESX se puede realizar  desde la utilidad parted con el comando mklabel msdos:

[root@AGSS03 ~]# parted /dev/sdd
GNU Parted 1.8.1
Using /dev/sdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel msdos

Warning: The existing disk label on /dev/sdd will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? Yes
New disk label type?  [gpt]? msdos

(parted)

print

Model: FSC FibreCAT_SX1 (scsi)
Disk /dev/sdd: 1800GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start  End  Size  Type  File system  Flags

 

 

De esta forma ya es posible añadirlo como DataStore desde el wizard.

Éste procedimiento no servirá para ESXi ya que  no dispone de la utilidad parted. Hay un procedimiento descrito por VMware usando la utilidad dd al final del siguiente artículo:

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1008886

One Response to “Errores en discos GPT en ESX / ESXi”

  1. 5 Bad Habits That People in the 안전카지노 Industry Need to Quit http://www.ssuncasino.com

  2. 허니게임 dice:

    9 Signs You Sell 마이크로밍바카라 for a Living http://www.ssuncasino.com

  3. hottyDesire dice:

    It has the excellent as other blog articles :
    Deborah, regards for putting up. “So, and not surface goofy shortly, My spouse and i renounce looking cunning nowadays.” simply by Bill in Baskerville.

  4. 골목게임 dice:

    신암행어사게임 so wow 사설바둑이추천사이트 http://www.mofg3.com

  5. A Beginner’s Guide to 마이크로밍게임 http://www.ssuncasino.com

  6. 10 Facebook Pages to Follow About 바카라사이트 http://www.ssuncasino.com

  7. 3 Reasons Your 바카라게임 Is Broken (And How to Fix It) http://www.ssuncasino.com

  8. Dit moet je eerst weten, voordat opzoek gaat.

  9. daymon tools dice:

    I’ve observed that in the world the present day, video games are the latest trend with children of all ages. Many times it may be out of the question to drag the kids away from the video games. If you want the best of both worlds, there are several educational games for kids. Good post.

  10. nonton film terbaru

    Errores en discos GPT en ESX / ESXi

  11. Baca juga dice:

    disqus.com

    Errores en discos GPT en ESX / ESXi

  12. data hk toto dice:

    hasil keluaran togel

    Errores en discos GPT en ESX / ESXi

  13. Et c’est donc le thème de cette rencontre à Marseille.

  14. wcdjtn dice:

    buying cialis in spain http://canadian-pharmacyca.com
    http://canadian-pharmacyca.com – cheapest cialis professional

  15. สล็อตออนไลน์

    blog topic

  16. Travel takes you out of your atypical routine.

  17. business tour cheat engine

    blog topic

  18. Lazaro dice:

    Una vez mas te has superado, sin dudarlo excelente texto!!!
    Saludos

  19. Hello this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors
    or if you have to manually code with HTML. I’m starting a blog soon but have no coding know-how so I wanted to get guidance from
    someone with experience. Any help would be enormously appreciated!

  20. ocean king market

    blog topic

  21. If some one needs expert view about blogging after
    that i propose him/her to go to see this web site, Keep up the pleasant job.

  22. Mobile casinos joined the market industry of mobile games previously therefore consequently there’s certainly much
    more assortment here currently. The amount of bonus it’s possible to expect to
    receive will change from site to site. The main aim is to have more public to the site and ensure which they join them. https://7elm5.com/

  23. hoteles guadalajara centro historico

    blog topic

  24. Buy a Pay: Many players don’t get the very idea of this machine.
    These random number generators were originally created in C
    language. Bonkers is really a classic three-reel,
    one-pay line slot machine game brought to you with the ever creative software team at Realtime Gaming (RTG). https://7elm5.com/slotgame/

  25. hot webcams dice:

    One iѕ directorial, the otheг іs more like friends.

  26. MILLIGAN ETC M.C.: Surgical anatomy of the anal canal.

  27. 22204 live running status

    blog topic

  28. 2280/m-key slot nvme-support

    blog topic

  29. online casino u srbiji

    blog topic

  30. yztbcm dice:

    cheap cialis
    come acquistare cialis generico online http://cialisn.com

  31. All these aforementioned points are crucial
    and also to experience a prosperous gambling period, you must keep them in mind.
    Playing in the online casino has numerous advantages on the true to life
    casino:. The online flash games have all the (or even more) of the appeal because games on sites change regularly to reflect todays modern life, with
    games determined by Egypt, video games, quiz shows and in many cases soap operas there is a type of slot
    accessible to suit every person. https://7elm5.com/yescasino/

  32. Online bingo websites propose players a diversity of games and tricks
    for their entertainment. One thing you need to know should you be relatively recent to casinos
    is you’ll find absolutely NO systems offered to help you win money.
    Real fun attracts a lot of people to get acquainted with this type of game and as
    with any other game of chance it gives enthusiasts the rush
    and excitement in testing their luck. https://www.xn--o80b27i69npibp5en0j.com/

  33. Influence on perineal descent and other measurements.

  34. I havе been exploring foг a little for any high quality articles or
    blog posts in this қind of house . Exploring in Yahoo I ultimately stumbled upon this
    website. Ѕtudying this information So i’m
    glad to sһow that I һave an incredibly just right uncanny feeⅼing I
    found out just what I needed. I most certɑinly will make sure to do not disregard thiѕ site аnd give
    it a glance on a constant basis.

  35. Copiez-la pour la partager facilement avec vos amis.

  36. Ꮤhen someone writes an paragraph he/she maintaіns the thought of ɑ user in his/her brain that how
    a user cɑn understand it. Therefore that’s why this article is pегfect.

    Thanks!

  37. Vascularisation et anastomoses du rectum et de l’anus.

  38. Unquestionably believe that which you said. Your favorite reason appeared to be on the net the easiest
    thing to be aware of. I say to you, I certainly get annoyed while people consider worries that they plainly don’t know about.
    You managed to hit the nail upon the top and also defined
    out the whole thing without having side effect , people can take a signal.
    Will probably be back to get more. Thanks

  39. Miguel Ángel es asiduo de las webcam desde hace cuatro años:
    Entré por curiosidad un día que me saltó un anuncio.

  40. Pour les hommes seuls, c’est 90€ l’entrée.

  41. I was suggested this web site by my cousin. I’m not sure whether this post
    is written by him as nobody else know such detailed about my
    problem. You’re incredible! Thanks!

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *