To check the free space on an ESX service console partitions:
1.Log in to the ESX service console as root from either an SSH session or directly from the console of the host.
2.Type df -h.
The output appears similar to:
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 4.9G 3.0G 1.6G 66% /
/dev/sda1 99M 18M 77M 19% /boot
none 145M 0 145M 0% /dev/shm
/dev/sda7 2.0G 135M 1.7G 8% /var/log
[root@server]#
************************************************************
To check the free space on a VMFS volume of an ESX host:
1.Log in to the ESX service console as root from either an SSH session or directly from the console of the host.
2.Type vdf -h.
The output appears similar to:
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 4.9G 3.0G 1.6G 66% /
/dev/sda1 99M 18M 77M 19% /boot
none 145M 0 145M 0% /dev/shm
/dev/sda7 2.0G 135M 1.7G 8% /var/log
/vmfs/devices 439G 0 439G 0% /vmfs/devices
/vmfs/volumes/458865ba-b31110fd-43d5-00127994e616
68G 47G 20G 69% /vmfs/volumes/San_Storage
/vmfs/volumes/45b5eb1a-808343db-ecab-00114335854b
26G 9.7G 16G 36% /vmfs/volumes/Local_Storage
[root@server]#
************************************************************************
Command to show the largest files with the Directories
[root@server]#du -h --max-depth=1 "dir"
This command lists the directories within a given filesystem that contain the largest files.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment