final Map<String, String> replaceHash = new HashMap<String, String>();
replaceHash.put(SIZE_PLACE_HOLDER, size);
replaceHash.put(DEVICE_PLACE_HOLDER, device);
replaceHash.put(LV_NAME_PLACE_HOLDER, snapshotName);
final String command = host.getDistCommand("LVM.lvsnapshot", replaceHash);
final SshOutput ret = execCommand(host, command);
return ret.getExitCode() == 0;
}