Forum Discussion
F5 BIG-IP configuration backup
We're having an issue with our BIG-IP LTM 3900 in which we cannot backup our configuration file as we are going to be doing an upgrade to our environment...we are receiving this error:
Does anyone know how to rectify this error?
Thanks in advance,
Thomas.
Operation Status Saving active configuration... mkdir: cannot create directory `/var/tmp/cert_temp': Read-only file system /tmp/cs_save_pre_script: line 41: cd: /var/tmp/cert_temp: No such file or directory /tmp/cs_save_pre_script: line 61: cd: /var/tmp/cert_temp: No such file or directory /tmp/cs_save_pre_script: line 77: cd: /var/tmp/cert_temp: No such file or directory mkdir: cannot create directory `/var/tmp/gtm_tmp': Read-only file system mkdir: cannot create directory `/var/tmp/gtm_tmp': Read-only file system /tmp/cs_save_pre_script: line 105: cd: /var/tmp/gtm_tmp/gtm: No such file or directory /tmp/cs_save_pre_script: line 108: cd: /var/tmp/gtm_tmp/gtm: No such file or directory mkdir: cannot create directory `/var/tmp/gtm_tmp': Read-only file system /tmp/cs_save_pre_script: line 116: cd: /var/tmp/gtm_tmp/big3d: No such file or directory mkdir: cannot create directory `/var/tmp/em_db_temp': Read-only file system /var/tmp/cert_temp: Directory does not exist Error creating temporary directory /var/tmp/im7606 WARNING:There are error(s) during saving. Not everything was saved. Be very careful when using this saved file! Error creating package Error during config save. BIGpipe parsing error: 01020001:3: The requested operation failed.
- nitassEmployeewhat HDD firmware version are you using?
- Thomas_McLean_1NimbostratusHi nitass,
- nitassEmployeeas far as i know, upgrading HDD firmware and rebooting unit would fix this read-only file system issue.
- Thomas_McLean_1Nimbostratusnitass, again thanks for your quick reply - I am one of the affected so will need to schedule in downtime and carry out diags and an upgrade of our firmware.
- WeaverJKNimbostratus
Potentially, a directory structure is full.
Experienced the same symptoms when attempting to create an archive (backup) file. In our situation...
Issue: df showed that /shared was 100% used.
Cause: mcpd.out file was 55 GB
Root Cause: DISA STIGs suggest setting the mcpd logging level to debug.
Side Note: Many IA folks believe that the security technical implementation guides are not guidelines but hard requirements. Representatives from both DISA and FSS stated that STIGs are suggestions and are not requirements.
Temporary Solution: transferred Traffic Groups to alternate F5, then rebooted the F5 experiencing the problem. Note that I've previously tried other methods of resetting the mdpd.out file, only to have each require a reboot.
Long-term solution: Option A) create a cron job to perform log rotation function; Option B) revert to default logging level of mcpd
Please share if you've found differing (and preferably better) permanent solution.
- HamishCirrocumulus
A blast from the past... 6 years ago.. However you can usually empty an open file by cat'ing dev/null to it. e.g.
cat /dev/null > FILENAME
No reboot necessary.
H
- WeaverJKNimbostratus
Understood, Hamish.
Here are my notes from that issue: Internet posts identify concerns with having to reassign file permissions.
> /shared/tmp/mcpd.out did not produce the desired resutls. The file is still 41-GB in size. The “df -h” shows /shared as only 9% used now (good). If, however, the mcpd.out file is viewed (such as with more), the first 41-GB of the file is blank. In order to see the current entries, tail must be used.
What appeared to work (but didn't) was this: truncate /shared/tmp/mcpd.out --size 0
My notes end here. What I recall, however, is that the linux inodes were broken and the recover was to reboot.
I did not test cat. Do you foresee this breaking the inodes or causing any other issues, such as with permissions?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com