Unix Technical Forum

ids10.force to drop a chunk

This is a discussion on ids10.force to drop a chunk within the Informix forums, part of the Database Server Software category; --> hello, i get a dbspace with 2 chunk: one is used by a database and one is down and ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 10:38 AM
vomaringo@yahoo.com
 
Posts: n/a
Default ids10.force to drop a chunk

hello,
i get a dbspace with 2 chunk: one is used by a database and one is down
and empty.
i thought ids10 could do the following:
drop database mydb;
onspaces -d myspace -f
but onspaces refuse with : Cannot drop a 'dbspace' using the -f flag.
Any idea.
Thanks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 10:38 AM
david@smooth1.co.uk
 
Posts: n/a
Default Re: ids10.force to drop a chunk


Can't onspace bring the chunk back online?

Use onspaces -s <spacename> -p <path> -o <offset> -O

Otherwise restore from a backup.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 10:38 AM
Michael Mueller
 
Posts: n/a
Default Re: ids10.force to drop a chunk

vomaringo@yahoo.com wrote:
> hello,
> i get a dbspace with 2 chunk: one is used by a database and one is down
> and empty.
> i thought ids10 could do the following:
> drop database mydb;
> onspaces -d myspace -f
> but onspaces refuse with : Cannot drop a 'dbspace' using the -f flag.
> Any idea.
> Thanks.
>


You cannot use the -f flag when dropping normal dbspaces. This is only
used for smart blob spaces. To drop an empty dbspace just use

onspaces -d myspace

If your dbspace is not empty, that's another story ...

Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:10 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com