Supprimer Rendre public Rendre privé Add tags Delete tags
  Ajouter un tag   Annuler
  Supprimer le tag   Annuler
  • • DevOps notes •
  •  
  • Tags
  • Connexion

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
5 months ago Permalien
cluster icon
  • Linux filesystem : Directory Description /boot Grub.cfg /root home of root /dev system device (mouse, keyboard) /etc configuration files /bin → /usr/bin e...
  • Special Permissions (SetUID, SetGID, Sticky Bit) : chmod u+s xyz.sh → add SetUID (user-level special permission) chmod g+s xyz.sh → add SetGID (group-level special permission) chmod u-s xyz.sh → remov...
  • Bash : First Line of Script #!/bin/bash → defines the shell interpreter Comments Use # for commenting Common Elements Commands: echo, cp, etc. Statement...
  • Ftp Scp Rsync : FTP Install FTP server yum install vsftp nano /etc/vsftpd/vsftpd.conf anonymous_enable=NO Uncomment: ascii_upload_enable ascii_download_enabl...
  • 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...


(110)
Filtrer par liens sans tag
Replier Replier tout Déplier Déplier tout Êtes-vous sûr de vouloir supprimer ce lien ? Êtes-vous sûr de vouloir supprimer ce tag ? Le gestionnaire de marque-pages personnel, minimaliste, et sans base de données par la communauté Shaarli