{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/ohai/issues/469","labels_url":"https://api.github.com/repos/chef/ohai/issues/469/labels{/name}","comments_url":"https://api.github.com/repos/chef/ohai/issues/469/comments","events_url":"https://api.github.com/repos/chef/ohai/issues/469/events","html_url":"https://github.com/chef/ohai/issues/469","id":55619728,"number":469,"title":"Linux filesystems plugin report wrong fs-type for logical volumes","user":{"login":"josqu4red","id":1407797,"avatar_url":"https://avatars.githubusercontent.com/u/1407797?v=3","gravatar_id":"","url":"https://api.github.com/users/josqu4red","html_url":"https://github.com/josqu4red","followers_url":"https://api.github.com/users/josqu4red/followers","following_url":"https://api.github.com/users/josqu4red/following{/other_user}","gists_url":"https://api.github.com/users/josqu4red/gists{/gist_id}","starred_url":"https://api.github.com/users/josqu4red/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josqu4red/subscriptions","organizations_url":"https://api.github.com/users/josqu4red/orgs","repos_url":"https://api.github.com/users/josqu4red/repos","events_url":"https://api.github.com/users/josqu4red/events{/privacy}","received_events_url":"https://api.github.com/users/josqu4red/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/ohai/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/chef/ohai/milestones/6","html_url":"https://github.com/chef/ohai/milestones/Help%20Wanted","labels_url":"https://api.github.com/repos/chef/ohai/milestones/6/labels","id":1108493,"number":6,"title":"Help Wanted","description":"Triaged issues that are low priority and are not being worked on.","creator":{"login":"thommay","id":8500,"avatar_url":"https://avatars.githubusercontent.com/u/8500?v=3","gravatar_id":"","url":"https://api.github.com/users/thommay","html_url":"https://github.com/thommay","followers_url":"https://api.github.com/users/thommay/followers","following_url":"https://api.github.com/users/thommay/following{/other_user}","gists_url":"https://api.github.com/users/thommay/gists{/gist_id}","starred_url":"https://api.github.com/users/thommay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thommay/subscriptions","organizations_url":"https://api.github.com/users/thommay/orgs","repos_url":"https://api.github.com/users/thommay/repos","events_url":"https://api.github.com/users/thommay/events{/privacy}","received_events_url":"https://api.github.com/users/thommay/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-05-13T12:36:00Z","updated_at":"2015-06-24T09:39:41Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-27T13:50:34Z","updated_at":"2015-06-24T09:39:41Z","closed_at":"2015-06-24T09:39:41Z","body":"Hello,\r\n\r\nI'm having this issue with Ohai 8.0.1 on Debian 7.\r\nAffected hosts have LVM volumes on hardware RAID card.\r\n\r\n```lsblk``` (from util-linux 2.20.1) output is:\r\n```\r\nroot@host:~# lsblk -r -n -o NAME,FSTYPE\r\nsda \r\nsda1 ext4\r\nsda6 LVM2_member\r\nvg00-root (dm-0) ext4\r\nvg00-var (dm-1) ext4\r\n```\r\nwhich is matched with ```/^(\\S+) (\\S+)/``` thus giving this output:\r\n```json\r\nroot@host:~# ohai filesystem\r\n  \"/dev/mapper/vg00-root\": {\r\n[...]\r\n    \"fs_type\": \"(dm-0)\",\r\n    \"mount_options\": [\r\n    ],\r\n    \"uuid\": \"(dm-0)\",\r\n    \"label\": \"(dm-0)\"\r\n  }\r\n```\r\n\r\nSuggestion: change ```lsblk``` arguments:\r\n```\r\nroot@host:~# lsblk -no NAME,FSTYPE -P       \r\nNAME=\"sda\" FSTYPE=\"\"\r\nNAME=\"sda1\" FSTYPE=\"ext4\"\r\nNAME=\"sda6\" FSTYPE=\"LVM2_member\"\r\nNAME=\"vg00-root (dm-0)\" FSTYPE=\"ext4\"\r\n```\r\n\r\nThanks"}}