Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1184
  • Last Modified:

Error when trying to create a new device

I get the following error when trying to create a new device. I tried a couple of times and even rebooted the server. I'm not sure what it means. The error log doesn't give me any good information.

THE VDEVNO OF 10 IS OUT OF RANGE. THE MAXIMUM VDEVNO ALLOWED IS 9.

Any ideas?

/RH
0
entronet
Asked:
entronet
  • 2
1 Solution
 
Joe WoodhousePrincipal ConsultantCommented:
Supporting a certain number of Sybase devices take up memory, so ASE starts with a very small number by default.

ie. you're still running with a default configuration, which is only enough to start the ASE out of the box. You've hit that limit so you can't have any more.

You need to run (with SA privileges):

sp_configure "number of devices", N

where N is a larger number.

Depending on your version this may require a Sybase restart.

Don't go crazy and make N huge! You are paying memory for these even if you aren't using them. 25-50 should be plenty for now.

This also implies you've left a number of other important settings at default, which isn't appropriate even for a toy dataserver on a laptop...
0
 
entronetAuthor Commented:
Thanks,

The server is an exact copy of an already configured server so I don't believe the settings are all that wrong. I do prefer to read up on the configuration and optimization though. Is there a place where I can get some good pointers (no book).

/Rasmus
0
 
Joe WoodhousePrincipal ConsultantCommented:
In my experience it's quite unusual to find "number of devices" left at the default value of 10. It would normally be one of the first five things I'd change in a newly built server... but perhaps you've just never needed more than 7 (3 are typically used for system devices). 8->

The best reference for the *many* configurable options is the System Administration Guide. You don't say what version you're on so I'll point you at a fairly modern (but not the latest & greatest) one:

http://manuals.sybase.com/onlinebooks/group-as/asg1251e/sag

Chapter 4 covers the parameters.

I know you said you didn't want a book, but really, for documenting what there is and what they do, this is the best. Sybase's manuals are actually pretty good most of the time!

What the manual *doesn't* cover is *when* to change a setting, and what to change it to. That's a fairly extensive topic and I really don't know where to start you off. Again the Sybase manuals (look for the Performance and Tuning volumes) do a pretty good job. Failing that most of the easily internet-findable resources are now very out of date and are more trouble than they're worth...

... yeah, I just had a quick search and everything I find is at least three versions old. I'll keep looking and post if I find anything...
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now