in general this method are really huge and it will be better to split it to more methods to easier reading
like
```
parse_attributes(lines);
parse_logical_volume(lines);
parse_physical_volume(lines);
```
It really makes reading easier as it is hard to keep context in this big method.