Actions
Bug #13616
openbootadm update-archive must report archive creation failure
Status:
New
Priority:
Normal
Assignee:
-
Category:
cmd - userland programs
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
During a recent image construction process, I had not left enough space in the target pool to create the boot archive. Unfortunately, bootadm update-archive
does not always report a failure if the process that notices the out-of-space condition is the gzip
process used to compress the ramdisk. Instead, I saw:
stderr| gzip: stdout: No space left on device stdout| Creating boot_archive for /rpool/images/work/qemu-ttya-full/a stdout| updating /rpool/images/work/qemu-ttya-full/a/platform/i86pc/amd64/boot_archive (CPIO)
The program then exited with status zero. The resultant boot_archive
file was only 12MB, and most definitely incomplete/corrupt.
No data to display
Actions