If I'm trying to compare the partitions of 2 ESX servers so I can determine if they were installed identically, what command should I use? I tried fdisk -lu and while it gives me the partition information, it doesn't give me the details I see during the install for /var, /opt, /tmp, etc.
Thanks.
You can just run "df" and that will give it in bytes (plenty of numbers for you to count)!
To find the swap partition if you have one run "fdisk -l" OR "fdisk -l | grep swap".
Andy
VCP / vExpert / MCTS
For Help, Guides and How Tos visit
If you found this information useful please award points using the buttons at the top of the page accordingly.
Use the df -h command on the root folded to compare the esx servers.
AM,
If you found my answer to be useful, feel free to mark it as Helpful or Correct.
The latest blogs and articles on Virtulization:
http://communities.vmware.com/blogs/amodi
Thanks. I noticed that df -h does not list the swap partition. Is there a way to list that?
Also, the df -h command rounds the numbers up, is there a switch to get them in bytes? Thanks.
You can just run "df" and that will give it in bytes (plenty of numbers for you to count)!
To find the swap partition if you have one run "fdisk -l" OR "fdisk -l | grep swap".
Andy
VCP / vExpert / MCTS
For Help, Guides and How Tos visit
If you found this information useful please award points using the buttons at the top of the page accordingly.