Delete Set public Set private Add tags Delete tags
  Add tag   Cancel
  Delete tag   Cancel
  • • DevOps notes •
  •  
  • AI
  • Tags
  • Login

Stratis/shaare/XNOa6Q

  • linux
  • linux

Stratis → advanced storage management

  • Extend filesystem automatically when needed

  • dnf install stratis-cli stratisd

  • dnf makecache --refresh

    • Update latest package list for DNF
  • systemctl start stratisd

  • systemctl enable stratisd

    • Start daemon
  • lsblk

    • List block device
  • stratis pool create pool1 /dev/sdb

    • Create pool with /dev/sdb
  • stratis pool list

    • Show pool list
  • stratis pool add-data pool1 /dev/sdc

    • Extend pool1 with /dev/sdc

Stratis Filesystem

  • stratis filesystem create pool1 fs1

    • Create filesystem using Stratis
  • stratis filesystem list → get UUID

    • Verify filesystem creation
  • mkdir /bigdata

  • mount /stratis/pool1/fs1 /bigdata

    • Mount Stratis disk to /bigdata
  • stratis filesystem snapshot pool1 fs1 fs-snap

    • Make a snapshot
  • nano fstab

UUID="a313..."   /bigdata   xfs   defaults,x-systemd.requires=stratis.service   0 0
  • Startup mount

RAID (Redundant Array of Independent Disks)

  • RAID0 → add physical disk to make big one
  • RAID1 → mirror (slow)
  • RAID5 → 3 or more disks
    • Read & write a little on every disk
2 months ago Permalink
cluster icon
  • Screen & Tmux : Screen (Terminal Multiplexer) Multi-terminal sessions in one window Alt+a | → split vertical Alt+a Shift+s → split horizontal Alt+a Tab → switch wind...
  • Alias and command history : alias l="ls -al" → define alias unalias l → remove alias Persistent Alias Config User-specific: ~/.bashrc Global: /etc/bashrc Add: alias l="ls -a...
  • Logical Volume Management (LVM) : LVM (Logical Volume Management) Combine disk together by software Add new HDD on the fly to extend disk space Set LVM in Linux install Desired...
  • Basic File Commands / File Search Commands : touch one two three → Create 3 files mkdir folder → Make directory mv -R / cp -R → Move or copy folder including subfolders find . -name "geor...
  • Kickstart – Automate Linux Install : Kickstart server Make Kickstart available on the network Make installation source available Make boot media available Start Kickstart instal...


(97)
Filter untagged links
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community