From 9c26a6e49c7776b3d578bfb8541c7ebd61cf9814 Mon Sep 17 00:00:00 2001 From: Olamide Isreal Date: Fri, 27 Mar 2026 10:15:13 +0100 Subject: [PATCH] Debug PVC: check mounts and dir contents --- debug_pvc.nf | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/debug_pvc.nf b/debug_pvc.nf index a2adbdd..059187c 100644 --- a/debug_pvc.nf +++ b/debug_pvc.nf @@ -3,20 +3,18 @@ process DEBUG { container 'harbor.cluster.omic.ai/omic/digital-patients/synthea:cudf' script: """ - echo "PWD: \$(pwd)" - echo "=== /omic/eureka/ ===" + echo "MOUNT_CHECK" + mount | grep omic || echo "no omic mounts" + echo "---" + ls /omic/ 2>&1 + echo "---" ls /omic/eureka/ 2>&1 | head -20 - echo "=== /omic/eureka/digital-patients/ ===" - ls -la /omic/eureka/digital-patients/ 2>&1 | head -30 - echo "=== /omic/eureka/digital-patients/imputed/ ===" - ls -la /omic/eureka/digital-patients/imputed/ 2>&1 | head -20 - echo "=== /omic/eureka/digital-patients/healthy/ ===" - ls -la /omic/eureka/digital-patients/healthy/ 2>&1 | head -20 - echo "=== /omic/eureka/digital-patients/supporting-data/ ===" - ls -laR /omic/eureka/digital-patients/supporting-data/ 2>&1 | head -30 - echo "=== Test write ===" - echo "test" > /omic/eureka/digital-patients/write_test.txt && echo "WRITE OK" || echo "WRITE FAILED" - echo "DONE" + echo "---" + ls /omic/eureka/digital-patients/ 2>&1 | head -20 + echo "---" + echo "WRITE_TEST" + mkdir -p /omic/eureka/digital-patients/test_dir 2>&1 && echo "MKDIR_OK" || echo "MKDIR_FAIL" + echo "END" """ } workflow { DEBUG() }