Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can NDM filter disk by size? #697

Open
AmazingPangWei opened this issue Jul 5, 2023 · 0 comments
Open

Can NDM filter disk by size? #697

AmazingPangWei opened this issue Jul 5, 2023 · 0 comments

Comments

@AmazingPangWei
Copy link

Describe the problem/challenge you have

There are some small disks in my servers as shown below:

root@pw1:~# kubectl get blockdevice -n openebs -o wide
NAME                                           NODENAME   PATH        FSTYPE    SIZE      CLAIMSTATE   STATUS     AGE
blockdevice-00b957b76b174b291a1b54f550cd6b3f   pw3        /dev/sda1             1048576   Unclaimed    Active     41m
blockdevice-4b45daa4707f615405b4b89d5f2517d7   pw1        /dev/sdc    iso9660   1048576   Unclaimed    Inactive   41m
blockdevice-89850b655d0bcfad17e66052f6140645   pw2        /dev/sdc    iso9660   1048576   Unclaimed    Inactive   40m
blockdevice-f37242ca8e72c22d565558816dcae6ae   pw3        /dev/sdc    iso9660   1048576   Unclaimed    Inactive   40m

But I want to filter them, because I never use these disks. I didn't find out any docs about how I work out this issue, so I need help.

Describe the solution you'd like

Filter disks by size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant