Page MenuHomeDevCentral

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

Authored by ptdradmin on Mon, Nov 24, 14:30.
Tags
None
Referenced Files
F18655112: D3890.id10073.diff
Sat, Dec 20, 04:43
F18511652: D3890.id10073.diff
Fri, Dec 19, 15:51
Unknown Object (File)
Thu, Dec 18, 12:45
Unknown Object (File)
Sun, Dec 14, 21:22
Unknown Object (File)
Sun, Dec 14, 04:49
Unknown Object (File)
Sun, Dec 14, 04:49
Unknown Object (File)
Thu, Dec 11, 20:57
Unknown Object (File)
Thu, Dec 11, 20:57
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.Tue, Nov 25, 10:03
  • deployed successfully on WindRiver (with service fix)
  • peer session for deployment/review