jbenninghoff / cluster-validation

Scripts to validate that a cluster is ready for MapR Data Platform installation
85 stars 94 forks source link

Update disk-test.sh #34

Closed rostbach closed 7 years ago

rostbach commented 7 years ago

If device has been build with LUKS encryption, but empty otherwise, it is similar case as with LVM Volume groups. Without checking encryption, we get Unused disks: /dev/mapper/vg_root-lv_secure, but in reality it points to /dev/mapper/enc1 after LUKS setup

rostbach commented 7 years ago

There is calculation error with CV values: Variable svals is not reset between four types; seq r, seq w, random r, random w and that is why it will cumulate. I think that some other formula would be needed for cumulative variance.