All metadata describing server, database or objects in the database are saved in system tables. Data in those tables can be queried, but should not be directly modified.One of such table is sysdevices, listing all defined on server devices. To change/add/remove records in that table use:
- disk init - to create new devices,
- disk resize - to extend already created devices,
- disk mirror - to enable mirroring of device,
- disk unmirror - to stop mirroring,
- sp_dropdevice - to remove device,
- sp_deviceattr - to change options related to the device
- sp_diskdefault - to mark a device as default or unmark this property



