Implement Advanced Storage in RHEL - RHCSA (RH134).pdf

support8872 469 views 11 slides Sep 28, 2024
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

Slides on how to implement advanced storage features - Part of RHCSA (RH134) syllabus


Slide Content

Implement Advanced Storage
Features

Overview of Stratis

●Storage management solution that simplifies managing storage
pools and filesystems
●Uses thin provisioning by default

●Thin provisioning: Optimizes storage by allocating space as needed,
reducing wasted space

●Combines LVM and filesystem creation into a single process
●Automatically extends filesystems when space is available, unlike
LVM which requires manual extension

Source:Storage management solution in RHEL 8 that simplifies the creation and management of storage pools and filesystems

Stratis Daemon(Stratisd)
Manages and coordinates Stratis storage tasks such as creating and
managing pools, filesystems, and snapshots

Features:

●Automates filesystem resizing when space is available

●Supports snapshot creation for easy backup and recovery

●Handles thin provisioning to optimize storage usage

Stratis Setup and Management
Install stratis and stratisd in the system
●Command: yum install stratis-cli stratisd -y

Enable the stratis daemon service
●Command: systemctl enable stratisd
Start the service
●Command: systemctl start stratisd

Check the status of the service
●Command: systemctl status stratisd

Create a new stratis pool for mounting file system
●Command: stratis pool create <pool-name> <storage-device-name>
Verify the disks in system
●Command: lsblk

Adding disks to the pool to extend the file system automatically
●Command: stratis pool add-data <pool-name><storage-device-name>
To verify whether the pool is created or not
●Command: stratis pool list

Creating a new directory for mounting file system.
●Command: mkdir <directory-name>
To create a new file system in pool
●Command: stratis filesystem create <pool-name> <file-system-name>

Create snapshot of the file system to save its state
●Command: stratis filesystem snapshot <pool-name> <file-system-name>
<snapshot-name>
Mount the file system to the directory
●Command: mount/dev/stratis/<pool-name> <file-system-name>
<directory-name>