I am having the same problem. I setup 3 ESX 3.0 servers with custom partition configs and now I am setting up a new 4th 6 months later and don't remember the custom configs - I lost it.
Anyone know of a command to view existing partition sizes?
Thanks in advance.
login to the COS,
note the device for mountpoint / (in case your first disk isn't /dev/sda)
something similar to "/dev/sda6 on / type ext3 (rw)"
execute fdisk /dev/sda (or the disk device from above without the last number)
then type p
you get an output similar to the following
Disk /dev/sda: 72.9 GB, 72999763968 bytes
255 heads, 63 sectors/track, 8875 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 6387 51199155 fb Unknown
/dev/sda3 6388 6648 2096482+ 83 Linux
/dev/sda4 6649 8875 17888377+ f Win95 Ext'd (LBA)
/dev/sda5 6649 6909 2096451 83 Linux
/dev/sda6 6910 7546 5116671 83 Linux
/dev/sda7 7547 7677 1052226 83 Linux
/dev/sda8 7678 7746 554211 82 Linux swap
/dev/sda9 7747 8000 2040223+ 83 Linux
/dev/sda10 8001 8013 104391 fc Unknown
after that enter "q" to quit fdisk
correlate this with the output of mount, example:
/dev/sda6 on / type ext3 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/sda1 on /boot type ext3 (rw)
/dev/sda7 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda5 on /usr type ext3 (rw)
/dev/sda3 on /var type ext3 (rw)
/dev/sda9 on /var/log type ext3 (rw)
The unknown partitions are the vmkcore (ID fc) and vmfs3 (ID fb) (if you have one)
Message was edited by:
that was it...thanks.
looks like it creates a 100MB vmkore partition even if you forget to.