setUp();
FSDirectory rootDir = getFs().getRootEntry().getDirectory();
log.debug("### testFSTreeWithRemount: rootDir=\n" + FSUtils.toString(rootDir, true));
FSEntry dir1 = rootDir.addDirectory(fileName);
assertNotNull("'" + fileName + "' not added", rootDir.getEntry(fileName));
log.debug("### testFSTreeWithRemount: before remountFS");
remountFS(config, getFs().isReadOnly());
log.debug("### testFSTreeWithRemount: after remountFS");