funcionou nutanix@NTNX-XXXXXX-A-CVM:200.96.243.3:~$ allssh “df -h /home”
================== 200.96.243.10 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 22G 18G 55% /home
================== 200.96.243.11 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 22G 18G 55% /home
================== 200.96.243.4 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 22G 18G 56% /home
================== 200.96.243.5 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 21G 19G 54% /home
================== 200.96.243.6 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 21G 18G 54% /home
================== 200.96.243.7 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 23G 17G 59% /home
================== 200.96.243.8 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 22G 18G 56% /home
================== 200.96.243.9 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 22G 17G 57% /home
================== 200.96.243.3 =================
Filesystem Size Used Avail Use% Mounted on
/dev/md2 40G 22G 18G 55% /home
nutanix@NTNX-XXXXXX-A-CVM:200.96.243.3:~$ allssh ‘df -i /’
================== 200.96.243.10 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57460 597900 9% /
================== 200.96.243.11 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57458 597902 9% /
================== 200.96.243.4 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57461 597899 9% /
================== 200.96.243.5 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57457 597903 9% /
================== 200.96.243.6 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57460 597900 9% /
================== 200.96.243.7 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57461 597899 9% /
================== 200.96.243.8 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57457 597903 9% /
================== 200.96.243.9 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57457 597903 9% /
================== 200.96.243.3 =================
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/md1 655360 57461 597899 9% /
nutanix@NTNX-XXXXXX-A-CVM:200.96.243.3:~$
Discovering logs and files older than 3 days that can be deleted, I recommend using it as an emergency resource, if you do not have an active contract with Nutanix support.
1440 = 24 hours
4320 = 3 days
nutanix@NTNX-XXXXXX-A-CVM:200.96.243.3:~$ allssh “find ~/data/prism -name ‘api_audit*’ -mmin +4320 -type f -exec /usr/bin/rm ‘{}’ +”
nutanix@NTNX-XXXXXX-A-CVM:200.96.243.3:~$ allssh “find ~/data/prism/clickstream -name ‘client_tracking*’ -mmin +4320 -type f -exec /usr/bin/rm ‘{}’ +“
nutanix@NTNX-XXXXXX-A-CVM:200.96.243.3:~$ allssh “find ~/data/prism/clickstream -name ‘external_client*’ -mmin +4320 -type f -exec /usr/bin/rm ‘{}’ +”
nutanix@NTNX-XXXXXX-A-CVM:200.96.243.3:~$ allssh “sudo find /home/log/journal/ -maxdepth 1 -mindepth 1 -type d -not -name $(cat /etc/machine-id) -exec rm -r {} \;”
Leave a Reply