Loading transfer_service/tape_client.py +3 −3 Original line number Diff line number Diff line Loading @@ -164,7 +164,7 @@ class TapeClient(object): fp.close() self.copy(f"./{migrateFileList}", f"{self.VOSPACE_WD}/{migrateFileList}") os.remove(f"./{migrateFileList}") cmd = f"{self.EEADM} migrate {self.VOSPACE_WD}/{migrateFileList} -p {tapePool}" cmd = f"{self.EEADM} migrate {self.VOSPACE_WD}/{migrateFileList} -p {tapePool} > /dev/null 2>&1" try: stdin, stdout, stderr = self.client.exec_command(cmd) except Exception: Loading Loading @@ -197,7 +197,7 @@ class TapeClient(object): fp.close() self.copy(f"./{recallFileList}", f"{self.VOSPACE_WD}/{recallFileList}") os.remove(f"./{recallFileList}") cmd = f"{self.EEADM} recall {self.VOSPACE_WD}/{recallFileList}" cmd = f"{self.EEADM} recall {self.VOSPACE_WD}/{recallFileList} > /dev/null 2>&1" try: stdin, stdout, stderr = self.client.exec_command(cmd) except Exception: Loading @@ -218,7 +218,7 @@ class TapeClient(object): the 'dirName' directory. """ self.logger.info("Starting RECALL_CHECKSUM operation...") cmd = f"find $(dirname {dirName}) -type f \( -iname \"*-md5sum.txt\" \) | {self.EEADM} recall" cmd = f"find $(dirname {dirName}) -type f \( -iname \"*-md5sum.txt\" \) | {self.EEADM} recall > /dev/null 2>&1" try: stdin, stdout, stderr = self.client.exec_command(cmd) except Exception: Loading Loading
transfer_service/tape_client.py +3 −3 Original line number Diff line number Diff line Loading @@ -164,7 +164,7 @@ class TapeClient(object): fp.close() self.copy(f"./{migrateFileList}", f"{self.VOSPACE_WD}/{migrateFileList}") os.remove(f"./{migrateFileList}") cmd = f"{self.EEADM} migrate {self.VOSPACE_WD}/{migrateFileList} -p {tapePool}" cmd = f"{self.EEADM} migrate {self.VOSPACE_WD}/{migrateFileList} -p {tapePool} > /dev/null 2>&1" try: stdin, stdout, stderr = self.client.exec_command(cmd) except Exception: Loading Loading @@ -197,7 +197,7 @@ class TapeClient(object): fp.close() self.copy(f"./{recallFileList}", f"{self.VOSPACE_WD}/{recallFileList}") os.remove(f"./{recallFileList}") cmd = f"{self.EEADM} recall {self.VOSPACE_WD}/{recallFileList}" cmd = f"{self.EEADM} recall {self.VOSPACE_WD}/{recallFileList} > /dev/null 2>&1" try: stdin, stdout, stderr = self.client.exec_command(cmd) except Exception: Loading @@ -218,7 +218,7 @@ class TapeClient(object): the 'dirName' directory. """ self.logger.info("Starting RECALL_CHECKSUM operation...") cmd = f"find $(dirname {dirName}) -type f \( -iname \"*-md5sum.txt\" \) | {self.EEADM} recall" cmd = f"find $(dirname {dirName}) -type f \( -iname \"*-md5sum.txt\" \) | {self.EEADM} recall > /dev/null 2>&1" try: stdin, stdout, stderr = self.client.exec_command(cmd) except Exception: Loading