VMware Cloud Community
Kgalus
Contributor
Contributor

ESX 3.5 Disk Partitioning

What is the best practice to partition your local disks? Assuming a server with 72GB of usable space....

Tags (3)
Reply
0 Kudos
4 Replies
Troy_Clavell
Immortal
Immortal

here's how we partition our 72GB drives

part /boot --fstype ext3 --size 250 --ondisk=cciss/c0d0 --asprimary

part / --fstype ext3 --size 5120 --ondisk=cciss/c0d0 --asprimary

part swap --size 1600 --ondisk=cciss/c0d0 --asprimary

part /var/log --fstype ext3 --size 4096 --ondisk=cciss/c0d0

part /home --fstype ext3 --size 2048 --ondisk=cciss/c0d0

part /tmp --fstype ext3 --size 1024 --ondisk=cciss/c0d0

part /opt --fstype ext3 --size 2048 --ondisk=cciss/c0d0

part None --fstype vmkcore --size 100 --ondisk=cciss/c0d0

part None --fstype vmfs3 --size 2000 --grow --ondisk=cciss/c0d0

Reply
0 Kudos
avlieshout
VMware Employee
VMware Employee

I use the following configuration. Offcourse you can make some 8GB partitions smaller, but I have 72GB local storage available and don't have to use local storage as a vmfs datastore.

So when I have plenty I take plenty.

Mount Point

File System Type

Size (MB)

Force to be a primary partition

/boot

Ext3

1024

Yes

/ (root)

Ext3

8192

Yes

Swap

1600

Yes

/var

Ext3

8192

No

/home

Ext3

8192

No

/tmp

Ext3

8192

No

vmkcore

100

No

-Arnim van Lieshout

-


Blogging:

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".
Reply
0 Kudos
avlieshout
VMware Employee
VMware Employee

Troy,

you are right about the seperate /opt partition that I don't have configured at the moment.

as far as the /var/log I prefer the /var because I've seen /var/core fill up my root partition before.

-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".
Reply
0 Kudos
Troy_Clavell
Immortal
Immortal

as far as the /var/log I prefer the /var because I've seen /var/core fill up my root partition before.

I agree and this is the route we will probably go in future builds.

Reply
0 Kudos