Allocation of device

The device that a data set resides on is determined as follows: