Either Director/Flex/Analytics may face Disk Space/Mount Space is Full or Almost Full and cant perform upgrade or other activities. Please use below step to get solution.
Eg :
admin@versa-flexvnf:/dev/mapper$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/system-root 8.2G 8.2G 0 100% /
none 4.1k 0 4.1k 0% /sys/fs/cgroup
udev 8.5G 4.1k 8.5G 1% /dev
tmpfs 1.7G 9.8M 1.7G 1% /run
none 5.3M 4.1k 5.3M 1% /run/lock
none 8.5G 4.1k 8.5G 1% /run/shm
none 105M 0 105M 0% /run/user
/dev/sda1 247M 141M 94M 61% /boot
tmpfs 17M 0 17M 0% /mnt/versa_ramdisk
Reclaim "reserved" space
Ubuntu reserves around 5% to allow you to still use the computer if it's completely full. This is for root and root alone. If you're really stuck, you can reclaim this space:
sudo tune2fs -m 0 /dev/mapper/system-root
If the above doesn;t help much then you may need to relook at as to what is consuming so much space and then try to clean up manually one by one carefully the one which you really dont need.
The below command will list out what is consuming so much space and the path...
#sudo find / -type f -size +20M | xargs du -h | sort -nr
After this use regular #sudo rm <path/filemane> to remove the file from location.