Configure LDAP Users with NFS Home Directories and autofs
Configure OpenLDAP users with NFS home directories using SSSD and autofs on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream.
Migrate an Existing LVM Root Filesystem to LUKS Online
Migrate an already-installed Ubuntu LVM root volume group onto a new LUKS2 physical volume with pvmove, then configure crypttab with initramfs, regenerate the initramfs, and update GRUB for boot-time unlock.
Enroll TPM2, FIDO2, and Recovery Keys on LUKS2 with systemd-cryptenroll
Use systemd-cryptenroll on LUKS2 volumes to add TPM2, FIDO2, PKCS#11, and recovery-key unlock methods, store token metadata in the LUKS2 JSON area, and wire boot unlock through crypttab.
How to Resize a LUKS Partition (Extend or Shrink) in Linux
Extend or shrink a LUKS2 ext4 volume on Linux: grow the partition first, run cryptsetup resize on the mapper, then resize2fs; for shrink, reverse the order with offline resize2fs and --size in 512-byte sectors.
How to Open and Unlock a LUKS Disk on Another Linux Machine
Unlock and mount a LUKS USB or moved disk on another Linux host: cryptsetup open by device, UUID=, or /dev/disk/by-uuid, ext4 or LVM inside LUKS, read-only rescue mount, and close the mapper.
Network-Bound Disk Encryption with Clevis and Tang on Linux
Configure LUKS NBDE with Clevis and Tang on RHEL/CentOS: two-VM lab with Tang server, LUKS root client, dracut rebuild, and video—boot without typing a passphrase when Tang is reachable.
How to Auto Mount and Unlock LUKS Encrypted Partitions at Boot
Configure crypttab and fstab to unlock and mount a secondary LUKS data partition at boot on Ubuntu or Debian.
How to Back Up and Restore a LUKS Header in Linux
Back up and restore a LUKS2 header with cryptsetup luksHeaderBackup and luksHeaderRestore, use a detached header file, and understand when a header copy cannot recover a forgotten passphrase.
Change LUKS Passphrase, Volume Key, and Cipher on Linux
Rotate LUKS passphrases and key slots, change cipher or volume key with cryptsetup reencrypt on LUKS2, and back up the header before destructive operations.
How to Encrypt a Disk Partition with LUKS in Linux
Encrypt a new Linux disk partition with LUKS2 using cryptsetup: partition the disk, run luksFormat, open the mapper, create ext4 on /dev/mapper, and mount the volume.
How to List Disks and Check Disk Type in Linux
Learn how to list disks in Linux and check disk type, HDD or SSD status, transport interface, model, serial number, partition table, and filesystem details with tested lsblk, sysfs, udevadm, lspci, lshw, fdisk, parted, …
How to clone or backup Linux partition using fsarchiver
Steps to backup partition in LInux, clone your partition or hard drive, logical volume using fsarchiver Exclude files and directories encrypt backup
2 easy methods to extend/shrink resize primary partition in Linux
Resize primary partition shrink and extend non lvm root, boot and other primary partition, change size of partition using unallocated free space fdisk & parted
How to configure iSCSI target on Ubuntu
In this tutorial I will share the steps to create iSCSI target using Ubuntu 22.04 VM installed on Oracle VirtualBox.
Advanced Tips to Improve Disk IO Performance in Linux
Explore comprehensive strategies to improve disk IO performance, from optimizing kernel parameters to leveraging virtualization tools. Unlock the full potential of your system and achieve faster, more efficient disk …
Create & Manage Striped Logical Volume Linux [Step-by-Step]
How to create striped logical volume, How to convert striped to linear logical volume and vice versa, How to extend the size of existing striped logical volume
Step-by-Step Tutorial: Configure Hybrid Software RAID 10 in Linux
Steps to configure hybrid software raid 10 (1+0) in Linux with examples. Hybrid RAID 1+0 results from the combination of RAID-0 and RAID-1 Array in Linux.
Create Mirrored Logical Volume in Linux [Step-by-Step]
LVM supports mirrored volumes. A mirror maintains identical copies of data on different devices. LVM ensures that data written to an underlying physical volume is mirrored onto a separate physical volume.
Manage Logical Volume in Linux - One STOP Solution
The Logical Volume Manager is a collection of one or more physical devices called Volume Group (VG), each physical device on the VG called a Physical Volume (PV)
Step-by-Step Tutorial: Configure software Linear RAID 0 in Linux
Steps to configure software raid with linear raid which is similar with RAID 0 but in Linear RAID the data is stored in linear format instead of stripping
Step-by-Step Tutorial: Configure Software RAID 0 in Linux
Steps to configure software raid 0 with examples in linux. With RAID 0 there is no data redundancy as the data is stored in strips but this has better speed.
Step-by-Step Tutorial: Configure Software RAID 1 in Linux
Steps to configure software raid 1 mirroring in linux with and without spare disk with examples in RHEL, CentOS and other Linux distros using mdadm (see [mdadm command](/mdadm-command-in-linux/)).
How to mount filesystem in certain order one after the other in CentOS/RHEL
Mount filesystem in certain order during reboot one after the other using systemd unit file or /etc/fstab using RequiresMountsFor x-systemd.requires- mounts-for
Linux lvm snapshot backup and restore tutorial RHEL/CentOS 7/8
Step by step guide linux lvm snapshot backup and restore with examples RHEL/CentOS 7/8. Create, merge, extend, remove LVM snapshot. backup root file system
Beginners guide to how LVM works in Linux (architecture)
LVM stands for Logical Volume Manager which is made up of Physical Volume, Volume Group ad Logical Volume. It can be easily extended or even reduced at times
Step-by-Step Tutorial: Configure Software RAID 4 in Linux
Step by Step Guide to configure software raid 4 in Linux using examples. RAID-4 stripes block-sized chunks of data across each drive in the array marked as ..
How to create filesystem on a Linux partition or logical volume
Steps to create filesystem on a linux partition of on a logical volume using mkfs. Create mount point and mount the filesystem to access and store the data.
5 easy steps to resize root LVM partition in RHEL/CentOS 7/8 Linux
Steps to resize root LVM partition. Increase or decrease root logical volume partition size with examples in RHEL/CentOS 7/8 Linux. Extend or shrink root LVM
How to configure iSCSI target and initiator on CentOS/RHEL 7/8 Linux
How to configure iscsi target and initiator multipath SAN on CentOS / RHEL 7 Linux. Configure iscsi target with targetcli and initiator with iscsiadm
Tutorial: What is GlusterFS shared storage and types of volumes
What is GlusterFS Tutorial Replication Types of Volumes. Distributed Volume Replicated Volume. RHEL CentOS 8 glusterfs shared storage. gluster file system linux






