From: Vallari Agrawal Date: Wed, 19 Feb 2025 11:48:49 +0000 (+0530) Subject: qa/workunits/nvmeof/fio_test.sh: add more debug commands X-Git-Tag: testing/wip-pdonnell-testing-20250225.133217-debug~15^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=fd8fbea2e73e14867a825775698cf49abb39e807;p=ceph-ci.git qa/workunits/nvmeof/fio_test.sh: add more debug commands Add more commands to debug when fio fails: - nvme list-subsys /dev/nvme1n2 - nvme list from the initiator - nvme list | wc -l - nvme id-ns /dev/nvme1n2 Signed-off-by: Vallari Agrawal --- diff --git a/qa/workunits/nvmeof/fio_test.sh b/qa/workunits/nvmeof/fio_test.sh index b69b3403c98..4342ae2a923 100755 --- a/qa/workunits/nvmeof/fio_test.sh +++ b/qa/workunits/nvmeof/fio_test.sh @@ -72,11 +72,19 @@ status_log() { POOL="${RBD_POOL:-mypool}" GROUP="${NVMEOF_GROUP:-mygroup0}" ceph -s - ceph host ls + ceph orch host ls ceph orch ls ceph orch ps ceph health detail ceph nvme-gw show $POOL $GROUP + sudo nvme list + sudo nvme list | wc -l + for device in $selected_drives; do + echo "Processing device: $device" + sudo nvme list-subsys /dev/$device + sudo nvme id-ns /dev/$device + done + }