Renaming devices

The manifest file contains the device paths as known to the source Adaptive Server that created the manifest file. If the destination Adaptive Server accesses the devices with a different path, you can specify the new path to the mount command.

  1. Use mount with listonly to display the old path:

    1> mount database all from "/data/sybase2/mfile1" with listonly
    2> go
    
    "/data/sybase1/d0.dbs" = "1dev1"
    
  2. If the new path for the device "/data/sybase1/d0.dbs" is "/sybase/devices/d0.dbs", specify the new device in the mount command:

    mount database all from "/data/sybase2/mfile1" using "/sybase/devices/d0.dbs" = "ldev1""