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
F52604494: D3890.id10075.diff
Sat, Oct 3, 13:17
F52604492: D3890.id10074.diff
Sat, Oct 3, 13:17
F52604473: D3890.id10073.diff
Sat, Oct 3, 13:16
F52566459: D3890.diff
Sat, Oct 3, 08:43
F52451769: D3890.id10074.diff
Fri, Oct 2, 17:54
Unknown Object (File)
Thu, Oct 1, 23:11
Unknown Object (File)
Tue, Sep 29, 16:26
Unknown Object (File)
Fri, Sep 25, 21:11
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 Not Applicable
Unit
Tests Not Applicable

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