VMware Cloud Community
viper8
Enthusiast
Enthusiast
Jump to solution

ESXi 3.5 - clean install, will it wipe current vmfs partition?

So let's say I have an ESXi 3.5i U3 server that is installed on a single RAID 5 array. I want to do a clean reinstall using U4. When I installed U3 it parititoned the drives automatically, so when I go to install U4, will it preserve the current vmfs partition or will it delete it then recreate a new one?

The whole reason I'm asking this is just in preparation of a time when a firmware update could possibly fail (not assuming it will, just want to have a plan in case something goes wrong). Just want to be sure I can do a reinstall w/out losing the current VMs. I'm not worried about having to reconfigure everything - not a big deal.

Thanks!

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
kjb007
Immortal
Immortal
Jump to solution

You have the option to wipe clean any vmfs partitions, or leave them alone. It is up to you whether to destroy existing, which you do not want if there are vm's there, or to leave them alone.

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB

View solution in original post

0 Kudos
9 Replies
kjb007
Immortal
Immortal
Jump to solution

You have the option to wipe clean any vmfs partitions, or leave them alone. It is up to you whether to destroy existing, which you do not want if there are vm's there, or to leave them alone.

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
viper8
Enthusiast
Enthusiast
Jump to solution

Okay excellent! I've never had to do a reinstall so I've never seen that option before, but it's good to know that it exists.

Thanks again

0 Kudos
drewdown
Contributor
Contributor
Jump to solution

I was going to ask the same question but on a different scale. I have a 1TB LUN and 5 300GB LUNS configured. ESXi is currently installed on the 1TB LUN but doesn't have any VM images on it. All of my VM images have been migarted to 4 of the 300GB LUNS, leaving one empt 500GB LUN. I want to install ESXi on the 5th LUN, what would be the best way to go about doing this? The 1TB LUN will go away when all this is said and done.

I see that I have 2 options:

Unmap the 4 300GB LUNS, re-install ESXi onto the 5th LUN, re-map the LUNS and then register the VM's. If I do this will ESXi try to partition the LUNS eventhough they already have been when I re-attach them? Or will it see that they have already been partitioned and be gravy?

DON't unmap the 4 300GB LUNS, re-install ESXi onto the 5th LUN, re-attach the LUNS and register the VM's. Same as above.

Would either be beneficial over the other? Either way I will have to re-attached the LUNS, does ESXi care either way?

0 Kudos
kjb007
Immortal
Immortal
Jump to solution

ESXi will not repartition. They will be seen as existing vmfs, once you have the remapped, and a storage rescan has taken place. As long as you're not trying to boot of a SAN lun, you're fine, since ESXi doesn't boot from san.

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
drewdown
Contributor
Contributor
Jump to solution

kjb,

So I shouldn't remove any of the storage through ESXi?

  1. Un-map the LUNS from the host,

  2. map the new smaller OS LUN

  3. re-isntall ESXi on the new smaller partition,

  4. re-map the LUNS to the host

  5. Rescan from the GUI?

Thats the process I should follow?

FYI: because I wasn't completely sure how attaching storage works with ESXi I simply tried removing a LUN with VM's on it and then re-adding it, it wiped the data off that LUN. Obviously because it formated the LUN and I don't see away around not formatting data when adding it as storage in ESXi. I obviously want to avoid that in the future, so simply rescanning should allow those storage devices to be seen again without having to go to Storage > Add Storage....??

0 Kudos
satish_lx
Enthusiast
Enthusiast
Jump to solution

Many time i have install and upgrade ESX in test envirment but it never formate VMFS partion its on remote disk so you can add after rescan and at installation time it will ask you yo keep as it is or not.

- If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Thanks

Satish Patel

  • Journey toward "Virtual world"

- If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Thanks Satish Patel - Journey toward "Virtual world"
0 Kudos
kjb007
Immortal
Immortal
Jump to solution

It's always good to remove access to the drives not in use when installing/reinstalling/upgrading. Just in case. You are correct that when you add the LUNs back in, do not use 'add storage' wizard, because it will reformat the drives. After attaching the drives, use rescan hba's, and the storage should be visible.

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
drewdown
Contributor
Contributor
Jump to solution

Update:

I went ahead and re-configured my bladecenter S evironment last night. I configured a 10GB volume to install a fresh copy of ESXi onto, detached the existing LUNs and attached only the 10GB LUN. I installed ESXi and re-attached the remaining 5 LUN's and performed a rescan. All my LUNS showed up correctly and the VM's powered on without fail.

Couldn't have been any smoother.

TY Kjb.

0 Kudos
kjb007
Immortal
Immortal
Jump to solution

Good to hear.

-KjB

VMware vExpert

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos