ESXi 5.1 Boot from SAN no Local Datastore

We are in the process of setting our first Cisco UCS B200 to boot from SAN. After we connect it to vCenter is noticed under storage No Datastores were listed.  When I clicked Add storage  it allowed me to create a datastore from the remaining free space on the boot lun. Is this correct? Also when doing this we are giving the option to retain the signature or re-signature? Which is the best to use?
LVL 21
compdigit44Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I would NOT create a datastore on the remaining space on the LUN0.

Leave LUN0 for the ESXi OS only.

Create a new small LUN for provisioning of the logs.

see here

Part 11: HOW TO: Suppress Configuration Issues System logs on host are stored on non-persistent storage
0
compdigit44Author Commented:
I am just confused as to why datastore1 is not even present on the boot lun.... Any other regular install has a datastore1 after install why not this one?
0
compdigit44Author Commented:
One thing odd I remember is that when i created the datasore the first time it ask me if I want to re-signature which tells me is saw somthing on this volume... I wonder if the master image is message up
0
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
a default install, if it detects spare space, will create a default datastore.

you are correct, it previously was VMFS.

I would not use.

Create a new LUN for ALL Logs.
0
compdigit44Author Commented:
I think I am going to take a step back and look at the master boot image since this was my first pass at doing this.

We gave it a 18GB boot LUN and it should have created a ~12GB datastore1...

Maybe the SAN -> clone process messed up
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
We prefer smaller, and then allocate a persistent LUN for all Logs.

This way it's much quicker, checking all the logs, on a single LUN, than flicking through what is a local datastore for all hosts.
0
compdigit44Author Commented:
but does it sound like something is wrong with the boot lun since it did not automatically create datastore1 with the extra free space
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Are you CLONING LUNs for deloyment ?

e.g. you've installed once, and now your are CLONE-ING LUNs for rapid deployment....

you mention CLONE!
0
compdigit44Author Commented:
yes ... we created a master boot lun then zone each one clone to each host
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
OKAY, in that case, what you are see-ing is to be expected!

Because you've CLONEd the LUN, and the Sig is different... hence why it's asking you to re-sig...

the VMFS datastore is there already ....

because the datastore sig is different to what ESXi installation is expecting...

so just re-sig, or re-create... up to you...
0
compdigit44Author Commented:
SO this is normal is it best to resignature or leave the signature....
0
compdigit44Author Commented:
Still having problems with my HA install which you are helping me with on another open question..

Thanks Again you are a genius.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I would re-create the datastore or Re-signature....

because this has to match the ESXi OS.

Same effect, of you clone a LUN, and re-attach to ESXi.

It's there for your protection....
0
compdigit44Author Commented:
thanks... next stop is HA install issue
0
compdigit44Author Commented:
I wonder if it would be best to remove datastore1 from the master image via command line.


Thoughts
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, if you are cloning.
0
compdigit44Author Commented:
what is the command I would use to delete datastore
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
where are you at ?

ESXi console ?
0
compdigit44Author Commented:
yes
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
if you follow my article, it shows how to get down and dirty with the partition utility.

partedUtil delete "/vmfs/devices/disks/DeviceName" PartitionNumber

HOW TO: Fix An error has occurred adding datastores to an ESXi 5.x host
0
compdigit44Author Commented:
I do not have partedUtil
0
compdigit44Author Commented:
I have a Parted Magic ISO if that will work
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
login to console, and execute the commands.

or don't bother, and just re-create....
0
compdigit44Author Commented:
I am a idot!!!!

I did not realize PartedUtil was part of the OS .....

I ran the esccli storage filesystem list command and need to make sure I get the right one since 4 file systems are listed
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes, this is why maybe GUI..... would be better.... don't make a mistake...
0
compdigit44Author Commented:
I ran partedUtil getptbl again the first listed device which listed all partitoins.

I noticed that one listed as vmfs listed ... I delete this devices yet when I run the command again I still see the vmfs partition present

I no not have gui access since this is a master gold image we are building
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
try rebooting the server, often the information you see is "cached".

did you delete or re-label as a msdos partition ?
0
compdigit44Author Commented:
OK I think i got it... I rebooted the reserver then connected to the host directly via VIC and created a datastore. When I did this it id not prompt me to resignature or anything which mean I delete the right datastore...

BTW, is the datastore's signature tied to the name of the host??
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
it's actually to do with the UUID in the VMFS-5 file system, which is stored in the metadata in the file system called a superblock.

this UUID actually contains the MAC Address of the Management Network Port Uplink, which created the VMFS datastore. When you clone, the UUID is also cloned/copied duplicated.

So in answer to your question, it's tied to the original host MAC Address, which created the VMFS datastore.

and when you try to mount, on a new host, it pops up Resignature?

it knows, it's a copy or snapshot LUN.

there's other stuff in the UUID as well....if interested...

if you look at your VMFS UUID...

e.g. /vmfs/volumes/53bdcd8f-36f89007-c10e-984be106c904 #

the bold is actually the MAC Address of the server which created the datastore!

Many think this is all random numbers, it's not....well not quite.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
compdigit44Author Commented:
WOW thank you so much... once again you daved me on an issue and learned something as well.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.