A method of operating a peripheral data-storage sub-system, programmed control means in the peripheral data-storage sub-system for controlling its operation, attachment means connected to the control means for attaching the sub-system to a host processor, a plurality of addressable media devices for removably receiving physical volumes of media, means connected to the control means and to the media devices for mounting and demounting said physical volumes of media, said media devices being connected to the attachment means for exchanging data signals therewith, the method including steps:
- establishing a plurality of volume serial numbers;
- establishing a listing in said control means containing indications of a first set having a plurality of first ones of said volume serial numbers that are to be used only for identifying host-processor-addressable logical data-storage volumes, establishing a second set of second ones of said volume serial numbers that are to be used only to identify stack ones of said physical volumes in which said host-processor-addressable logical data-storage volumes can reside;
- initializing predetermined ones of said host-processor-addressable logical data-storage volumes including first allocating a predetermined partition of predetermined ones of said physical volumes for respective ones of said host-processor-addressable logical data-storage volumes and establishing addressability of said host-processor-addressable logical data-storage volumes by inserting respective ones of said volume serial numbers of said first set in said host-processor-addressable logical data-storage volumes on respective ones of said physical volumes, including initializing fewer of said host-processor-addressable logical data-storage volumes that the number of said established first volume serial numbers;
- in said control means, listing said initialized host-processor-addressable logical data-storage volumes having said first volume serial numbers, respectively, and identifying, respectively, said initialized ones of said host-processor-addressable logical data-storage volumes and said physical volumes in which the respective logical data-storage volume reside;
- establishing in said control means for use in said listing a plurality of volume control categories including a stack category for indicating erased physical volumes that are to store a plurality of said host-processor-addressable logical data-storage volumes, a scratch category for indicating erased physical volumes that are to store a single host-processor-addressable logical data-storage volume;
- physical volumes that are storing one of said host-processor-addressable logical data-storage volumes in a unitary category and that was previously had a scratch category and physical volumes that are in a partition category that respectively are storing one or more of said a plurality of said host-processor-addressable logical data-storage volumes that were in said stack category;
- receiving a mount command from an attached host processor into said control means that includes an address of one of said media devices and an addressed volume serial number wherein said addressed volume serial number has a value respectively indicating that the addressed volume serial number identified host-processor-addressable logical data-storage volumes is to be or is stored in a physical volume either in said stack or partition categories or in said scratch and unitary categories;
- in said control means checking said listing for determining whether or not an initialized one of said host-processor-addressable logical data-storage volumes is identified by said addressed volume serial number;
- if said checking shows that no initialized logical data-storage volume is identified by said addressed volume serial number, then selecting one of said physical volumes, as a selected one physical volume, in said stack or scratch category indicated by said mount command identified volume serial number for receiving said addressed host-processor-addressable logical data-storage volume;
- mounting said selected one physical volume in said addressed media device as mounted physical volume;
- then, allocating a predetermined addressable partition of said mounted physical volume for receiving and storing a host-processor-addressable logical data-storage volume having said addressed volume serial number and then recording in said allocated partition of said selected physical volume said addressed volume serial number such that said allocated partition is addressable as an initialized logical data-storage volume by said addressed volume serial number;
- then, updating said listing for showing that said addressed volume serial number identifies said one logical data-storage volume and that said one logical data-storage volume resides in said selected physical volume;
- if said addressed volume serial number is identified in said listing, then selecting a second one of said physical volumes, as a second selected physical volume, identified in said listing by said addressed volume serial number for mounting in said addressed media device;
- then, mounting said second selected physical volume in said addressed media device;
- and
- if said checking shows that the addressed serial number is not a volume serial number in said first plurality of serial numbers, rejecting the received mount command as not identifying any data-storage volume, including if said received mount command identifies a volume serial number in said second plurality of volume serial numbers.