Howto stratis storage: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
to list file systems within the pool:
to list file systems within the pool:
  stratis filesystem list
  stratis filesystem list
to remove a filesystem on pool:
stratis filesystem destroy workstation boot

Revision as of 07:49, 18 September 2020

first we identify the disk:

lsblk

next we clean any partition on this disk:

wipefs -a /dev/nvme0n1

create the stratis pool:

stratis pool create workstation /dev/nvme0n1

to check the list of block devices part of stratis on your system:

stratis blockdev list

to list all pools on your system:

stratis pool list

to add a new disk or block device to the existing pool:

stratis pool add-data workstation /dev/sdd

to create a stratis file system on an existing pool:

stratis filesystem create workstation boot
stratis filesystem create workstation root

to list file systems within the pool:

stratis filesystem list

to remove a filesystem on pool:

stratis filesystem destroy workstation boot