Gustav Klein1709162807 Posted November 23, 2023 Share Posted November 23, 2023 Hey all, i know there are multiple articles arelady in the www but i cannot seem to ged a hold on my issue. we do have a VPX HA Pair 13.0.92nc and i wanted to make a upgrade to the latest 13.1 version. So i did check the file usgae with df -h and on my primary node the /var/nslog folder is taking a big chunk with a lot of files not beeing zipped but half of the exisitng files are propperly zipped. the Number ranges from 1-99 in my rotation. i did check the nslog.nextzip & nslog.nextfile both do have different numbers and are not empty. https://support.citrix.com/article/CTX205014/netscaler-newnslog-files-not-compressed-which-results-in-var-directory-getting-full is not helping since it mentioneds that only new files will be zipped. if i check the same directory in the Second HA Node every file is propperly zipped. I tried to follow https://docs.netscaler.com/en-us/citrix-adc/current-release/system/troubleshooting-citrix-adc/how-to-free-space-on-var-directory.html but the command to zip the unziped files failed, so i added the "f" operator and it did create the file but the folde still remains So here is my quesions: - what the heck iam doing wrong, that the primary node is not ziping all its files - do i really need to zip each file by hand and delete the folders? OR is it safe to just delete all the non zipped newnslog files to free up the disk space? thanks! Link to comment Share on other sites More sharing options...
Marcelo Oguma de Souza1709152865 Posted November 24, 2023 Share Posted November 24, 2023 The newnslog files store logs, events, and statistics from the many internal counters. If you don't need this historic information, it is safe to delete them. Looking at your list of files, looks like the most recent is from Nov 24 12:54 and it is compressed, which makes me think that somehow you solved the automatic compressing issue. (maybe you fixed a problem in the nslog.nextzip file?) On the tar command to compress the folder you need to put a ./ (dot and slash) before the folder name (or the full path), like this: tar -cz newnslog.13.tar.gz ./newnslog.13 It will not remove the folder automatically, just create a compressed file of the folder contents. After that you have to manually delete each folder. Hope it helps, Marcelo Oguma 1 Link to comment Share on other sites More sharing options...
Gustav Klein1709162807 Posted November 24, 2023 Author Share Posted November 24, 2023 Hey Marcelo, thanks for your answer, i was curious why all the remaining files were not zipped and i was not sure if i could delte the files. Well it seems that my issue is solved now all files are zipped now, maybe the process was not hanging and due to my interactions on the shell its working now. thanks again for the assist Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now