Bug 1305795 - Set chattr +C /var/lib/libvirt/images during libvirt installation
Summary: Set chattr +C /var/lib/libvirt/images during libvirt installation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-09 09:25 UTC by Peter Kotvan
Modified: 2021-08-18 09:56 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-18 09:56:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Peter Kotvan 2016-02-09 09:25:19 UTC
Description of problem:
This is more of a suggestion. During the installation of libvirt the /var/lib/libvirt/images directory is created as a default place for virtual machines images. In case of installing on a system with COW filesystem such as btrfs or zfs one should disable copy-on-write on directories that will contain the images to avoid low IO performance.

This could be achieved by executing

chattr +C /var/lib/libvirt/images/

in postscript.

Comment 1 Daniel Berrangé 2021-08-18 09:56:44 UTC
Libvirt now makes storage pools nocow when on btrfs automatically


Note You need to log in before you can comment on or make changes to this bug.