Server Storage Cleanup
If you run out of space on your Corellium server, you can follow these steps to clean up storage.
Remove old installation files
Your appliance may have old installation files that can be removed.
rm -rf /usr/share/corellium/installer.staging
rm -rf /usr/share/corellium/installer
rm -rf /opt/stack/corellium/images/*.staging
Review the list of syslog files
You can review the list of syslog files to see if there are any old logs that can be removed.
find /var/log -type f -exec du -h {} + 2>/dev/null | sort -h
If you see large syslog.*.gz files, you can remove them.
Clean out the home directory
Search for large files.
find /root -type f -exec du -h {} + 2>/dev/null | sort -h | tail -n 20
Search for large directories.
du -hsx /root/* 2>/dev/null
# And follow the directories down to where the space is used.
Look for any remaining large files
Outside of the home and log directories, you can look for any remaining large files.
find / -type f -exec du -h {} + 2>/dev/null | sort -h | tail -n 20
du -hsx /* 2>/dev/null
# And follow the directories down to where the space is used.
Move the home directory (optional)
One option is to move the home directory to /var/ipsw
and bind mount it to /root
, which will allow you to keep the home directory on a larger partition.
cp $HOME /var/ipsw/
rm -rf /root
echo "/var/ipsw/root /root none defaults,bind 0 0" >> /etc/fstab
reboot
After you untar the install file
Extract the tarball to the home directory, but delete the tar file (which is is over 10GB) but before you run the installer script.
rm /root/<corellium_release_name>.tar.xz
Installation diagnostics
If the installation, please send the full diagnostics zip file
crlm-node /usr/share/corellium/installer/diagnostics.js
If the diagnostics command fails, please manually send following log and config files as a zip file.
/etc/corellium/config.json
/etc/corellium/coordinator.json
/etc/corellium/package.json
/etc/corellium/setup.json
/var/log/syslog
/var/log/corellium-install.log