Skip to content

gontzalm/homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homelab

Personal homelab (Raspberry Pi 4) setup.

Hardware

  • Raspberry Pi 4B 8GB
  • NVMe SSD 1TB
  • Dual SATA HDD Bay with Hardware RAID
  • 2 x HDD 16TB

Platform Setup

  1. Install Arch Linux ARM (aarch64) on the SSD following the guides

  2. Install the HDDs in the bay and set up RAID1 mode for redundancy.

  3. Format the resulting logical drive with an ext4 partition.

    lsblk
    sudo fdisk /dev/sdb
    # create an ext4 partition using the default values
    sudo mkfs.ext4 /sdb1
  4. Automatically mount the drive by adding it to fstab.

    # Static information about the filesystems.
    # See fstab(5) for details.
    
    # <file system> <dir> <type> <options> <dump> <pass>
    UUID=036B-B429 /boot vfat defaults 0 0
    UUID=<hdd-uuid> /mnt/hdd ext4 defaults,nofail,x-systemd.device-timeout=5 0 2
  5. Change the ownership of the mounted drive.

    chown $USER:$USER /mnt/hdd

About

Personal homelab (Raspberry Pi 4) setup.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors