Re: question about the "storage" promise

"'Nick Anderson' via help-cfengine" <[email protected]>
Newsgroups gmane.comp.sysutils.cfengine.general
Message-ID <[email protected]>
Xander Cage <[email protected]> writes:

> Hi,
>
> Where does the "storage" promise get its information about filesystem sizes 
> from?

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

> i have somewhat weird output on one machine.
>
> root@nimvie: /root # df -m /opt
> Filesystem MB blocks Free %Used Iused %Iused Mounted on
> /dev/hd10opt 8192.00 4292.49 48% 115106 11% /opt 
>
> root@nimvie: /home/tremch/GIT/masterfiles_itsv # /var/cfengine/bin/cf-agent 
> -KI -b rootvg_diskspace
> info: Using command line specified bundlesequence
> info: Filesystem '/var' content seems to be sensible as promised
> error: File system '/opt' is suspiciously small! (6175 bytes) -> simply 
> bullshit
> info: Filesystem '/' content seems to be sensible as promised
> info: Filesystem '/usr' content seems to be sensible as promised
> info: Filesystem '/tmp' content seems to be sensible as promised 
>
>
> wbr
>
> chris


-- 
Nick Anderson | Doer of Things | (+1) 785-550-1767 | https://northern.tech

-- 
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/87fso98dws.fsf%40northern.tech.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.