LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bedrock Linux (https://www.linuxquestions.org/questions/bedrock-linux-118/)
-   -   Looking for testers for Bedrock LVM patch (https://www.linuxquestions.org/questions/bedrock-linux-118/looking-for-testers-for-bedrock-lvm-patch-4175658719/)

nift4 08-07-2019 02:50 AM

Looking for testers for Bedrock LVM patch
 
I look for testers for an patch for Bedrock Linux that adds LVM2 support. If you can please test with numerus LVM/LUKS/No-LUKS/No-LVM combinations with different init systems and different distros.

Installer link: https://bedrocklinuxcommunity.github....7.6-x86_64.sh

PLEASE KEEP IN MIND THIS IS EXPERIMENTAL. (But it seems stable.)
And please post your results.

Pull Request: https://github.com/bedrocklinux/bedr...rland/pull/130

nift4 08-16-2019 07:57 AM

Hello? Nobody? I'll test myself but it's impossible to test with all possible mixes of LVm, Linux and distros.

Tested Distros:
- Void Linux (No LVM)
- Void Linux (with LVM)
- Debian (With LVM)

See more details at the PR.

ParadigmComplex 08-17-2019 05:18 AM

The Bedrock community is fairly small, which in practice means we don't a huge collection of volunteers for things such as this. This is particularly bothersome as, as you pointed out, it's impossible to test with the tremendous number of combinations of things.

Part of the issue, I think, is that the limited community is spread too thin between the various communications platforms. I'm hoping to eventually make a "beta update channel" that can be mentioned once everywhere for those who want to brave such testing. The upcoming 0.7.7 is probably going to be bug fixes which I'd rather get out sooner than later, but my plan for 0.7.8 is to be mostly new features - including your LVM fix - which would make sense to have as a beta release for some period for people to test. That may be the release which kicks off the beta channel update.

nift4 08-17-2019 05:22 AM

Yeah I know... But at least one guy has tested it! See GitHub issue!

ParadigmComplex 08-17-2019 05:45 AM

Yes, I saw, and was quite happy about it.

jr_bob_dobbs 08-20-2019 12:47 PM

I am confused. I ran bedrock with LVM some years ago. The "hijacked" distro handled it during the early boot phase via its init ram disk. The initrd, kernel and bootloader files were on a small ext2 partition (which was mounted later on in the boot process as /boot). The init script within the initrd would activate and mount any LVM volumes, way before bedrock is started.

I guess my question is, how could bedrock find, activate and mount an LVM otherwise, seeing as how it itself is within an LVM volume?

ParadigmComplex 08-20-2019 02:31 PM

Initrds usually mount the root directory to bootstrap the rest of the system, including LVM volume root directories. However, with many distro initrds, other LVM volume locations such as /home are set up by the init system further in the boot process. A quirk in how init systems interact with Bedrock means they usually skip mounting such directories themselves, which places the burden to do so on Bedrock. Without the above mentioned patch, Bedrock does not know how to mount LVM volumes, which means it cannot properly support things like LVM /home.

jr_bob_dobbs 08-22-2019 08:50 PM

Understood. Thank you.

nift4 08-30-2019 06:33 AM

MERGED!!


All times are GMT -5. The time now is 03:23 PM.