ohai icon indicating copy to clipboard operation
ohai copied to clipboard

ohai filesystem plugin output needs adjustment for solaris11

Open SolverDude opened this issue 11 years ago • 1 comments

With solaris 11, each user on a server has their own filesystem mount for their home, using zfs. This isn't optional.

The present solaris2 filesystem plugin [unchanged in 2 years] in ohai iterates over each zfs filesystem's attributes with this command: "zfs get -p -H all"

This generates a [very large] chunk of text data for ea zfs mount, On our sample system it's 55 attributes and 2535 bytes of text. Most of it is default parameters.

When there are many users, the above expands to exceed the 1,000,000 byte limit the Chef server imposes, and thus fails to converge the node.

I would suggest 'all' is a bit too much data.

An alternative would be to select the minimal desired attributes, like so: "zfs get -p -H mountpoint,creation,available,used"

The above seems the minimal we see as needed for Ohai data, we aren't saying that's the case for all solaris users.

SolverDude avatar Oct 05 '15 16:10 SolverDude

@hornbeck @steversmith @craigadams Here is the summary of our Ohai issue re solaris11

SolverDude avatar Oct 05 '15 16:10 SolverDude