Operating System - HP-UX
1829903 Members
3218 Online
109993 Solutions
New Discussion

MC/SG Information(awk error)

 
SOLVED
Go to solution
+¦+ó+±
Occasional Advisor

MC/SG Information(awk error)

if you have many filesystems in MC/SG cntl file, you have to modify one line in function umount_fs(). If not, you can encounter followin message when halt your package.
awk: Input line /dev/vg??/lvol1 /d cannot be longer than 3,000 bytes.

You have to modify as belows.(cannot use awk)
#for I in $(print ${LV[@]} | awk '{ for(i=NF;
i>0; i--) print $i }')
--> for I in ${LV[@]}
1 REPLY 1
Stephen Doud
Honored Contributor
Solution

Re: MC/SG Information(awk error)

For the readers information, the original issue was in regard to the 10.X version of ServiveGuard.

The 11.09 version of ServiceGuard no longer uses the for-do-done loop technique to umount file systems. It now uses a while-do-done method, avoiding the awk altogether.