Dinty
Contributor
Contributor

ESX Drive Formatting

Jump to solution

I have some old drives (XP O/S) that I would now like to use for ESX. What is the best way to do a comprehensive format in ESX such that the old data has been erased?

Thanks.

0 Kudos
1 Solution

Accepted Solutions
mcowger
Immortal
Immortal

There is no concept of a 'full' format for VMFS.

If you REALLY wanted to, from the system console (not the GUI), you could do something like:

dd if=/dev/zero of=/dev/sdX bs=1M

to wipe the whole disk sdX before you reformat it, but its 100% unnecessary and a waste of time. Will not improve performance or anything else.

--M

--Matt VCDX #52 blog.cowger.us

View solution in original post

0 Kudos
7 Replies
avlieshout
VMware Employee
VMware Employee

AFAIK creating an ESX Datastore erases the existing partitions.

-Arnim van Lieshout

-


Blogging: http://www.van-lieshout.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
john23
Commander
Commander

Ya, if you want to create vmfs volume or ESX ,you need to format.

-@m!t

Thanks -A Read my blogs: www.openwriteup.com
0 Kudos
Dinty
Contributor
Contributor

Sure, this erases the partitions but I was looking for something more complete. Something more akin to what Windows server offers during installation (NTFS full format).

0 Kudos
mcowger
Immortal
Immortal

No such thing is required or possible during install.






--Matt

VCP, vExpert, Unix Geek

--Matt VCDX #52 blog.cowger.us
0 Kudos
Chuck8773
Hot Shot
Hot Shot

If you really want to nuke the disk prior to install, check out http://www.dban.org/.

We use this to wipe any disks before they leave our datacenter.

Charles Killmer, VCP

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

Charles Killmer, VCP4 If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
Dinty
Contributor
Contributor

What about after install from the VIC console?

0 Kudos
mcowger
Immortal
Immortal

There is no concept of a 'full' format for VMFS.

If you REALLY wanted to, from the system console (not the GUI), you could do something like:

dd if=/dev/zero of=/dev/sdX bs=1M

to wipe the whole disk sdX before you reformat it, but its 100% unnecessary and a waste of time. Will not improve performance or anything else.

--M

--Matt VCDX #52 blog.cowger.us
0 Kudos