From Fedora Project Wiki
(initial version)
 
No edit summary
 
Line 3: Line 3:
|setup=An unused block device with a size of at least 1GiB is needed. If testing on a virtual machine, an additional virtual block device can be added with virt-manager. If testing on bare metal, it should be possible to create a loopback block device using losetup.
|setup=An unused block device with a size of at least 1GiB is needed. If testing on a virtual machine, an additional virtual block device can be added with virt-manager. If testing on bare metal, it should be possible to create a loopback block device using losetup.
|actions=
|actions=
# Execute <code> dnf install stratis-cli </code>
# Execute <code> dnf --enablerepo=updates-testing --refresh --best install stratis-cli </code>
# Create a Stratis pool by executing <code>sudo stratis pool create test1 /dev/BLOCKDEV</code> where BLOCKDEV is the unused block device created in setup.
# Create a Stratis pool by executing <code>sudo stratis pool create test1 /dev/BLOCKDEV</code> where BLOCKDEV is the unused block device created in setup.
# Create a filesystem from the pool by executing <code>sudo stratis fs create test1 filesystem1</code>
# Create a filesystem from the pool by executing <code>sudo stratis fs create test1 filesystem1</code>

Latest revision as of 07:29, 4 April 2018

Description

Stratis is a disk/filesystem management tool, like ZFS, Btrfs, or LVM.

Setup

An unused block device with a size of at least 1GiB is needed. If testing on a virtual machine, an additional virtual block device can be added with virt-manager. If testing on bare metal, it should be possible to create a loopback block device using losetup.

How to test

  1. Execute dnf --enablerepo=updates-testing --refresh --best install stratis-cli
  2. Create a Stratis pool by executing sudo stratis pool create test1 /dev/BLOCKDEV where BLOCKDEV is the unused block device created in setup.
  3. Create a filesystem from the pool by executing sudo stratis fs create test1 filesystem1
  4. Destroy the filesystem from the pool by executing sudo stratis fs destroy test1 filesystem1
  5. Destroy the Stratis pool by executing sudo stratis pool destroy test1

Expected Results

The following must be true to consider this a successful test run. Be brief ... but explicit.

  1. Steps #2-5 complete without error

Optional

Optionally provide hints for exploratory testing.