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
F24591644: D3890.diff
Sat, Feb 28, 19:23
F24573367: D3890.id10075.diff
Fri, Feb 27, 22:46
F24573240: D3890.id10075.diff
Fri, Feb 27, 22:37
Unknown Object (File)
Thu, Feb 26, 13:34
Unknown Object (File)
Thu, Feb 26, 06:09
Unknown Object (File)
Thu, Feb 26, 06:04
Unknown Object (File)
Thu, Feb 26, 03:06
Unknown Object (File)
Thu, Feb 26, 02:32
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