Bug ID 623391: cpcfg cannot copy a UCS file to a volume set with a root filesystem that has less free space than the total UCS size

Last Modified: Jul 13, 2024

Affected Product(s):
BIG-IP Install/Upgrade(all modules)

Known Affected Versions:
10.2.4, 11.0.0, 11.1.0, 11.2.0, 11.2.1, 11.3.0, 11.4.0, 11.4.1, 11.5.0, 11.5.1, 11.5.1 HF1, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.1 HF10, 11.5.1 HF11, 11.5.2, 11.5.2 HF1, 11.5.3, 11.5.3 HF1, 11.5.3 HF2, 11.5.4, 11.5.4 HF1, 11.5.4 HF2, 11.5.4 HF3, 11.5.4 HF4, 11.5.5, 11.5.6, 11.5.7, 11.5.8, 11.5.9, 11.5.10, 11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5, 11.6.0 HF6, 11.6.0 HF7, 11.6.0 HF8, 11.6.1, 11.6.1 HF1, 11.6.1 HF2, 11.6.2, 11.6.2 HF1, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.0.0, 12.0.0 HF1, 12.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2, 12.1.2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
13.0.0, 12.1.3

Opened: Oct 18, 2016

Severity: 3-Major

Symptoms

cpcfg fails with errors similar to: Getting configuration from HD1.2 info: Copying configuration to HD1.1 info: Applying configuration to HD1.1 info: >++++ result: info: Extracting manifest: /var/local/ucs/config.ucs info: /: Not enough free space info: 739487744 bytes required info: 259965952 bytes available info: /var/local/ucs/config.ucs: Not enough free disk space to install! info: Operation aborted.

Impact

You cannot use cpcfg to copy a UCS file to a volume set with a root filesystem that has less free space than the total UCS size

Conditions

Use cpcfg for a UCS that is larger than free space on root filesystem of target volume set.

Workaround

Run the below to fix /etc/mtab on target (HD1.3 is used in this example; substitute the correct target volume) before cpcfg: - volumeset -f mount HD1.3 - grep HD1.3 /proc/mounts | sed 's_/mnt/HD1.3_/_g;s_//_/_g' > /mnt/HD1.3/etc/mtab - volumeset -f umount HD1.3

Fix Information

cpcfg could incorrectly calculate the amount of free space required, refusing to do the copy unless the / filesystem on the target volume had sufficient space to do the copy (not taking into account /config, /usr, /var, and other filesystems). This has been resolved and this free space calculation is done correctly.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips