Remove a Stratis pool

You can remove an existing Stratis pool. Data stored on it are lost.

Before you begin

Procedure

  1. List file systems on the pool:
    # stratis filesystem list my-pool
  2. Unmount all file systems on the pool:
    # umount /dev/stratis/my-pool/my-fs-1 \
             /dev/stratis/my-pool/my-fs-2 \
             /dev/stratis/my-pool/my-fs-n
  3. Destroy the file systems:
    # stratis filesystem destroy my-poolmy-fs-1my-fs-2
  4. Destroy the pool:
    # stratis pool destroy my-pool

Results

  • Verify that the pool no longer exists:
    # stratis pool list