this post was submitted on 29 Jul 2024
28 points (100.0% liked)

Linux

48688 readers
384 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'd appreciate a sanity check for what I'm planning to do later today.

I bought a minisforum um890 recently. It has 2 m.2 nvme ports. I have the system running nobara off one drive currently, the other is unfilled. The drive has file system encryption enabled.

I backed up the root folder of my system to a 128gb usb using backintime. I enabled encryption when asked.

I plan to install a second ssd, enable raid 0 striping on the 2 drives in bios, boot from a live USB, then install nobara onto the new raid storage.

After that, i should be able to reinstall backintime then restore my backup right?

you are viewing a single comment's thread
view the rest of the comments
[–] HouseWolf@lemm.ee 4 points 4 months ago (2 children)

As far as I'm aware there's currently no way to setup drives in RAID without wiping both of them.

I also haven't tried encrypting my home/boot drive but normally if I want to make a complete backup of a drive I use Clonezilla. It's saved my bacon many time including recently copying a HDD that was in the process of dying on me.

It might be easiest to just backup your home directory and reinstall Nobara to the drives after you'd set them up in RAID.

[–] aard@kyu.de 3 points 4 months ago (1 children)

If your install is using LVM (which anything installed over a bit more than a decade should be) you can set up the new second drive as a RAID with a missing device, add it as additional PV, use pvmove to move all PEs to the RAID, remove the old PV, and now add that disk to the RAID.

[–] GenderNeutralBro@lemmy.sdf.org 1 points 4 months ago (1 children)

Does that really work for RAID 0? Since RAID 0 is striped (with "zero" redundancy), I wouldn't expect an array with a missing device to work at all. But I can't say I've ever tried.

[–] aard@kyu.de 3 points 4 months ago

It should work - possible that it won't let you create a one disk raid 0, but creating a one disk raid 1 and then converting it to a two disk raid 0 should word. It's been years since I played with a pure raid 0 (don't see much sense in them), but managed conversion back then.

[–] possiblylinux127@lemmy.zip 1 points 4 months ago

On ZFS you can just setup a mirror