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

how to clean/reset IO class? #1443

Open
zyb521 opened this issue Feb 9, 2023 · 0 comments
Open

how to clean/reset IO class? #1443

zyb521 opened this issue Feb 9, 2023 · 0 comments
Labels
question Further information is requested

Comments

@zyb521
Copy link

zyb521 commented Feb 9, 2023

Question

I have load a ioclass-config.csv,but i don't find the way to clean/reset it in the Admin Guide.
Is there any other reference document?

thanks all.

# cat ioclass-config.csv
IO class id,IO class name,Eviction priority,Allocation
0,unclassified,22,0
1,request_size:le:131072,1,1

# casadm -C -L -i 1
╔═════════════╤════════════════════════╤═══════════════════╤════════════╗
║ IO class id │     IO class name      │ Eviction priority │ Allocation ║
╠═════════════╪════════════════════════╪═══════════════════╪════════════╣
║           0 │ unclassified           │                22 │       0.00 ║
║           1 │ request_size:le:131072 │                 1 │       1.00 ║
╚═════════════╧════════════════════════╧═══════════════════╧════════════╝

now i delete the ”1“ class,then reload the ioclass-config.csv

casadm -C -L -i 1
╔═════════════╤═══════════════╤═══════════════════╤════════════╗
║ IO class id │ IO class name │ Eviction priority │ Allocation ║
╠═════════════╪═══════════════╪═══════════════════╪════════════╣
║           0 │ unclassified  │                22 │       0.00 ║
╚═════════════╧═══════════════╧═══════════════════╧════════════╝

So io class not take effect at this time?

@zyb521 zyb521 added the question Further information is requested label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant