The case:
Creation of a new device.
Error message:
The maximum number <X> of configured devices has already been reached. Please reconfigure 'number of devices' to a larger value and retry disk initialization.
1> disk init name="DdeviceNameLog", physname="/sybvol01/sap16/data/DdeviceNameLog1.dat", size="100M"
2> go
Msg 5162, Level 16, State 1:
Server 'SRSSERVER', Line 1:
The maximum number 20 of configured devices has already been reached. Please reconfigure 'number of devices' to a larger value and retry disk initialization.
Solution:
sp_configure 'number of devices', 30
go