Skip to content

add support to destroy pool directly #957

Description

@yizhanglinux

I'm trying to destroy pool directly, but I've to destroy filesystem first, could we add support for such option?
Like add --force option?

[root@storageqe-62 ~]# stratis pool list
Name                           Total / Used / Free    Properties                                   UUID   Alerts
olympic         186.31 GiB / 1.13 GiB / 185.18 GiB   ~Ca,~Cr, Op   9f7343ef-6cce-452a-bedb-8079e5d95046         
stratis_howto       1.46 TiB / 1.78 GiB / 1.45 TiB   ~Ca,~Cr, Op   0a2ff1a5-dcb8-4d1e-8f3d-1c59fe92db35  
[root@storageqe-62 ~]# stratis pool destroy olympic
Execution failed:
stratisd failed to perform the operation that you requested. It returned the following information via the D-Bus: ERROR: filesystems remaining on pool. 

[root@storageqe-62 ~]# stratis daemon version
3.4.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions