* Does the actual initialization work. assumes holding write lock.
* @throws RepositoryException if an error occurs.
*/
protected void doInitialize() throws RepositoryException {
FileSystemConfig fsConfig = config.getFileSystemConfig();
fs = fsConfig.createFileSystem();
persistMgr = createPersistenceManager(new File(config.getHomeDir()),
fs,
config.getPersistenceManagerConfig(),
rootNodeId,