Deprecation: Filesystem plugin replaced by the Filesystem V2 plugin. (OHAI-9)
In Ohai/Chef Client 13 we replaced the existing Filesystem plugin with
the Filesystem2 plugin. This was done by having the Filesystem2 plugin
Filesystem2 plugin includes a different data format that resolves many
of the longstanding bugs in the Filesystem plugin.
If you have a cookbook that relies on data from
will need to update the code to use data in the new format when
migrating to Chef Client 13 or later. On a Chef Client 12 or earlier
node you can view the new format by running ohai
filesystem2 or on a Chef Client 13+ node you can run
The output of the filesystem plugin is too large to show the difference
here, but as an example code that may reference
node['/dev/xvda1']['kb_size'] would need to be updated to reference
node['by_device']['/dev/xvda1']['kb_size'] as filesystem data is now
displayed by both devices and mounts.
Was this page helpful?