Do NOT allow capacity change of a cartridge if there a still files registered on that tape
Currently in CASTOR we do NOT allow change of the density (= capacity in CTA) if tape still contains files:
pcvlado ~ > nslisttape -sV I40044 4809 7774121617996 1467310848 105
pcvlado ~ > vmgrlisttape -V I40044 -x I40044 I40044 IBM4JD 7000GC aul 3592 J IBM r_atlas_raw 20110818 282.54GiB 4809 335 806 tpsrv432 tpsrv208 119246 29933 20180919 20151011 FULL
pcvlado ~ > vmgrmodifytape -V I40044 -d 10TC vmgrmodifytape I40044: There are physical files on the tape. Please reclaim the tape before modifying the density or the label.
This check should be maintained in CTA as well.