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?

4 points

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.

permalink
report
reply
1 point

On ZFS you can just setup a mirror

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
3 points

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.

permalink
report
parent
reply
10 points

I’ve gotta ask, why RAID 0? I can’t think of a use case for that outside of very specific high IO applications in a server farm or something.

permalink
report
reply
8 points
*
Deleted by creator
permalink
report
parent
reply
6 points

Oh for sure it made sense back in the HDD days, but with NVMe SSDs it’s not needed for most people anymore.

permalink
report
parent
reply
1 point

Use LVM, it will give you all the features of RAID 0 and more (encryption, migration, snapshotting, multiple volumes, etc)

permalink
report
parent
reply
1 point
*

For what its worth browsing directories full of hundreds to thousands of 4k images with previews is seamless : )

permalink
report
parent
reply
2 points

Not sure what motherboard you have: Most consumer boards only support “FakeRAID”, which requires a kernel driver to actually function. Good luck finding a vendor who wrote a driver for Linux.

I’d definitely recommend software RAID instead, as you’ll have better support. I like btrfs, so I’d recommend you set up your new drives to use a btrfs RAID configuration. mdadm is another option, if you really like ext4.

permalink
report
reply
1 point

Backing up / in it’s entirety might cause issues since there will be a lot of special files and crossed mount points. You should probably exclude /proc and any system folders from the backup. See: https://github.com/bit-team/backintime/blob/dev/FAQ.md#does-back-in-time-support-full-system-backups

Since you’re planning to start with a clean Nobara install, you can probably exclude those during the restore step. Just be careful not to restore files that are in active use by the running system.

Have you tested restoring from your backup? Can you do it from the liveUSB?

permalink
report
reply
4 points

Personally I would take this opportunity to segregate /home and / on two distinct SSDs. You can upgrade them separately in the future, optimize each of them for different purposes, you can fuff around with system partitions and trying new distros and whatnot without touching home etc.

There’s nothing outstanding to gain from RAID0 if you don’t need the increase in speed. You could make an argument for RAID1 but unless you actually need 100% availability, again, not worth the complications. Take frequent backups (preferably incremental) and that’s it.

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 7.7K

    Monthly active users

  • 3.6K

    Posts

  • 45K

    Comments