Patch failed, pms log contains "zstd: error 70 : Write error : cannot write block : No space left on device", "update-initramfs: failed for /boot/initrd.img-6.1.0-28-amd64 with 1"
search cancel

Patch failed, pms log contains "zstd: error 70 : Write error : cannot write block : No space left on device", "update-initramfs: failed for /boot/initrd.img-6.1.0-28-amd64 with 1"

book

Article ID: 418128

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Install monthly patch failed.  In the pms log contains the below error trace: 

FO: [!dt dt.trace_id=f5367cdfc487b9cf5d530017f991525a,dt.span_id=c924750e238290c7,dt.trace_sampled=true] Output from patch install: zstd: error 70 : Write error : cannot write block : No space left on device\
Oct 20, 2025 5:30:11 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch\
INFO: [!dt dt.trace_id=f5367cdfc487b9cf5d530017f991525a,dt.span_id=c924750e238290c7,dt.trace_sampled=true] Output from patch install: E: mkinitramfs failure zstd -q -9 -T0 70\
Oct 20, 2025 5:30:11 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch\
INFO: [!dt dt.trace_id=f5367cdfc487b9cf5d530017f991525a,dt.span_id=c924750e238290c7,dt.trace_sampled=true] Output from patch install: update-initramfs: failed for /boot/initrd.img-6.1.0-28-amd64 with 1.\
Oct 20, 2025 5:30:11 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch\
INFO: [!dt dt.trace_id=f5367cdfc487b9cf5d530017f991525a,dt.span_id=c924750e238290c7,dt.trace_sampled=true] Output from patch install: dpkg: error processing package initramfs-tools (--install):\
Oct 20, 2025 5:30:11 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch\
INFO: [!dt dt.trace_id=f5367cdfc487b9cf5d530017f991525a,dt.span_id=c924750e238290c7,dt.trace_sampled=true] Output from patch install:  installed initramfs-tools package post-installation script subprocess returned error exit status 1\
...
INFO: [!dt dt.trace_id=f5367cdfc487b9cf5d530017f991525a,dt.span_id=c924750e238290c7,dt.trace_sampled=true] Output from patch install:     at com.broadcom.patchbuilder.patch.PatchMain.main(PatchMain.java:30)\
Oct 20, 2025 5:30:14 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch\
INFO: [!dt dt.trace_id=f5367cdfc487b9cf5d530017f991525a,dt.span_id=c924750e238290c7,dt.trace_sampled=true] Patch exit code: 1\

Environment

ssg 11.x

Cause

No space left for the /boot segment. 

Resolution

Extend the /boot disk space.  See below document link for how to increase the disk space in the VM. 

Increase Disk Space in Virtual Appliance Using Logical Volume Management