Re: strange output from storage promise

"'Bas van der Vlies' via help-cfengine" <[email protected]> Thu, 14 Sep 2023 10:33:14 +0200
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
What is your code? I usually set the defaults very low. I suspect there 
are not many file under `/opt`

eg:
```
body volume scl_min_free_space(free) 
 

{ 
 

     check_foreign  => "true"; 
 

     freespace      => "$(free)"; 
 

     sensible_size  => "0"; 
 

     sensible_count => "0"; 
 

}

will suppress this warning


On 14/09/2023 10:13, Xander Cage wrote:
> 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] 
> <mailto:[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 <https://groups.google.com/d/msgid/help-cfengine/a4216275-e3c7-4960-b987-cba2786bf3dfn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
--
Bas van der Vlies
| High Performance Computing & Visualization | SURF| Science Park 140 | 
1098 XG  Amsterdam
| T +31 (0) 20 800 1300  | [email protected] | www.surf.nl |

-- 
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/4675c6cb-a489-4f67-a4d8-ae435e48c59d%40surf.nl.