Hi,
on my replication appliance 3.4 the log partition ist full:
admin@Replication [ ~ ]$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 720K 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda4 14G 3.4G 9.5G 27% /
tmpfs 3.9G 100K 3.9G 1% /tmp
/dev/sda2 240M 33M 196M 15% /boot
/dev/mapper/support_vg-vrmsdb 9.8G 91M 9.2G 1% /var/lib/vrmsdb
/dev/mapper/support_vg-heapdump 3.9G 8.1M 3.7G 1% /opt/vmware/heapdump
/dev/mapper/support_vg-support 2.0G 116M 1.7G 7% /opt/vmware/support
/dev/mapper/support_vg-logs 976M 976M 0 100% /opt/vmware/logs
tmpfs 798M 0 798M 0% /run/user/666
I found this expression in the last release notes of the replication service:
Upgrade
When you try to upgrade the vSphere Replication appliance to version 8.5, the process fails without an error or warning. The problem is observed if your partition for logs (/opt/vmware/logs) is full.
Workaround: Clean up the log partition before you upgrade to vSphere Replication 8.5.
But I did not find any hint howto clean up the log partition.
I checked the content of the partition and it looks like manual deleting of files is not a good idea.
admin@Replication [ /opt/vmware/logs ]$ ls
hms lost+found upgrade
admin@Replication [ /opt/vmware/logs ]$ cd hms/
-bash: cd: hms/: Permission denied
admin@Replication [ /opt/vmware/logs ]$ cd upgrade/
-bash: cd: upgrade/: Permission denied
Type the following command at the shell prompt to find out the top 20 largest files/directories
du -ah /opt/vmware/logs | sort -n -r | head -n 20
It would list out the largest files and then either you can remove them or mv to some other directory
Regards
Harry
I deleted some files manually but I had to escalade to root privilege. Than I updated to 8.6.0.21134460 and now I hope that the log rotation will work properly.
]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 28K 3.9G 1% /dev/shm
tmpfs 3.9G 748K 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda4 14G 2.6G 11G 21% /
tmpfs 3.9G 172K 3.9G 1% /tmp
/dev/sda2 238M 25M 201M 11% /boot
/dev/mapper/support_vg-logs 975M 571M 354M 62% /opt/vmware/logs
/dev/mapper/support_vg-heapdump 3.9G 96K 3.7G 1% /opt/vmware/heapdump
/dev/mapper/support_vg-vrmsdb 9.8G 68M 9.2G 1% /var/lib/vrmsdb
/dev/mapper/support_vg-support 2.0G 320M 1.5G 18% /opt/vmware/support
tmpfs 798M 0 798M 0% /run/user/666
Regards Mike