Manage dataDir.