When deploying a Linux image to an endpoint, Ghost reports the destination drive is too small.
From Ghosterr.txt file:
[root@imagemobility ~]# cat GHOSTERR.TXT
Date : Thu Jun 17 11:34:30 2021
Error Number: 40011
Message: Destination drive too small
Version: 12.0.0.11369(May 21 2021, Build=11369
OS Version: Linux 4.18.0-305.3.1.el8.x86_64 #1 SMP Tue Jun 1 16:14:33 UTC 2021 x86_64
Command line arguments: -CLONE,MODE=RESTORE,SRC=/mnt/COS1/image1.gho,DST=1,szeL -SURE -BLIND
Active Switches :
AutoName
[root@imagemobility ~]# cat ghstwarn.txt
Date : Thu Jun 17 11:34:30 2021
Error Number: 40011
Message: Destination drive too small
Version: 12.0.0.11369(May 21 2021, Build=11369
OS Version: Linux 4.18.0-305.3.1.el8.x86_64 #1 SMP Tue Jun 1 16:14:33 UTC 2021 x86_64
Command line arguments: -CLONE,MODE=RESTORE,SRC=/mnt/COS1/image1.gho,DST=1,szeL -SURE -BLIND
Active Switches :
AutoName
[root@imagemobility ~]#
Attemped to deploy image with build vers 11233 with error:
Broadcom Ghost 12.0.0.11233 Copyright (C) 2020 Broadcom Inc. All rights reserved.
No smart header found
Finished.
ABORT: 10025, Header of Ghost image file is corrupted – PID 1449
GSS 3.3 RU7, RU8, RU9
Known Issue. Usually (historically) partitions are created on a disk with some space between them (aligned to disk cylinder). When Ghost restores disk image it tries to follow this convention. If the disk was partitioned without such free spaces then when Ghost tries to recreate partitions with alignments last partition may not fit on the disk. For NTFS or EXT4 partitions this is not a problem - Ghost may shrink them. But XFS support was implemented differently. XFS partitions cannot be resized by Ghost.
This issue has been reported to the Broadcom Dev team. A more permanent fix should be added in a later GSS 3.3 release.
In the meantime, the problem may be addressed without using -fis flag.
The attached pointfix is attached as "ESCRT-7354_-_Ghost_error_destination_drive_too_small_1626985771869.zip" to this article for GSS 3.3 RU7 providing fixes available for disk space calculation for (GPT+XFS case).
Also, there is one for GSS 3.3 RU9 called "ESCRT-8976 - ERROR_ ABORT_ 40011, Destination drive too small.zip"
Just replace the Linux ghost binaries. It is not required to update it in LinPE. Place the files under the following two locations:
for GSS(default installation): C:\Program Files (x86)\Altiris\eXpress\Deployment Server\Ghost
for GST(default installation): C:\Program Files (x86)\Symantec\Ghost
Note 1: This pointfix does not resolve "destination drive too small" issues when XFS BIOS images are restored to UEFI machines with the same disk size as the source machine; we do not resize XFS partitions so we cannot insert new additional EFI partitions to target machines if the disk does not have free space.
Note 2: This pointfix also includes the fixes under:
KB 215002 "Linux Ghost shows garbled text everywhere when running in GUI"
KB 215928 "Linux ghost reports image file is corrupt"
Note 3: Attachment "ESCRT-8976 - ERROR_ ABORT_ 40011, Destination drive too small_1646057981831.zip" has been attached to resolve an issue where this error was seen with GSS RU9. To apply this pointfix to GSS RU9, please place the files under the following two locations: