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
F13858148: D3890.id.diff
Tue, Nov 25, 11:20
F13858119: D3890.diff
Tue, Nov 25, 11:20
F13858077: D3890.id10073.diff
Tue, Nov 25, 11:20
F13858071: D3890.id10075.diff
Tue, Nov 25, 11:20
F13858067: D3890.id10074.diff
Tue, Nov 25, 11:20
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