SAS18
Contributor
Contributor

VMware partitions - confused!

Jump to solution

Hi,

Can somebody shed some light on what partitions I have configured on my ESX server?

The output from df -l is:

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/cciss/c0d0p2 5035936 1540836 3239284 33% /

/dev/cciss/c0d0p1 98747 31895 61753 35% /boot

none 134124 0 134124 0% /dev/shm

/dev/cciss/c0d0p6 2011888 90084 1819604 5% /var/log

The output from df -l -a is:

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/cciss/c0d0p2 5035936 1540844 3239276 33% /

none 0 0 0 - /proc

none 0 0 0 - /dev/pts

usbdevfs 0 0 0 - /proc/bus/usb

/dev/cciss/c0d0p1 98747 31895 61753 35% /boot

none 134124 0 134124 0% /dev/shm

/dev/cciss/c0d0p6 2011888 90084 1819604 5% /var/log

The output from ls -l -a is:

drwxr-xr-x 21 root root 4096 Sep 27 10:21 .

drwxr-xr-x 21 root root 4096 Sep 27 10:21 ..

-rw-rr 1 root root 0 Sep 27 10:21 .autofsck

drwxr-xr-x 2 root root 4096 Sep 13 14:40 bin

drwxr-xr-x 4 root root 1024 Oct 23 14:01 boot

drwxr-xr-x 23 root root 118784 Sep 27 10:23 dev

drwxr-xr-x 32 root root 4096 Oct 23 14:01 etc

drwxr-xr-x 2 root root 4096 Jan 24 2003 home

-rwx------ 1 root root 0 Sep 13 14:09 .hpshm_keyfile

drwxr-xr-x 2 root root 4096 Jan 24 2003 initrd

drwxr-xr-x 9 root root 4096 Sep 13 15:10 lib

drwx------ 2 root root 16384 Dec 6 2006 lost+found

drwxr-xr-x 2 root root 4096 Sep 26 15:03 mnt

drwxr-xr-x 6 root root 4096 Sep 13 15:45 opt

dr-xr-xr-x 302 root root 0 Sep 27 10:20 proc

-rw------- 1 root root 1024 Dec 6 2006 .rnd

drwxr-x--- 3 root root 4096 Oct 3 16:17 root

drwxr-xr-x 2 root root 4096 Sep 13 15:08 sbin

drwxrwxrwt 4 root root 4096 Oct 25 11:00 tmp

drwxr-xr-x 16 root root 4096 Feb 14 2007 usr

drwxr-xr-x 2 root root 4096 Sep 13 14:06 utils

drwxr-xr-x 19 root root 4096 Feb 14 2007 var

drwxrwxrwt 1 root root 512 Sep 27 10:22 vmfs

drwxr-xr-x 4 root root 4096 Jul 27 02:17 vmimages

I have been told to create the following partitons as best practice for a ESX server:

Partition Type Size (MB)

/ ext3 3072

/boot ext3 200

n/a swap 1600

/home ext3 512

/tmp ext3 2048

/var ext3 4096

/opt ext3 2048

n/a vmkcore 100

n/a VMFS3 1200+ (fill to max size)

So, my question is, out of the above outputs from my system, which are partitions? Are there a mixture of partitions and folders, or are they the same thing?

Any help appreciated.

Sam.

0 Kudos
1 Solution

Accepted Solutions
Sangokan
Enthusiast
Enthusiast

I would issue the vdf -h command to get a better formatted view of your partitions.

You can also view system partitions in the VI client: Click on a host --> Configuration tab --> Storage --> Select the storage where esx is installed and then click Properties

From your df -l

The output from df -l is:

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/cciss/c0d0p2 5035936 1540836 3239284 33% / -


> this is the root partition

/dev/cciss/c0d0p1 98747 31895 61753 35% /boot -


> boot partition

none 134124 0 134124 0% /dev/shm

/dev/cciss/c0d0p6 2011888 90084 1819604 5% /var/log --> log partition

ls -l is used for listing files so not relevant to gather partitions info. You can also have a look to the /etc/fstab file.

View solution in original post

0 Kudos
1 Reply
Sangokan
Enthusiast
Enthusiast

I would issue the vdf -h command to get a better formatted view of your partitions.

You can also view system partitions in the VI client: Click on a host --> Configuration tab --> Storage --> Select the storage where esx is installed and then click Properties

From your df -l

The output from df -l is:

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/cciss/c0d0p2 5035936 1540836 3239284 33% / -


> this is the root partition

/dev/cciss/c0d0p1 98747 31895 61753 35% /boot -


> boot partition

none 134124 0 134124 0% /dev/shm

/dev/cciss/c0d0p6 2011888 90084 1819604 5% /var/log --> log partition

ls -l is used for listing files so not relevant to gather partitions info. You can also have a look to the /etc/fstab file.

View solution in original post

0 Kudos