Loading...
Loading...
DRD clone fails with an error due to "awk limitation (e.g. the character limit of a single record)" and the error is caused in /opt/drd/lbin/drd_save_config.Below is an example of an error reported:awk: Input line _hp_group_name=rootd cannot be longer than 3,000 bytes.This can occur on a server that has a lot of disk groups configured under VxVM (Veritas volume manager).The number of volume groups configured under LVM has no impact here.
Any HPE Integrity system running HP-UX 11.31 and Dynamic Root Disk (DRD).
There is no plan to enhance drd_save_config to use gawk instead of awk to get around the character limit.Use one of the following workarounds.If possible, reduce the number of VxVM disk groups (by deporting some temporarily) when creating the clone.ORManually customize drd_save_config script to use gawk instead of awk. Detailed steps are shown below:Download and install gawk fromhttp://hpux.connect.org.uk/hppd/hpux/Gnu/gawk-5.0.1/Backup and modify the /opt/drd/lbin/drd_save_config, then replace "awk" with "/usr/local/bin/gawk" in populate_vxvm_dg_list():From:2774 grep "^_hp_group_name" $vxvm_dg_list_file | \2775 awk 'FS=";"{ for(i=1;i<NF;i++) { print $i } }' | \2776 awk 'FS="="{ print $2 }' | \2777 while read disk_group2778 do2779 Vxvm_dg_list="${vxvm_dg_list} ${disk_group}"2780 doneTo:2774 grep "^_hp_group_name" $vxvm_dg_list_file | \2775 /usr/local/bin/gawk 'FS=";"{ for(i=1;i<NF;i++) { print $i } }' | \2776 /usr/local/bin/gawk 'FS="="{ print $2 }' | \2777 while read disk_group2778 do2779 Vxvm_dg_list="${vxvm_dg_list} ${disk_group}"2780 done\Try drd clone again.IMPORTANT: Changes to drd_save_config will be overwritten when DRD product gets updated or re-installed.
Operating Systems Affected:HP-UX 11.31 (IA), HP-UX 11.31 (PA)
Click on a version to see all relevant bugs
Hewlett Packard Enterprise Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.