Bug 1823636
Summary: | guest-fstrim command do not work for discard disk due to Permission denied | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | qing.wang <qinwang> |
Component: | qemu-kvm | Assignee: | Virtualization Maintenance <virt-maint> |
qemu-kvm sub component: | Guest Agent | QA Contact: | qing.wang <qinwang> |
Status: | CLOSED DUPLICATE | Docs Contact: | |
Severity: | unspecified | ||
Priority: | unspecified | CC: | coli, jinzhao, juzhang, qzhang, virt-maint, xiagao |
Version: | 8.2 | ||
Target Milestone: | rc | ||
Target Release: | 8.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-14 07:02:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
qing.wang
2020-04-14 06:26:04 UTC
fstrim command may works well in guest. Did you try with selinux is permissive. It seems a duplicate of the following one. Bug 1747960 - selinux policy prevent guest-fstrim command executing Execute "setenforce 0" in guest ,this issue was gone. {"return": {"paths": [{"minimum": 512, "path": "/home/test", "trimmed": 6993920}, {"minimum": 4096, "path": "/boot", "trimmed": 910954496}, {"minimum": 4096, "path": "/", "trimmed": 13862920192}]}} *** This bug has been marked as a duplicate of bug 1747960 *** |