else:
for line in out:
- res = re.compile("^Filesystem.features:.*journal_dev.").search(line) if res:
+ res = re.compile("^Filesystem.features:.*journal_dev.").search(line)
+ if res:
panic("The back-end storage device \""+devpath+"\", specified for Lustre service \""+name+"\", contains an ext3 external journal, instead of a proper ext3 file system.\n\nIt's possible that you meant to specify a different device, or that you meant to reformat this device before using it. If you are intending to use a file system with an external journal, then the Lustre configuration file should point to the device that contains the main ext3 file system, not the journal device.\n");