FOGProject / fos

FOG Operating System
31 stars 33 forks source link

Capture and deploy LVM information #34

Open Sebastian-Roth opened 4 years ago

Sebastian-Roth commented 4 years ago

Some Linux distros install on LVM as default and we ought to capture and deploy this kind of setup. This feature won't make it into 1.5.x though but is planned for future releases.

Sebastian-Roth commented 4 years ago

As people run into hard to detect issues (example) we should try to at least detect LVM and error out on capture. Marking this issue as a bug report for now as this should make it into 1.5.x...

Quazz commented 4 years ago

@Sebastian-Roth I think Tom added some functions to funcs.sh waaaay back to try and help with LVM stuff. All of that code is untested though I think.

https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/usr/share/fog/lib/funcs.sh#L2298

Sebastian-Roth commented 4 years ago

More details on this here: https://forums.fogproject.org/topic/14078/1-5-7-89-partclone-doesn-t-capture-an-image-in-dd-mode-wrong-options-in-fog-upload

Sebastian-Roth commented 4 years ago

Ok, figured out what was causing partclone.imager to fail and shall fix this in #35 - pushing back LVM support for later FOG versions.