systemd-repart with multiple block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

It appears one could use --image /dev/sdX and spawn multiple instances of systemd-repart, one for each block device, however they all will read the configs from /.../repart.d/*. I could then use --root /special-dir-for-sdX to feed different sets of configs to the different instances. However this feels a bit unnatural and may be repart 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.

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.

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux