No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

The root directory is used up which cause the failure to migrate the VM and add data storage

Publication Date:  2014-05-29 Views:  38 Downloads:  0
Issue Description
It is failed to add data storage to CNA node, and we can find the error to write the database failed in the logs. At the same time, it is also failed to migrate the VM from one CNA to the other. At last, we find the root directory is used up as below:
Alarm Information
None
Handling Process
When the root directory is used up, we have to find out which file take up most of the space first, and then we have to confirm if these files are nessesary for the system running, if not, we can delete them mannually to release the space.
Here i have a command to check the size of the files one by one under each directory as the picture below. (for each directory, use the command: du -h --max-depth=1)


Check the directory one by one, then find out which file and directory is very large, which you can delete when you are sure that they are useless, if you are not sure, please get help from R&D.

Here, we also have a common experience to check if the file we find is useless:
With "history" command, we can check if customer ever installed any other software, comparing the name of the files and logs with the installed software, when they are the same, i think we can delete it by ourselves.
Root Cause
Usually, we have to check two important factors as below:
1. The process of the CNA node is really abnormal, which may generate lots of logs with large size.
2. The environment is too complicated, for example, they installed some invalid software or transfer useless files to the CNA, which generate lots of template files out of control.
And for this case, we found that customer installed a invalid software which generate a big directory which use the root up.
Suggestions
We suggest not to install the invalid software in our VDI system, otherwise, it will cause the system abnormity.

END