1. A method to partition a data storage and retrieval system into one or more logical libraries, said data storage and retrieval system comprising a library controller, one or more data storage drives and one or more control ports, comprising the steps of: identifying each of said one or more control ports and each of said one or more data storage drives; creating a resources map including each of said one or more control ports and each of said one or more data storage drives; determining the maximum number of potential logical libraries that can be configured using said resources map; selecting the number (N) of logical libraries to configure; and partitioning said data storage and retrieval system into said (N) logical libraries.