Page MenuHomeDevCentral

Mount MySQL root ZFS dataset as /var/db/mysql/data
ClosedPublic

Authored by ptdradmin on Nov 24 2025, 14:30.
Tags
None
Referenced Files
F24656901: D3890.id10073.diff
Tue, Mar 3, 14:39
F24656872: D3890.id10075.diff
Tue, Mar 3, 14:39
F24655652: D3890.id10074.diff
Tue, Mar 3, 13:24
Unknown Object (File)
Sat, Feb 28, 19:23
Unknown Object (File)
Fri, Feb 27, 22:46
Unknown Object (File)
Fri, Feb 27, 22:37
Unknown Object (File)
Thu, Feb 26, 13:34
Unknown Object (File)
Thu, Feb 26, 06:09
Subscribers
None

Details

Summary

When mounting InnoDB ZFS datasets directly in /var/db/mysql,
and using that directory as root data directory,
MySQL server tries to read those InnoDB directories as databases.

Ref T2074

Signed-off-by: Sébastien Santoro <dereckson@espace-win.org>

Test Plan

Deploy on WindRiver

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
mysql-zfs-dir-structure
Build Status
Buildable 6200
Build 6484: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson added a reviewer: dereckson.
dereckson added a reviewer: dereckson.

Update also the datadir path at service level

dereckson edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Nov 25 2025, 10:03
  • deployed successfully on WindRiver (with service fix)
  • peer session for deployment/review