Use sysfs instead of fs-specific commands

* Consolidate RAID and LVM cases