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
Unknown Object (File)
Mon, Jun 1, 01:41
Unknown Object (File)
Fri, May 29, 06:18
Unknown Object (File)
Thu, May 28, 22:00
Unknown Object (File)
Mon, May 25, 18:20
Unknown Object (File)
Mon, May 25, 14:48
Unknown Object (File)
Mon, May 25, 06:03
Unknown Object (File)
Sat, May 23, 10:10
Unknown Object (File)
Sat, May 23, 05:22
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