Managed Layered Storage
Informações Gerais:
Componentes do Stratis:
blockdev
- Block-Devices como discos e partições.
pool
- Composto por 1 ou mais block-devices. Tem um tamanho total fixo, igual ao sumatório dos seus componentes. (O stratis cria a diretoria /stratis/[Pool]/
para cada pool).
filesystem
- Cada pool pode ter um ou mais file-systems para armazenamento de ficheiros.
Block-Devices Suportados:
LUKS
LVM logical volumes
MDRAID
DM Multipath
iSCSI
HDDs and SSDs
NVMe devices
Comando Gerais:
# yum install stratisd stratis-cli
# systemctl enable --now stratisd
# wipefs --all [Block_Device]
Block-Devices:
Info:
# stratis blockdev
Pools:
Criação:
# stratis pool create [Pool] [Block-Device1]...[Block-DeviceN]
Delete:
# stratis pool destroy [Pool]
Info:
# stratis pool list
# stratis pool
Extend Existing pools:
# stratis pool add-data [Pool] [Block-Device1]...[Block-DeviceN]
File-Systems:
Criação:
# stratis fs create [Pool] [FS-Name]
Delete:
# stratis filesystem destroy [Pool] [FS-Name]
Info:
# stratis fs list [Pool]
# stratis filesystem
Snapshots:
# stratis fs snapshot [Pool] [FS-Name] [Snapshot-Name]
Permanent mount /etc/fstab options:
defaults,x-systemd.requires=stratisd.service
Last updated
Was this helpful?