SYSTEMD-CLONESETUP(8)
π SYSTEMD-CLONESETUP π
okay bestie, so you know how we're always out here cloning disks like it's nothing? yeah. this is that. we're talking systemd-clonesetup and its lil service buddy systemd-clonesetup@.service β together they set up and tear down dm-clone devices. it's giving disk-clone main character energy, fr fr. π¦
β¨ NAME β¨
systemd-clonesetup, systemd-clonesetup@.service β besties who set up and tear down dm-clone devices. no cap. π
πΈ SYNOPSIS πΈ
systemd-clonesetup add NAME SOURCE-DEVICE DEST-DEVICE META-DEVICE
[OPTIONS]
systemd-clonesetup remove NAME
systemd-clonesetup@.service
like. that's it. that's the whole vibe check. π
π DESCRIPTION π
so systemd-clonesetup is literally the tool that does the two things you need a clone device to do:
addβ sets up (β¨ creates β¨) adm-clonedeviceremoveβ tears it down (π bye bestie)
and the way you'll mostly meet it is through systemd-clonesetup@.service units β those don't just appear out of nowhere, they get generated from /etc/clonetab by systemd-clonesetup-generator(8). it's a whole pipeline and honestly? iconic. π
okay now the positional arguments β NAME, SOURCE-DEVICE, DEST-DEVICE, META-DEVICE and OPTIONS β these mean exactly the same thing as the fields of the same names in clonetab(5). same energy, same meaning, no surprises. π€
and about OPTIONS: right now the only supported option is region-size=BYTES, where BYTES is measured in bytes. and yes queen, standard suffixes like "K", "M" and "G" are supported, so you can absolutely write region-size=4M and be fine. π
ngl, don't go inventing options in there β region-size=BYTES is the whole menu rn. π
π SEE ALSO π
go read those too, bestie, they're all part of the lore. πβ¨
and that's the page!! brought to you by systemd version 262.1 β yeah, 262.1, remember it for the quiz π thanks for reading my whole yap session, you're literally the best, mwah π«Άπ
π¦ where this page comes from
- arch rolling: systemd 262.1-1 Β· LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms