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

Computer Storage / Disk Partition/shaare/aqHzuQ

  • linux
  • linux

Computer Storage

  • Local → RAM / HDD / SSD

  • DAS (Direct Attached Storage)

    • USB HDD / DVD
  • SAN (Storage Area Network)

    • through iSCSI cable or fiber cable
    • PCI SAN cards / HBA cards
  • NAS (Network Attached Storage)

    • through network (TCP/IP) Samba, NFS

Disk Partition

  • df → disk info

  • fdisk → total & partition

  • fdisk -l → get info about partition

  • fdisk /etc/sdb → mount partition

    • n → new partition
    • w → write
  • mkfs.xfs /dev/sdb1

    • create file system
  • mkdir /data → create folder to mount partition

  • mount /dev/sdb1 /data

    • mount disk
  • nano /etc/fstab

    • mount new disk at startup
/dev/sdb1    /data    xfs    defaults    0    0
  • unmount /data

    • unmount disk
  • mount -a → read fstab and remount disk

3 months ago Permalien
cluster icon
  • IP Subnet Calculator :
  • File Display Commands / Filters / Text Processing Input : File Display Commands cat → Show entire content cat -A → Show non-printable characters more → Paginate output less → Same as more but allows navigatio...
  • Systemctl, process management : Basic System Info Commands uptime → time now, up since, numbers of users, load average hostname → ip hostname uname -a → current OS and kernel info w...
  • Apache and Nginx : Apache Web Server dnf install httpd nano /etc/httpd/conf/httpd.conf nano /var/www/html/index.html systemctl restart httpd systemctl stop firewalld N...
  • Filesystem check and disk cloning : fsck & xfs_repair → filesystem check fsck → ext2, ext3, ext4 xfs_repair → xfs only Made each boot & fix it df -T → check Unmount before fsck ...


(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