Aaron Toponce ⚛️:debian: on Nostr: I hate doing storage administration on my personal hardware. I want to replace a ...
I hate doing storage administration on my personal hardware.
I want to replace a failing SSD in my laptop with a RAID1 (there are two slots). But I have an encrypted LVM for root.
# mdadm -C /dev/md0 ...
# parted /dev/md0 ...
# cryptsetup luksFormat ...
# pvcreate ...
# vgextend ...
# pvmove --atomic ...
# vgreduce ...
# lvextend -l 100%FREE -r ...
# cryptsetup luksUUID ... > /etc/crypttab
# vim /etc/crypttab
# vim /etc/default/grub
# update-grub
I think that's it. Wish me luck.
#linux
Published at
2025-09-29 03:21:57 UTCEvent JSON
{
"id": "2cec778147982ff05a9dbc17f70182866a25f724852cad7f6beee813519f0988",
"pubkey": "597022b3c20de92675ad38e490aa9b80cda1beed34e044ecc73d8e00c42c63eb",
"created_at": 1759116117,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@atoponce/115285433890298014",
"web"
],
[
"t",
"linux"
],
[
"proxy",
"https://fosstodon.org/users/atoponce/statuses/115285433890298014",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/atoponce/statuses/115285433890298014",
"pink.momostr"
],
[
"-"
]
],
"content": "I hate doing storage administration on my personal hardware.\n\nI want to replace a failing SSD in my laptop with a RAID1 (there are two slots). But I have an encrypted LVM for root.\n\n# mdadm -C /dev/md0 ...\n# parted /dev/md0 ...\n# cryptsetup luksFormat ...\n# pvcreate ...\n# vgextend ...\n# pvmove --atomic ...\n# vgreduce ...\n# lvextend -l 100%FREE -r ...\n# cryptsetup luksUUID ... \u003e /etc/crypttab\n# vim /etc/crypttab\n# vim /etc/default/grub\n# update-grub\n\nI think that's it. Wish me luck.\n\n#linux",
"sig": "32a889765f32b45d4e8835cc30a59ff87256f203c61c805f87bfb3acd90a89884f897715333b0ee476f682108f36312a5be242ee88da9a0e551a45b0f2ecf2b4"
}