Category

Storage Management and File System Tutorials

Learn storage management including LVM, partitions, file systems, and disk optimization techniques for Linux systems.

The Storage section covers disk management and file system operations in Linux.

These tutorials help you work with LVM, quotas, snapshots, high-availability storage, and filesystem tuning on enterprise and lab systems.

Browse the articles below for practical storage administration guides.

Explore Linux for related command references.

34 articles

Storage category illustration with disks, LVM, and file system graphics
storage

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, …

Deepak Prasad11 min read
storage

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

Deepak Prasad9 min read
storage

How to Encrypt New Hard Disk (Partition) using LUKS in Linux

How to encrypt hard disk using LUKS in Linux. LUKS is the Linux encryption layer to secure hard disk. Using cryptsetup luksopen to encrypt partition in Linux

Deepak Prasad12 min read
storage

How to auto mount and unlock LUKS Encrypted Partitions at Boot using crypttab

Steps to auto mount LUKS device using key with passphrase in fstab and crypttab in Linux. Boot LUKS encrypted partition without password using luks passphrase

Deepak Prasad10 min read
storage

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

Deepak Prasad17 min read
storage

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.

Deepak Prasad8 min read
storage

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 …

Deepak Prasad17 min read
storage

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

Deepak Prasad12 min read
storage

How to encrypt root partition and entire file system using LUKS in Linux

Steps to encrypt root partition and entire filesystem using LUKS in Linux. Encrypt volume group and physical volume with cryptsetup CentOS/RHEL 7/8 Migrate Data

Deepak Prasad6 min read
storage

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.

Deepak Prasad8 min read
storage

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.

Deepak Prasad10 min read
storage

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)

Deepak Prasad18 min read
storage

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

Deepak Prasad11 min read
storage

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.

Deepak Prasad4 min read
storage

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.

Deepak Prasad9 min read
storage

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

Deepak Prasad9 min read
storage

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

Deepak Prasad18 min read
storage

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

Deepak Prasad12 min read
storage

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 ..

Deepak Prasad5 min read
storage

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.

Deepak Prasad5 min read
storage

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

Deepak Prasad8 min read
storage

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

Deepak Prasad8 min read
storage

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

Deepak Prasad6 min read
storage

Configure LUKS Network Bound Disk Encryption with clevis & tang server

Configure Network Bound Disk Encryption (NBDE) based LUKS Disk Encryption using Clevis and tang Server in CentOS/RHEL 7/8 Linux Boot without password clevis key

Deepak Prasad9 min read
storage

5 easy steps to recover LVM2 partition, PV, VG, LVM metdata in Linux

Steps to recover LVM2 partition accidently deleted or removed. Restore PV (physical volume), restore VG (volume group) and restore LVM metadata in Linux

Deepak Prasad11 min read
storage

How to change LUKS device master key, cipher, hash, key-size in Linux

Steps to change LUKS device master key, cipher, key-size and hash in Linux using cryptsetup and cryptsetup-reencrypt. Backup and Restore LUKS Device

Deepak Prasad8 min read
storage

Step-by-Step Tutorial: Configure Software RAID 5 in Linux

Steps to configure software raid 5 array in Linux using mdadm. RAID 5 is similar to RAID-4, except the parity info is spread across all drives in the array.

Deepak Prasad6 min read
storage

How to boot Linux host from LVM snapshot using BOOM (CentOS/RHEL 8)

Step by Step guide to boot CentOS/RHEL 8 or 7.5 and higher Linux with LVM snapshot using BOOM. with examples. Merge LVM snapshot and delete boom profile later.

Deepak Prasad8 min read
storage

Overview on different disk types and disk interface types

different disk types, different disk interface types. HDD vs SSD vs Optical Disks. Learn all about SCSI, IDE, ATA, SATA, Fibre Channel disk interface types

Deepak Prasad6 min read
storage

DRBD Tutorial | Setup Linux Disk Replication | CentOS 8

Step-by-Step DRBD Tutorial to install and configure DRBD Storage device on CentOS 8. Perform Linux disk replication runtime. How to perform DRBD configuration

Deepak Prasad14 min read