Guy Hokanson
Guy Hokanson
  • 7
  • 1 402
Create A Basic RAID1 Array on Linux
How to create a basic RAID 1 array on Linux. We use Linux Mint 21.3 to create a 1 TB mirrored array using the command line.
Commands/Steps used in this video:
1) Open terminal
2) List block devices
lsblk
3) Choose devices for array
/dev/sdb and dev/sdc
4) Check RAID status
cat /proc/mdstat
5) Create Array
mdadm --create --verbose /dev/md1 --level=1 --raid-devices=2 /dev/sdb /dev/sdc
6) Check RAID status
cat /proc/mdstat
7) Create a filesystem
mkfs.ext4 /dev/md1
8) Create a mount point
mkdir -p /mnt/md1
9) Mount the drive
mount /dev/md1 /mnt/md1
10) Check if mounted
df -h -x tmpfs
11) Save array layout
mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf
12) Check if saved
cat /ect/mdadm/mdadm.conf
13) Update the initramfs, or initial RAM file system
update-initramfs -u
14) Add the new filesystem mount option to the /etc/fstab file for automatic mounting at boot:
echo '/dev/md1 /mnt/md1 ext4 defaults,nofail,discard 0 0' | sudo tee -a /etc/fstab
15) Find UUID
blkid
16) Change fstab to UUID
nano /etc/fstab
มุมมอง: 59

วีดีโอ

Create a Linux USB Install Disk from Windows
มุมมอง 3521 วันที่ผ่านมา
Create a Linux (In this case Ubuntu) USB Install Disk from Windows using Rufus. Rufus is available here rufus.ie/en/
Create A USB Startup/Install Disk from Linux Ubuntu/Mint
มุมมอง 67หลายเดือนก่อน
A demonstration of creating a USB Linux installer using the Start-up Disk Creator application found in Ubuntu/Debian based distributions.
What's inside a cheap membrane keyboard.
มุมมอง 47หลายเดือนก่อน
Opening an unwanted membrane keyboard to see what is inside. This one was too narrow with and odd key placement so no one really wanted to use it so I thought I would practice a bit of haruspicy and inspect a keyboard's innards.
What is inside a 4TB hard drive.
มุมมอง 89หลายเดือนก่อน
Opening a 4TB WD hard drive to remove the platters for schreding.
2014 MacBook Pro SSD Replacement
มุมมอง 102หลายเดือนก่อน
Just a quick one for those who need to open a 2014 MacBook Pro to service the SSD. You'll need a Pentalobe PL4 and a T5 Torx screwdriver and maybe a spudger if you don't have nails. The information in this video is intended demonstration purposes and is not to replace or serve as a substitute for any professional service or warranty work. Results may vary, open at your own risk, don't tell your...
Fixing the Spyder Installation on Linux Mint
มุมมอง 1Kปีที่แล้ว
Here is a simple way to get the Spyder Python IDE to run on Linux Mint 21. Menu Item example. [Desktop Entry] Name=Spyder 5 Comment=IDE for Python3. Exec=/usr/local/bin/spyder %F TryExec=/usr/local/bin/spyder Icon=/usr/local/lib/python3.10/dist-packages/spyder/images/spyder.svg Terminal=false Type=Application Categories=Application;Development; StartupNotify=true MimeType=text/x-python;

ความคิดเห็น

  • @jamesm1636
    @jamesm1636 ปีที่แล้ว

    Thank you very much for this guide. It is much needed since the Linux Mint Software Manager does not create a proper installation. Your video provides clear instruction and was easy to follow. I only use Linux Mint and need Spyder and now it works on my PC, thanks to your efforts.

  • @eze-ar
    @eze-ar ปีที่แล้ว

    Man, you've saved my Linux hahaha. Thanks!

  • @Predatorsfishing
    @Predatorsfishing ปีที่แล้ว

    Hi, many thanks for the tutorial. I was not able to update permissions on distribution packages I got the following chmod: cannot access '/usr/local/lib/python3.10/dist-packages/*': No such file or directory

    • @Predatorsfishing
      @Predatorsfishing ปีที่แล้ว

      Reworked it and runs fine thanks!!! 😛😛😛

    • @GuyHokanson
      @GuyHokanson ปีที่แล้ว

      Perhaps you have a different version of Python than 3.10? If so, the path would be different.