|
Bugzilla – Full Text Bug Listing |
| Summary: | BTRFS root partition should have a /var/lib/mysql subvolume | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Robert Munteanu <rombert> |
| Component: | Installation | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aschnell, bwiedemann, chcao, dsterba, jreidinger, mpluskal |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Robert Munteanu
2015-06-22 11:59:02 UTC
I thought, it was usually recommended to run databases on XFS or ext3/4 (but I guess, yast does not propose that yet) /var/lib/pgsql should be handled the same anyway. and there are many other candidates in /var/lib that you dont want rolled back, such as /var/lib/libvirt/images I filed this request since there are already subvolumes in /var/lib - /var/lib/mailman - /var/lib/pgsql - /var/lib/named and I assumed the partitioner aims to create as many meaningful default subvolumes. There are indeed some more, like /var/lib/libvirt/images, and whatever docker uses for storage. I think we can't avoid creating the exceptions list, compared to "all directories in /var/lib shall be subvolumes" approach. Eg. the rpm database in /var/lib/rpm must match the running / . I'm counting like 100 directories under /var/lib on my desktop and most of them look like the rollback is undesired. There are examples (like the rpm db) that must not be a subvolume, and the list of 'must be subvolume' like proposed above and current snapper exceptions. The rest should be decided case-by-case but I think the preferred default is to create subvolumes. We could provide a tool/script to switch a given directory to a subvolume as a fallback solution. done and as bonus no-cow attribute added ( authot huha ) quote: "Available with libstorage6-2.25.23 and yast2-storage-3.1.57 ." |