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. Great items from you, man. I’ve understand your
    stuff previous to and you are just extremely magnificent.
    I really like what you’ve received here, really like what you are
    saying and the way during which you are saying it. You’re making it entertaining
    and you continue to care for to stay it wise. I cant wait to learn far more from you.
    That is actually a great website.

    My site 온라인카지노

  2. Del Sabino dice:

    I agree with you

  3. Thanks for your marvelous posting! I actually enjoyed reading it, you will be a great author.I will make certain to bookmark your blog and definitely will come back in the future. I want to encourage you continue your great work, have a nice holiday weekend!

  4. Wonderful paintings! This is the kind of info that are meant to be shared around the web. Shame on the search engines for no longer positioning this post upper! Come on over and talk over with my website . Thank you =)

  5. You actually make it seem so easy with your presentation but I find this topic to be actually something which I think I would never understand. It seems too complicated and very broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  6. JimUVannoy dice:

    What’s up to every body, it’s my first go to
    see of this webpage; this web site consists of remarkable and actually excellent stuff designed for readers.

    My web page JimUVannoy

  7. essays writing services

    blog topic

  8. Good blog! I truly love how it is easy on my eyes and the data are well written. I’m wondering how I might be notified when a new post has been made. I’ve subscribed to your RSS feed which must do the trick! Have a nice day!

  9. LoganMForson dice:

    Fine way of describing, and pleasant paragraph to take information regarding my presentation subject, which
    i am going to deliver in institution of higher education.

    Feel free to visit my webpage :: LoganMForson

  10. Rodrigo dice:

    Hola me gustaría comentar mi experiencia con la adquisición de mi nueva freidora Taurus. Antes no lo tenía claro si gastarme ese dinero en una freidora. La cuestión es que después de probarla me doy cuenta de que la comodidad y la higiene que aporta en la cocina es alucinante. La tapa que tiene evita que salte y manche todo y el cristal que tiene me permite ver como evoluciona la comida. La compré aquí que es una web que me aconsejó una amiga del trabajo.

  11. swiy.io dice:

    Keep in thouցhts you too ⅽɑn promote your personal merchandise fоr
    Bitcoin, making tһese marketplaces an easy way to build up your Bitcoin funding.
    Bitcoin һаs its νery оwn ecommerce marketplaces wһere ʏou’ll
    be аble to trade Bitcoin for merchandise. https://swiy.io/bitcoin-loophole

  12. Sweet blog! I found it while surfing around on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News? I’ve been trying for a
    while but I never seem to get there! Many thanks

    my page … ซื้อหวยออนไลน์

  13. programacion dice:

    Gran tutorial para saber y aprender a programacion

  14. Ganar dinero desde casa es posible, con este método que te muestro
    en el vídeo, podrás generar ingresos extras sin tener que salir, con tener Internet y Pc,
    podrás generar ingresos de verdad, dinero rápido mes a mes.

    Mira el vídeo y te convenceras.
    ➤➤➤➤➤ Si te ha gustado el vídeo y te ha sido de utilidad, no olvides
    dar a like y a suscribirte a mi canal, es muy importante para mi disponer de seguidores como tu, millones de gracias ➤➤➤➤➤

    Si tienes cualquier sugerencia respecto a mi vídeos, deja tu comentario, lo tomaré
    muy en cuenta.

  15. buen post admin, que bueno leer así, gracias admin ;-).

  16. tutoriales dice:

    un post espectacular, que bueno leer así, gracias admin ;-).

  17. Google dice:

    Google

    Check below, are some totally unrelated websites to ours, having said that, they may be most trustworthy sources that we use.

  18. Ward Lierle dice:

    Your style is very unique in comparison to other folks I’ve read stuff from. Thanks for posting when you have the opportunity, Guess I will just book mark this page.

  19. buy bitcoin dice:

    Until ᧐ur ᴡorld achieves true hyperbitcoinization, mаny Bitcoiners
    wiⅼl choose tο promote partѕ of their BTC holdings in oгdеr tto
    transact within the fiat currencies tһat much of the traditional
    economy nonetһeless requires. https://swiy.io/bitcoin-code

  20. Hey would you mind letting me know which web host you’re utilizing?
    I’ve loaded your blog in 3 completely different browsers and I must say this blog loads a lot faster then most.
    Can you recommend a good internet hosting provider at a honest price?
    Cheers, I appreciate it!

  21. Good site you have here.. It’s hard to find quality writing like yours these days.
    I seriously appreciate individuals like you! Take care!!

    Feel free to surf to my web site :: แทงหวย

  22. Hi there, i read your blog occasionally and i own a similar one and i was just curious if
    you get a lot of spam remarks? If so how do you stop it, any plugin or anything you can advise?
    I get so much lately it’s driving me mad so any support is very
    much appreciated.

  23. Thank you for any other informative blog. The place
    else may I am getting that kind of information written in such an ideal method?
    I’ve a project that I’m just now working on, and I have been on the look out for such information.

    My webpage :: แทงหวยออนไลน์

  24. Sariña dice:

    Estamos mirando un salvaescaleras para la casa de mis padres, y tras cansarnos de buscar mucho estabamos decididos a comprar uno de segundamano, no hacemos nada mas que buscar y buscar mas lo que encontramos no tiene buena pinta la verdad, existen algunos que semeja patraña que vallan a funcionar por bastante tiempo, y nos da un poco de temor, no deja de ser un aparato a fin de que lo empleen mis padres y en fin, no termino de estar demasiado de acuerdo, Aqui hemos visto que lo desaconsejan completamente, precisamente por el hecho de que afirman que no podemos saber el estado del mismo y que tenemos que encontrar una empresa que admita instalarnos y sostenernos ese aparato, no se que hacer la verdad menudo lio, desde luego parece mucho mas facil adquirir uno nuevo aunque a priori cueste mas dinero, mas al menos asi tenemos la garantia, que opinais vosotros?, alguno ha logrado un salvaescaleras de segundamano y lo tiene marchando?, que nos cuente que tal. Muchas gracias y perdon por la parrafada…

  25. You are so cool! I don’t believe I have read anything like that before.
    So nice to find somebody with unique thoughts on this subject matter.
    Seriously.. thanks for starting this up. This website is
    one thing that is needed on the internet, someone with a bit of originality!

    Feel free to surf to my homepage – how to increase self confidence

  26. AleneFBigony dice:

    Hi there, just changed into alert to your blog via Google, and located
    that it is really informative. I am just gonna take care for brussels.
    I’ll be grateful when you proceed this from now on. Many folks can be benefited through your writing.
    Cheers!

    my site :: AleneFBigony

  27. I have to thank you for the efforts you’ve put in writing this website.
    I am hoping to check out the same high-grade blog posts by you later on as well.
    In truth, your creative writing abilities has
    motivated me to get my very own blog now 😉

  28. Cryptocurrency exchanges are for traders.

  29. Cryptocurrency is kept in electronic digital wallets.

  30. This post is worth everyone’s attention. Where can I find out
    more?

  31. I used to be able to find good info from your content.
    adreamoftrains best web hosting company

  32. Some times its a pain in the ass to read what blog owners wrote but this website is really user friendly!

  33. Leta McCann dice:

    Hey I know this is off topic but I was wondering if
    you knew of any widgets I could add to my blog that automatically
    tweet my newest twitter updates. I’ve been looking for a plug-in like this for quite some time and was hoping maybe
    you would have some experience with something like this.
    Please let me know if you run into anything. I truly enjoy reading your blog and I look forward
    to your new updates.

  34. buy bitcoin with paypal cash card

    461 Port limit reached

  35. Thanks for every other informative site. The place else may I
    get that kind of info written in such a perfect means? I’ve a challenge that
    I am simply now running on, and I have been on the look out for such info.

    Also visit my web-site ring binder zip pockets

  36. TondaFSohr dice:

    I realize this site gives quality dependent articles and other data,
    is there every other web page which presents such information in quality?

    My site :: TondaFSohr

  37. BillyCResler dice:

    Great blog here! Also your internet site rather a great
    deal up fast! What hosting company are you the application of?
    Can I get your associate link for your host? I desire my site loaded up as fast as
    yours lol

    Also visit my web page – BillyCResler

  38. straight from the source

    Errores en discos GPT en ESX / ESXi | Almacenamiento Abierto

  39. buy bitcoin with credit card coinbase

    461 Port limit reached

  40. Is een 100% gratis sexdatingsite vergelijker.

  41. VEJA COMO AUMENTAR O PÊNIS RÁPIDO

    Errores en discos GPT en ESX / ESXi | Almacenamiento Abierto

  42. Hey! I know this is kinda off topic but I was wondering which blog platform
    are you using for this website? I’m getting sick
    and tired of WordPress because I’ve had problems with hackers
    and I’m looking at options for another platform. I would
    be awesome if you could point me in the direction of
    a good platform.

  43. I’m impressed, I have to admit. Rarely do I
    encounter a blog that’s equally educative and interesting, and without a doubt, you have hit the nail on the head.
    The problem is an issue that too few men and women are speaking intelligently about.
    Now i’m very happy that I found this in my hunt for something concerning this.

  44. Buүing cryptocurrency iis becoming eaier tjan ever.

  45. Lenore dice:

    ᒪocal Bitcoins ⅽan be an example of such an exchange.

  46. Does your website have a contact page? I’m having a tough time locating it but, I’d
    like to shoot you an e-mail. I’ve got some creative ideas for your blog you might be interested in hearing.
    Either way, great website and I look forward to seeing it expand
    over time.

  47. Simply desire to say your article is as astounding.
    The clearness in your post is just cool and i can assume you’re an expert on this
    subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post.
    Thanks a million and please keep up the enjoyable work.

  48. Peculiar article, just what I wanted to find.

  49. Of course it changes some-when we learn a new piece of
    information, for instance, new neuronal connections must be made.
    The others did not notice changes in their relationships.

Deja una respuesta

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