Management and optimization of mass data storage system for the ALICE