this post was submitted on 01 Aug 2024
25 points (100.0% liked)

Linux

48078 readers
828 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
 

First of all, thanks to everyone who came out and offered their suggestions and advice yesterday when I asked about setting up my UM890 from minisforum in RAID0.

Many called me mad for going for RAID0 here but ... shrug its not my only computer so I'm ok being a bit risky here.
My original plan was to backup, set up the drives in raid, install nobara on the raid array, and ride off into the sunset.

That was a bad plan.

Timeshift froze while backing up, and worse, back in time froze while restoring.
Repeatedly.
Even when booting from a live usb and without enabling RAID.
Wasted several hours trying variations of that ... my USB drive is kinda slow.

On my last post someone suggested I simply add the new drive to an existing btrfs file system, then switch to a raid0 profile.
That was a good plan, and ultimately what I ended up doing after my plan failed.

Resources :
https://wiki.tnonline.net/w/Btrfs/Adding_and_removing_devices
https://www.ubuntumint.com/add-new-device-to-btrfs-file-system/
https://serverfault.com/questions/213861/multi-device-btrfs-filesystem-with-disk-of-different-size

Commands I ran on my machine :
sudo fdisk -l
sudo lsblk
sudo mkdir /mnt/drive1
sudo btrfs device add /dev/nvme1n1 /mnt/drive1 -f
btrfs filesystem df /
sudo btrfs balance start -dconvert=raid0 /

Performance
In case the image doesn't show, 6230MBps Seq Read, 758Mbps 4k Rnd Read, 4496MBps Seq Write, 292.6 4k Rnd Write.
6229 read 4497 write

PS
Even though my restore failed, the files were all there so I didn't lose anything , I just had to reinstall all my programs and such.
Also enable nvme raid in the BIOS before you do anything else.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here