11/10/2022 0 Comments Wipefs exampleThis can be achieved by executing a command with the below syntax: sudo stratis fs create įor example: sudo stratis fs create pool_1 filesystem-1 With the pool created, you can proceed and create a filesystem on it. Verify the creation: $ sudo stratis pool list sudo stratis pool create -key-desc key-description my-pool block-device-1 block-device-2 You can still create an encrypted pool with multiple block devices. For example: sudo stratis pool create -key-desc key-description pool_3 /dev/sdf Here, key-description references to the kernel keyring created above. Now using the key, create an encrypted Stratis pool using the command with the syntax: sudo stratis pool create -key-desc key-description my-pool block-device $ sudo stratis key set -capture-key key-descriptionĮnter key data followed by the return key: Enter Key and press Enter But if you need to create an encrypted Stratis pool that secures your data, you have to perform the following:įirst, obtain the key set to use for the encryption. Creating an encrypted Stratis poolĪll the above methods are used to create an unencrypted Stratis pool. Pool_2 30 GiB / 45.64 MiB / 29.96 GiB ~Ca,~Cr b78ebb01-1142-4add-a3f9-57e2354b9d33įrom the above output, you can agree that the total size of the pool is equal to the sum of the individual block device sizes. Once created, list the pools: $ sudo stratis pool list sudo stratis pool create pool_2 /dev/sdc /dev/sdd /dev/sde To create a pool using multiple block devices, use the command with the syntax: stratis pool create device-1 device-2 device-nįor example, creating another pool with sdc, sdd, sde. Create a Stratis Pool using Multiple Block Devices Once created, verify this with the command: $ sudo stratis pool list For example stratis pool create pool_1 /dev/sdX Replace the pool-name with the desired name of the pool and block-device with the disk. To create a Stratis pool from one block device, use the command with the following syntax: sudo stratis pool create Create a Stratis Pool using One Block Device You need to wipe any file system, partition table ,or RAID signatures from all the block devices using the command with the syntax: sudoo wipefs -all block-device1 block-device2ĭepending on your preferences, you can create a Stratis pool using one of the methods below: A. Here we have 5 secondary disks sdb, sdc, sdd, sde,sdf each with a 10GB capacity. Jul 06 05:28:20 localhost.localdomain stratisd: stratis daemon version 2.4.2 st>Īs said earlier, a pool can be created using one or more block devices. Jul 06 05:28:20 localhost.localdomain systemd: Starting Stratis daemon. └─2487 /usr/libexec/stratisd -log-level debug Loaded: loaded (/usr/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Wed 05:28:20 EDT 5s ago Once installed, start and enable the Stratis service: sudo systemctl enable -now stratisdĬheck the status of the service: $ systemctl status stratisd #WIPEFS EXAMPLE INSTALL#Now install Stratis on Rocky Linux 8 | AlmaLinux 8 using the command: sudo dnf install stratisd stratis-cli stratis-cli – the command line tool for Stratis.stratisd daemon – the daemon responsible for creating and managing block devices as well as providing the DBUS API.Install Stratis on Rocky Linux 8 | AlmaLinux 8 In this guide, we will use several disks attached to the system. Block devices that are not in use/mounted.This guide works best with the following: #WIPEFS EXAMPLE HOW TO#This guide provides a detailed demonstration of how to configure Stratis Storage on Rocky Linux 8 | AlmaLinux 8. Normally the file systems are formatted to XFS. They are thinly provisioned and do not have a fixed total size. A pool can contain one or more file systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |