cta-admin dr ls should show '-' instead of "NO_MOUNT" for Mount Type
Currently cta-admin dr ls
shows "NO_MOUNT"
[root@tpsrv015 ~]# cta-admin dr ls | head -3
library drive host desired request status since vid tapepool vo files data MB/s session priority activity age reason
IBM1L9 I1L91234 tpsrv310 Down NO_MOUNT Down 88 - - - - - - - 0 - 3 test
IBM360 I3600522 tpsrv044 Up NO_MOUNT Free 814 - - - - - - - 0 - 1 -
And it should show a -
, like in previous versions:
[root@ctaproductionfrontend01 ~]# cta-admin dr ls | head -3
library drive host desired request status since vid tapepool vo files data MB/s session priority activity age reason
IBM1L8 I1L80913 tpsrv432 Up - Free 14081 - - - - - - - 0 - 4 -
IBM1L8 I1L80914 tpsrv433 Up Retrieve Transfer 8537 L70576 r_alice_raw ALICE 689 1.3T 275.5 346240 0 - 3 -
Also it has to show the mount types in lowercase. The request type are UPPERCASE in cta-admin sq
as well - RETRIEVE vs. Retrieve:
PPS:
[root@tpsrv037 ~]# cta-admin sq
type tapepool vo library vid files queued data queued oldest youngest priority min age read max drives write max drives cur. mounts cur. files cur. data MB/s tapes capacity files on tapes data on tapes full tapes writable tapes
ARCHIVE_FOR_REPACK validation IT - - 1058 233.0G 262 69 1 600 2 2 0 0 0 0 37.0T 106078 21.9T 2 2
RETRIEVE ftstest IT IBM1L8 L75830 2 204.9M 2066712 73155 10 300 2 2 0 0 0 0 9.0T 1247087 16.4T 0 1
RETRIEVE validation IT IBM360 I40052 7618 1.6T 642 594 1 600 2 2 1 755 156.1G 0 7.0T 11504 2.4T 1 0
RETRIEVE validation IT IBM455 I41001 40751 8.5T 640 354 1 600 2 2 1 545 123.3G 0 7.0T 43825 9.1T 1 0
PRODUCTION:
type tapepool vo library vid files queued data queued oldest youngest priority min age read max drives write max drives cur. mounts cur. files cur. data MB/s tapes capacity files on tapes data on tapes full tapes writable tapes
ArchiveForUser r_na62 NA62 - - 1948 1.3T 907 2 250 14400 4 4 4 19674 16.2T 1901 5.2P 12369511 5.5P 379 5
ArchiveForUser r_faser FASER - - 3 3.0G 4683 1486 250 14400 1 1 0 0 0 0 40.0T 18610 13.9T 0 2
ArchiveForUser r_na62_1 NA62 - - 45 2.3G 15756 1190 250 14400 4 4 0 0 0 0 4.2P 5261252 6.5P 406 3
ArchiveForUser r_atlas_test ATLAS - - 46 1.3G 2944 382 250 14400 14 8 0 0 0 0 312.0T 2567651 356.0T 22 2