strange output from storage promise

Xander Cage <[email protected]> Thu, 14 Sep 2023 01:13:46 -0700 (PDT)
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Hi,

on one of our aix machines we get this outpput from  storage monitoring.

error: File system '/opt' is suspiciously small! (9759 bytes)

which is definitly not correct...

root@wpsap: /root # lsfs -q /opt
Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/hd10opt -- /opt jfs2 11534336 -- yes no
(lv size: 11534336, fs size: 11534336, block size: 512, sparse files: yes, 
inline log: no, inline log size: 0, EAformat: v1, Quota: no, DMAPI: no, 
VIX: yes, EFS: no, ISNAPSHOT: no, MAXEXT: 0, MountGuard: no, LFF: no) 

mesage comes from here -> 
https://github.com/cfengine/core/blob/master/cf-agent/verify_storage.c#L251

skimmed through spaghetti code but i guess was unable to fully grasp whats 
going on here...

https://github.com/cfengine/core/blob/master/cf-agent/verify_storage.c#L249

where is volume.sensible_size coming from? i expected some form of statfs 
call somewhere but only found one in another unrelated universe.

https://github.com/cfengine/core/blob/master/libpromises/storage_tools.c#L84

i have an case open with the ibm guys, so please can sombady shaed some 
light on this`?

wbr

chris


-- 
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/help-cfengine/a4216275-e3c7-4960-b987-cba2786bf3dfn%40googlegroups.com.