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. some genuinely terrific work on behalf of the owner of this web site, absolutely outstanding articles.

  2. Bryan Holub dice:

    I have a small question for you? ►►► ✅ Where can I pick up my gift? Here? https://u.to/pHYyHA

  3. Howdy just wanted to give you a quick heads up.

    The text in your content seem to be running off the screen in Firefox.
    I’m not sure if this is a formatting issue or something to do with internet browser compatibility but I thought I’d post to let
    you know. The design look great though! Hope you get the issue resolved soon.
    Kudos

  4. Howdy this is kind of 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 skills so
    I wanted to get guidance from someone with experience.

    Any help would be enormously appreciated!

  5. I really liked your site. Thanks for the information. 55467538

  6. Your information is of great quality, thanks for sharing. 64725109

  7. Your site is very good, I liked the information. Grateful. 31074066

  8. Congratulations on the content. Interesting.. 35136291

  9. I really enjoyed your article. Congrats on the content. 54987811

  10. You have a great site and content, I’m glad you liked it here. 59170062

  11. Excellent article! Congratulations on the information. 13030081

  12. I really enjoyed your article. Congrats on the content. 21538859

  13. Your information is of great quality, thanks for sharing. 4718983

  14. Your information is of great quality, thanks for sharing. 28176830

  15. pgslot dice:

    My brother suggested I might like this web site. He was entirely right.
    This post truly made my day. You can not imagine
    simply how much time I had spent for this info! Thanks!

  16. It’s an remarkable paragraph for all the internet users; they will get
    advantage from it I am sure.

  17. Post writing is also a excitement, if you be acquainted with afterward
    you can write otherwise it is complex to write.

    my site; panduan slot gacor

  18. Haave you ever heard buy telegram fake members fake members?
    get Telegram fake members iss one off the fastest
    ways to help you get the credit you want in the shortest time.
    By purchasing a fake member, increasing the number of members
    will no longer be yur concern. So join us to get the most complete
    and comprehensive guide to get Telegram fake members in this padt which is designed by the buytelegrammembers.shop website.

  19. Hello mates, how is everything, and what you desire to say on the topic of this
    article, in my view its really remarkable in support
    of me.

  20. Haave you ever heard buy fake members? get Telegram fake members is one oof thhe fastest ways to help
    you get thee credit you want in the shortest time.
    By purchasing a fake member, increasing the number of members will no longer be your concern. So join uss
    to get the most complete and comprehensive guide
    to geet real telegram members fake members in thbis part which is designed by the buytelegrammembers.shop website.

  21. I’m really enjoying the design and layout of your site.
    It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create
    your theme? Exceptional work!

  22. Amazing things here. I am very happy to look your post.
    Thanks a lot and I am taking a look forward to touch you. Will you kindly drop me a e-mail?

  23. Kirby Darius dice:

    plant of chemical

  24. payday loans dice:

    As the admin of this web site is working, no doubt very quickly it will
    be renowned, due to its feature contents.

  25. bexo dice:

    Hello to all, how is the whole thing, I think every one is getting more from this web page,
    and your views are nice in favor of new users.

  26. Thanks for ones marvelous posting! I really enjoyed
    reading it, you may be a great author.I will always bookmark
    your blog and will eventually come back in the foreseeable future.

    I want to encourage continue your great writing, have a nice afternoon!

  27. OpenSea NFTs dice:

    For most recent news you have to pay a visit world wide web and
    on world-wide-web I found this website as a
    best site for newest updates.

  28. What’s Going down i’m new to this, I stumbled
    upon this I have discovered It positively useful and it has
    helped me out loads. I am hoping to give a contribution & assist
    other users like its aided me. Good job.

  29. A motivating discussion is worth comment.
    I believe that you need to publish more about this subject, it might
    not be a taboo matter but usually people don’t discuss these topics.

    To the next! Cheers!!

  30. I know this website offers quality depending articles
    and extra stuff, is there any other website which provides these kinds of things in quality?

    my web blog olej konopny cbd pure life

  31. OmaTRamjan dice:

    I love it when individuals gathering and share ideas. Great site, ensure that is stays up!

    my website: OmaTRamjan

  32. ThadDCutcher dice:

    I had been suggested this site by my cousin. I’m unclear whether this post is written by him as nobody else know such detailed about my problem.
    You might be wonderful! Thanks!

    Stop by my website; ThadDCutcher

  33. Now I am just going to do my breakfast, later than having my breakfast coming over again to learn additional news.

    Stop by my web site :: planner stickers

  34. OteliaMGuice dice:

    Do you have a spam issue on this blog; I also am a blogger, and I
    was curious about your situation; many of us have created some nice practices and we are looking to swap strategies with
    others, be sure to shoot me an email if interested.

    Also visit my page; OteliaMGuice

  35. We are a bunch of volunteers and starting a new scheme in our community.
    Your website offered us with useful info to work on. You’ve done an impressive job
    and our entire community will likely be thankful to you.

    My website; http://labo.cside2.com/cgi/bot/etc/jawanote.cgi/RK=0/RS=SBRNs3xLYZtaq9yxZfO4b0aAUq0-3Eprobioslim20reviews3C/a3E

  36. Hi there! Would you mind if I share your blog with my facebook group?

    There’s a lot of folks that I think would really appreciate your content.
    Please let me know. Many thanks

    Here is my web site … weekly planner

  37. Its like you read my mind! You appear to know a lot about this, like you wrote the book
    in it or something. I think that you can do with some
    pics to drive the message home a little bit, but other than that, this is great blog.

    A fantastic read. I will definitely be back.

  38. IrmaADubbs dice:

    Hello everybody, here every person is sharing such familiarity, so
    it’s nice to read this website, and I used to go to see this website every day.

    Feel free to surf to my page; IrmaADubbs

  39. putas en bcn dice:

    Un post fantástico, así da gusto leer, gracias por compartir

  40. This web site was… just how do i say it? Relevant!! Finally I’ve found something
    that helped me. Thanks!

    Also visit my page … credit card pocket insert for chic sparrow nano

  41. Thanks to my father who informed me regarding this webpage, this blog is truly remarkable.

    my web-site – 918kaya game – nasielska44.phorum.pl,

  42. Hey just wanted to give you a brief heads up and let you know a
    few of the images aren’t loading correctly. I’m not sure why but I think
    its a linking issue. I’ve tried it in two different browsers and both show the same results.

    Have a look at my web page … mega888 (24friends.co.kr)

  43. This is really fascinating, You’re an excessively skilled blogger.
    I have joined your rss feed and stay up for seeking more
    of your magnificent post. Also, I’ve shared your site in my social networks

    My webpage – exercise fitness planner stickers

  44. mega888 vip dice:

    Hello there! I could have sworn I’ve been to this site before but after going through a few of the posts I realized it’s new to me.
    Regardless, I’m definitely delighted I found it and I’ll be bookmarking it and checking back frequently!

    Have a look at my homepage :: mega888 vip

  45. Hey there excellent blog! Does running a blog similar to this take
    a great deal of work? I have absolutely no understanding of coding
    however I had been hoping to start my own blog soon. Anyhow, should you have any
    recommendations or tips for new blog owners please share. I understand this is off subject nevertheless I just wanted to ask.
    Many thanks!

    Also visit my homepage; zippered wallet

  46. Howdy! I was able to have sworn I’ve visited this internet site
    before but after evaluating several of the articles I realized it’s
    new to me. Anyways, I’m definitely delighted I discovered it and I’ll be
    bookmarking it and checking back regularly!

    Review my web page – travelers notebook

  47. PercyCDorame dice:

    Good day very cool site!! Guy .. Beautiful .. Wonderful ..
    I will bookmark your website and take the feeds additionally?
    I am satisfied to seek out so many useful information here in the submit,
    we’d like work out extra techniques in this regard, thank
    you for sharing. . . . . .

    my web page; PercyCDorame

  48. Hmm is anyone else having problems with the images on this blog loading?
    I’m trying to determine if its a problem on my end or if it’s the blog.
    Any responses would be greatly appreciated.

Deja una respuesta

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