Chunk not dropped. ISAM error: No such chunk
Posted in 2007
On IDS 7.31 (Solaris/VxVM raw devices), an attempt to drop a chunk with onspaces -d ... -o 4 failed with "Chunk not dropped. ISAM error: No such chunk". The cause was simply the wrong offset value on the command line: the chunk's actual offset (shown in onstat -d as 1, i.e. 2 KB on this platform) didn't match what was supplied. One reply suggested the chunk size instead, which was also wrong. Re-running with -o 2, matching the displayed offset, dropped the chunk successfully.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Storage & Space Management, Error Codes & Troubleshooting, Server Administration
I've performed this drop chunk command and process several times in the past,
but this time I'm receiving an error. Do you see anything wrong or is there a
bug. Hopefully the chunk will still be written to once the main chunk is full:
IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line (Prim) -- Up 12:35:15
-- 2524112 Kbytes
Dbspaces
address number flags fchunk nchunks flags owner name
4d0e15d8 5 1001 5 2 N informix hds_01
8 active, 2047 maximum
Chunks
address chk/dbs offset size free bpages flags pathname
4d0e0698 5 5 1 1024000 499404 PO- /ifmx/ifmxehdsp/lv_hds_01
4d0e0998 8 5 1 256000 255997 PO- /ifmx/ifmxehdsp/lv_hds_01_01
17 active, 2047 maximum
[/export/home/informix]: onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01 -o
4
WARNING: Dropping a chunk.
Do you really want to continue? (y/n)y
Chunk not dropped.
ISAM error: No such chunk
[/export/home/informix]: ls -l /ifmx/ifmxehdsp/lv_hds_01_01
lrwxrwxrwx 1 informix informix 31 Aug 20 13:18 /ifmx/ifmxehdsp/lv_hds_01_01 ->
/dev/vx/rdsk/appl/ifmxehdsc_012
[/export/home/informix]: ls -l /dev/vx/*dsk/appl/ifmxehdsc_012
brw-rw---- 1 informix informix 266,17136 Sep 21 2006
/dev/vx/dsk/appl/ifmxehdsc_012
crw-rw---- 1 informix informix 266,17136 Sep 21 2006
/dev/vx/rdsk/appl/ifmxehdsc_012
Any thoughts?
Thanks,
**************************************
Ernie Knox
Sears Holding Co.
IT Database Administrator Specialist
IT Service Management, Strategy & Architecture
3333 Beverly Rd., B4-266A
Hoffman Estates, IL. 60179
Office: (847) 286-5735
Fax: (847) 645-3874
Pager: (800) 759-8352 Pin#: 7271042
Email: eknox@sears.com
" It's always a great day to watch Football ! "
**************************************
Hi:
$ onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01 -o 512000
bye
>From: "Knox, Ernest" <eknox@searshc.com>
>Reply-To: ids@iiug.org
>To: ids@iiug.org
>Subject: Chunk not dropped. ISAM error: No such chunk [10185]
>Date: Wed, 17 Oct 2007 16:37:07 -0400 (EDT)
>
>I've performed this drop chunk command and process several times in the
>past,
>but this time I'm receiving an error. Do you see anything wrong or is there
>a
>bug. Hopefully the chunk will still be written to once the main chunk is
>full:
>
>IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line (Prim) -- Up
>12:35:15
>-- 2524112 Kbytes>
>Dbspaces
>address number flags fchunk nchunks flags owner name
>4d0e15d8 5 1001 5 2 N informix hds_01
>8 active, 2047 maximum
>
>Chunks
>address chk/dbs offset size free bpages flags pathname
>4d0e0698 5 5 1 1024000 499404 PO- /ifmx/ifmxehdsp/lv_hds_01
>4d0e0998 8 5 1 256000 255997 PO- /ifmx/ifmxehdsp/lv_hds_01_01
>17 active, 2047 maximum
>
>[/export/home/informix]: onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01
>-o
>4
>
>WARNING: Dropping a chunk.
>Do you really want to continue? (y/n)y
>Chunk not dropped.
>ISAM error: No such chunk>
>[/export/home/informix]: ls -l /ifmx/ifmxehdsp/lv_hds_01_01
>
>lrwxrwxrwx 1 informix informix 31 Aug 20 13:18 /ifmx/ifmxehdsp/lv_hds_01_01
>->
>/dev/vx/rdsk/appl/ifmxehdsc_012
>
>[/export/home/informix]: ls -l /dev/vx/*dsk/appl/ifmxehdsc_012
>
>brw-rw---- 1 informix informix 266,17136 Sep 21 2006
>/dev/vx/dsk/appl/ifmxehdsc_012
>crw-rw---- 1 informix informix 266,17136 Sep 21 2006
>/dev/vx/rdsk/appl/ifmxehdsc_012
>
>Any thoughts?
>
>Thanks,
>
>**************************************
>Ernie Knox
>Sears Holding Co.
>IT Database Administrator Specialist
>IT Service Management, Strategy & Architecture
>3333 Beverly Rd., B4-266A
>Hoffman Estates, IL. 60179
>Office: (847) 286-5735
>Fax: (847) 645-3874
>Pager: (800) 759-8352 Pin#: 7271042
>Email: eknox@sears.com
>
>" It's always a great day to watch Football ! "
>**************************************
>
>
>*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
The offset is on 1 - 4k page, what you gave me was too large of an offset.
Thanks,
**************************************
Ernie Knox
Sears Holding Co.
IT Database Administrator Specialist
IT Service Management, Strategy & Architecture
3333 Beverly Rd., B4-266A
Hoffman Estates, IL. 60179
Office: (847) 286-5735
Fax: (847) 645-3874
Pager: (800) 759-8352 Pin#: 7271042
Email: eknox@sears.com
" It's always a great day to watch Football ! "
**************************************
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Juan
Pablo
Sent: Wednesday, October 17, 2007 3:48 PM
To: ids@iiug.org
Subject: RE: Chunk not dropped. ISAM error: No such chunk [10186]
Hi:
$ onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01 -o 512000
bye
>From: "Knox, Ernest" <eknox@searshc.com>
>Reply-To: ids@iiug.org
>To: ids@iiug.org
>Subject: Chunk not dropped. ISAM error: No such chunk [10185]
>Date: Wed, 17 Oct 2007 16:37:07 -0400 (EDT)
>
>I've performed this drop chunk command and process several times in the
>past,
>but this time I'm receiving an error. Do you see anything wrong or is there
>a
>bug. Hopefully the chunk will still be written to once the main chunk is
>full:
>
>IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line (Prim) -- Up
>12:35:15
>-- 2524112 Kbytes>
>Dbspaces
>address number flags fchunk nchunks flags owner name
>4d0e15d8 5 1001 5 2 N informix hds_01
>8 active, 2047 maximum
>
>Chunks
>address chk/dbs offset size free bpages flags pathname
>4d0e0698 5 5 1 1024000 499404 PO- /ifmx/ifmxehdsp/lv_hds_01
>4d0e0998 8 5 1 256000 255997 PO- /ifmx/ifmxehdsp/lv_hds_01_01
>17 active, 2047 maximum
>
>[/export/home/informix]: onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01
>-o
>4
>
>WARNING: Dropping a chunk.
>Do you really want to continue? (y/n)y
>Chunk not dropped.
>ISAM error: No such chunk>
>[/export/home/informix]: ls -l /ifmx/ifmxehdsp/lv_hds_01_01
>
>lrwxrwxrwx 1 informix informix 31 Aug 20 13:18 /ifmx/ifmxehdsp/lv_hds_01_01
>->
>/dev/vx/rdsk/appl/ifmxehdsc_012
>
>[/export/home/informix]: ls -l /dev/vx/*dsk/appl/ifmxehdsc_012
>
>brw-rw---- 1 informix informix 266,17136 Sep 21 2006
>/dev/vx/dsk/appl/ifmxehdsc_012
>crw-rw---- 1 informix informix 266,17136 Sep 21 2006
>/dev/vx/rdsk/appl/ifmxehdsc_012
>
>Any thoughts?
>
>Thanks,
>
>**************************************
>Ernie Knox
>Sears Holding Co.
>IT Database Administrator Specialist
>IT Service Management, Strategy & Architecture
>3333 Beverly Rd., B4-266A
>Hoffman Estates, IL. 60179
>Office: (847) 286-5735
>Fax: (847) 645-3874
>Pager: (800) 759-8352 Pin#: 7271042
>Email: eknox@sears.com
>
>" It's always a great day to watch Football ! "
>**************************************
>
>
>*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
I figured it out. For sun servers it's 2k offset so I forgot to use:
onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01 -o 2
Which worked.
Thanks - my fault,
**************************************
Ernie Knox
Sears Holding Co.
IT Database Administrator Specialist
IT Service Management, Strategy & Architecture
3333 Beverly Rd., B4-266A
Hoffman Estates, IL. 60179
Office: (847) 286-5735
Fax: (847) 645-3874
Pager: (800) 759-8352 Pin#: 7271042
Email: eknox@sears.com
" It's always a great day to watch Football ! "
**************************************
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Juan
Pablo
Sent: Wednesday, October 17, 2007 3:48 PM
To: ids@iiug.org
Subject: RE: Chunk not dropped. ISAM error: No such chunk [10186]
Hi:
$ onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01 -o 512000
bye
>From: "Knox, Ernest" <eknox@searshc.com>
>Reply-To: ids@iiug.org
>To: ids@iiug.org
>Subject: Chunk not dropped. ISAM error: No such chunk [10185]
>Date: Wed, 17 Oct 2007 16:37:07 -0400 (EDT)
>
>I've performed this drop chunk command and process several times in the
>past,
>but this time I'm receiving an error. Do you see anything wrong or is there
>a
>bug. Hopefully the chunk will still be written to once the main chunk is
>full:
>
>IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line (Prim) -- Up
>12:35:15
>-- 2524112 Kbytes>
>Dbspaces
>address number flags fchunk nchunks flags owner name
>4d0e15d8 5 1001 5 2 N informix hds_01
>8 active, 2047 maximum
>
>Chunks
>address chk/dbs offset size free bpages flags pathname
>4d0e0698 5 5 1 1024000 499404 PO- /ifmx/ifmxehdsp/lv_hds_01
>4d0e0998 8 5 1 256000 255997 PO- /ifmx/ifmxehdsp/lv_hds_01_01
>17 active, 2047 maximum
>
>[/export/home/informix]: onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01
>-o
>4
>
>WARNING: Dropping a chunk.
>Do you really want to continue? (y/n)y
>Chunk not dropped.
>ISAM error: No such chunk>
>[/export/home/informix]: ls -l /ifmx/ifmxehdsp/lv_hds_01_01
>
>lrwxrwxrwx 1 informix informix 31 Aug 20 13:18 /ifmx/ifmxehdsp/lv_hds_01_01
>->
>/dev/vx/rdsk/appl/ifmxehdsc_012
>
>[/export/home/informix]: ls -l /dev/vx/*dsk/appl/ifmxehdsc_012
>
>brw-rw---- 1 informix informix 266,17136 Sep 21 2006
>/dev/vx/dsk/appl/ifmxehdsc_012
>crw-rw---- 1 informix informix 266,17136 Sep 21 2006
>/dev/vx/rdsk/appl/ifmxehdsc_012
>
>Any thoughts?
>
>Thanks,
>
>**************************************
>Ernie Knox
>Sears Holding Co.
>IT Database Administrator Specialist
>IT Service Management, Strategy & Architecture
>3333 Beverly Rd., B4-266A
>Hoffman Estates, IL. 60179
>Office: (847) 286-5735
>Fax: (847) 645-3874
>Pager: (800) 759-8352 Pin#: 7271042
>Email: eknox@sears.com
>
>" It's always a great day to watch Football ! "
>**************************************
>
>
>*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
Yes.... Error visualization
$ onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01 -o 2
bye
<span style="color:rgb(0, 51, 102);font-weight:bold">The freedom of Linux
... The power of Informix</span>
>From: "Knox, Ernest" <eknox@searshc.com>
>Reply-To: ids@iiug.org
>To: ids@iiug.org
>Subject: RE: Chunk not dropped. ISAM error: No such chunk [10187]
>Date: Wed, 17 Oct 2007 16:52:45 -0400 (EDT)
>
>The offset is on 1 - 4k page, what you gave me was too large of an offset.
>
>Thanks,
>
>**************************************
>Ernie Knox
>Sears Holding Co.
>IT Database Administrator Specialist
>IT Service Management, Strategy & Architecture
>3333 Beverly Rd., B4-266A
>Hoffman Estates, IL. 60179
>Office: (847) 286-5735
>Fax: (847) 645-3874
>Pager: (800) 759-8352 Pin#: 7271042
>Email: eknox@sears.com
>
>" It's always a great day to watch Football ! "
>**************************************
>
>-----Original Message-----
>From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Juan
>Pablo
>Sent: Wednesday, October 17, 2007 3:48 PM
>To: ids@iiug.org
>Subject: RE: Chunk not dropped. ISAM error: No such chunk [10186]
>
>Hi:
>
>$ onspaces -d hds_01 -p /ifmx/ifmxehdsp/lv_hds_01_01 -o 512000>
>bye
>
> >From: "Knox, Ernest" <eknox@searshc.com>
> >Reply-To: ids@iiug.org
> >To: ids@iiug.org
> >Subject: Chunk not dropped. ISAM error: No such chunk [10185]
> >Date: Wed, 17 Oct 2007 16:37:07 -0400 (EDT)
> >
> >I've performed this drop chunk command and process several times in the
> >past,
> >but this time I'm receiving an error. Do you see anything wrong or is
>there
> >a
> >bug. Hopefully the chunk will still be written to once the main chunk is
> >full:
> >
> >IBM Informix Dynamic Server Version 7.31.UD8 -- On-Line (Prim) -- Up
> >12:35:15
> >-- 2524112 Kbytes> >
> >Dbspaces
> >address number flags fchunk nchunks flags owner name
> >4d0e15d8 5 1001 5 2 N informix hds_01
> >8 active, 2047 maximum
> >
> >Chunks
> >address chk/dbs offset size free bpages flags pathname
> >4d0e0698 5 5 1 1024000 499404 PO- /ifmx/ifmxehdsp/lv_hds_01
> >4d0e0998 8 5 1 256000 255997 PO- /ifmx/ifmxehdsp/lv_hds_01_01
> >17 active, 2047 maximum
> >
> >[/export/home/informix]: onspaces -d hds_01 -p
>/ifmx/ifmxehdsp/lv_hds_01_01
> >-o
> >4
> >
> >WARNING: Dropping a chunk.
> >Do you really want to continue? (y/n)y
> >Chunk not dropped.
> >ISAM error: No such chunk> >
> >[/export/home/informix]: ls -l /ifmx/ifmxehdsp/lv_hds_01_01
> >
> >lrwxrwxrwx 1 informix informix 31 Aug 20 13:18
>/ifmx/ifmxehdsp/lv_hds_01_01
> >->
> >/dev/vx/rdsk/appl/ifmxehdsc_012
> >
> >[/export/home/informix]: ls -l /dev/vx/*dsk/appl/ifmxehdsc_012
> >
> >brw-rw---- 1 informix informix 266,17136 Sep 21 2006
> >/dev/vx/dsk/appl/ifmxehdsc_012
> >crw-rw---- 1 informix informix 266,17136 Sep 21 2006
> >/dev/vx/rdsk/appl/ifmxehdsc_012
> >
> >Any thoughts?
> >
> >Thanks,
> >
> >**************************************
> >Ernie Knox
> >Sears Holding Co.
> >IT Database Administrator Specialist
> >IT Service Management, Strategy & Architecture
> >3333 Beverly Rd., B4-266A
> >Hoffman Estates, IL. 60179
> >Office: (847) 286-5735
> >Fax: (847) 645-3874
> >Pager: (800) 759-8352 Pin#: 7271042
> >Email: eknox@sears.com
> >
> >" It's always a great day to watch Football ! "
> >**************************************
> >
> >
>
>
>
>*******************************************************************************
> > Forum Note: Use "Reply" to post a response in the discussion forum.
> >
>
>_________________________________________________________________
>MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/
>
>
>*******************************************************************************
>Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
>*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo en América
Latina y USA: http://latam.msn.com/empleos/
FROM THIS 4d0e0998 8 5 1 256000 255997 PO- /ifmx/ifmxehdsp/lv_hds_01_01 the offsize is "1", so your command must be "2" not others.