class NfsSecondaryStorageResource extends ServerResourceBase implements SecondaryStorageResource {

  protected void mount(String localRootPath, String remoteDevice, URI uri) {
    s_logger.debug("mount " + uri.toString() + " on " + localRootPath);
    ensureLocalRootPathExists(localRootPath, uri);

    if (mountExists(localRootPath, uri)) {
      return;
    }

    attemptMount(localRootPath, remoteDevice, uri);

    // XXX: Adding the check for creation of snapshots dir here. Might have
    // to move it somewhere more logical later.
    checkForSnapshotsDir(localRootPath);
    checkForVolumesDir(localRootPath);
  }

}