![]() |
Finally... New PC - LL3.0 - BTRFS~RAID10 - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: General (https://www.linuxliteos.com/forums/forumdisplay.php?fid=4) +--- Forum: On Topic (https://www.linuxliteos.com/forums/forumdisplay.php?fid=14) +--- Thread: Finally... New PC - LL3.0 - BTRFS~RAID10 (/showthread.php?tid=3201) |
Finally... New PC - LL3.0 - BTRFS~RAID10 - Wirezfree - 08-03-2016 Finally I got time to do my new pc based on ASRock N3700 Mobo Used "btrfs" and 4 X Drives for "RAID10 or 1+0" allows for 2 of 4 drive failures, Striped Mirrors. inxi: Code: System: Host: asrock1 Kernel: 4.4.0-31-generic x86_64 (64 bit) Code: sudo btrfs filesystem show / Code: sudo btrfs filesystem usage -H / Built in the smallest case I could find with a single 5.25" inch bay to take the 4 X 2.5" drive bay adaptor.((DVD Case for comparative size)) Sorry, picture not great, from my phone, you can just make out the 4 Drives bays, you can open and change drives. ![]() Here's the "How I Did It" ~ Install "LL-BTRFS - RAID10 ~ 4 Disks" This is based on info from various sources, did test in Virtualbox first. Boot LL Live from USB/CD/DVD First open a terminal and do a Code: ll /dev/sd Then Create Disk Partition(s) (see note at end on swap**) Open "gparted" and select 1st disk, "sda" Then go: Device > Create Partion Table, select "DOS" Then create a "single partitition on each of the sdX's, "DO NOT" select file system type and leave "unformatted" repeat this for each of the disk: sdb & sdc and sdd. ((btrfs automatically created a /home)) Next Create File System & RAID for installation. Open a terminal. (ctrl+alt+t) Code: sudo mkfs.btrfs -L RAID10 -m raid10 -d raid10 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 Start installation, at the where to install, make sure to select "Other" Just make selection "change" to install on the1st drive "sda1 = /" >> DO NOT TICK FORMAT << Select use as "btrfs file system" You only need to select the first disk partion "sda1" for "/" and "sda2" if you created "swap" Click the "Install Now" button. ((btrfs will know to install to all 4 drives)) Click "Continue" to the various dialogue box's about partitions... At GRUB dialogue box, you will get "Errors", select "Continue" without installing, When install finishes, select "Continue Testing". Then: Open a terminal. (ctrl+alt+t) Code: sudo mount -t btrfs -o subvol=@ /dev/sda1 /target Close any open terminals. Shutdown, remove the LL boot disk, and re-boot. All being well you should now be in LL, and on Btrfs RAID 10. "NOTE" - There is an Ubuntu bug that "may" give an error at boot on btrfs, I did not get the error, but to fix it: Code: gksu leafpad /etc/grub.d/00_header Edit line that starts with: if [ -n “\${have_grubenv} and change it to: # if [ -n “\${have_grubenv} Then save & exit and re-boot. To check basics, open a terminal. (ctrl+alt+t) Code: sudo btrfs filesystem show Carry on with your normal set-up. **swap If you have 4GB or more of memory, you probably don't need swap for general Desktop use. If less than 4GB, create a swap, larger then your memory, say 1.5X or 2X memory. Re: Finally... New PC - LL3.0 - BTRFS~RAID10 - LL-user - 08-03-2016 Great stuff, Dave! Thanks for sharing ![]() |