[systemd-devel] systemd-repart with multiple block devices

Mehmet Akbulut mehmet.akbulut at motional.com
Wed Nov 16 22:19:34 UTC 2022


Hello,

I have a use case where a complete OS installation spans multiple block
devices. (e.g. /dev/sda, /dev/sdb, etc..) As such, I'm looking to create
partitions across multiple devices rather than just a single block device
that we booted from.

Right now it looks like I need to spawn multiple instances of
systemd-repart with --image /dev/sdX --root
/special-dir-for-sdX-which-contains-etc-repartd. However this feels a bit
unnatural and it might be that is not intended for this use case. Something
like --directory to specify config directory (akin to journalctl which
takes both --root and --directory) could help reduce boilerplate file
hierarchy. Or maybe something more declarative in the config files such as
BlockDevice=/dev/sdX so the configs only apply to specific devices.

I would love to hear opinions and suggestions on this.

Sincerely,
Mehmet Akbulut

-- 
This email contains information belonging to Motional AD LLC or its 
affiliates and may contain confidential, proprietary, copyrighted and/or 
privileged information. Any unauthorized review, use, reliance, disclosure, 
distribution or copying is prohibited. If you are not the intended 
recipient, immediately destroy all copies of the original email and any 
attachments and contact the sender by reply email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20221116/19e714fc/attachment.htm>


More information about the systemd-devel mailing list