Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Sybase > suspec model

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-04, 23:38
picasso picasso is offline
Registered User
 
Join Date: Dec 2003
Posts: 14
suspec model

I moved the devices to different physical location and edited the device location in sysdatabases. the problem was I had to start the server to make the changes, which I did. however, master did not find some devices and marked the DB as suspect. One of the is model (status 320). I brought server in a single user mode but won't let me clear the suspect flag and won't let me drop the db "dbcc dbrepair(dbname,dropdb)"since it is a system DB.

Any help will be greatly appreciated
Reply With Quote
  #2 (permalink)  
Old 02-23-04, 06:03
Martijnvs Martijnvs is offline
Who? Me?
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 274
Post

Editting the systables always brings some risks along.
To move devices, you can use device-mirroring.

Enable device-mirroring using sp_configure "disable disk mirroring", 0 (requires a restart of ASE).
Make a mirror of the device using
Code:
disk mirror name = "device_name" , mirror = "physicalname" [, writes = { serial | noserial }]
Then, when the device is mirrored, unmirror the device with
Code:
disk unmirror name = "device_name" [ ,side = { "primary" | secondary }] [ ,mode = { retain | remove }]
Disable the primary side, leaving the secondary side as the new devicelocation.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On