Re: [U2] [UV] odd write failure in 10.2.7

2008-03-11 Thread Ray Wurlod
The freechain is a pointer in the header of a hashed file that begins a 
linked list of free blocks (buffers) that can be used for secondary group 
buffers (overflowed groups, oversized record data, etc.) as required.

Each of the buffers on the freechain *should* be marked as free.  Somehow a 
secondary group buffer has been added to the freechain in this file without 
being marked as free.  Perhaps (given the size of your record) it was - should 
have been - released when an oversized record was either deleted or reduced in 
size by more than 1 separation.

You should be able to identify the group address using a scan with uvfixfile or 
fixtool in trace mode, and investigate further with either of these tools (or, 
if you're really brave, filepeek).  If you happen to know the key of the record 
for which the WRITE failed, then you might even be able to use the RECORD verb 
to determine the group number, and hence the group address, so that you can 
identify where to begin your diagnostic investigation more precisely.

Problems on the freechain usually manifest as nothing wrong with the file 
until you hit the overflowed group or oversized record that points to this 
particular secondary group buffer.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] odd write failure in 10.2.7

2008-03-11 Thread John Hester
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
 Sent: Monday, March 10, 2008 7:45 PM
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] [UV] odd write failure in 10.2.7
 
 Any triggers on the file?

Nope, no triggers.

-John
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] odd write failure in 10.2.7

2008-03-11 Thread Jerry Banker
No index?

Jerry Banker


 -Original Message-
 From: John Hester [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, March 11, 2008 11:56 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] [UV] odd write failure in 10.2.7
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
  Sent: Monday, March 10, 2008 7:45 PM
  To: u2-users@listserver.u2ug.org
  Subject: Re: [U2] [UV] odd write failure in 10.2.7
 
  Any triggers on the file?
 
 Nope, no triggers.
 
 -John
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] odd write failure in 10.2.7

2008-03-11 Thread John Hester
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of John Hester
 Sent: Tuesday, March 11, 2008 10:04 AM
 To: u2-users@listserver.u2ug.org
 Subject: RE: [U2] [UV] odd write failure in 10.2.7
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod
  Sent: Tuesday, March 11, 2008 1:11 AM
  To: u2-users@listserver.u2ug.org
  Subject: Re: [U2] [UV] odd write failure in 10.2.7
 
 [snip]
 
  Problems on the freechain usually manifest as nothing wrong 
  with the file until you hit the overflowed group or 
  oversized record that points to this particular secondary 
  group buffer.
 
 Sounds like I should only ever see an error like this when 
 writing to an
 existing hashed file.  Because I'm still getting it even with a newly
 created and empty hashed file, and with a newly created and empty type
 19 file, I'm thinking there might be a bug in 10.2.7 related 
 to writing
 large records.  I think I'll write a test program to write 
 records with
 incemental size and see if I can reproduce the same error.

Arrggh!  The programmer was using a different file name in the code than
the one that was actually opened, so I've been looking at the wrong file
the whole time.  That will teach me to make assumptions based on our
naming conventions.  The real file was type 30 and resizing it fixed the
problem.

Thanks,
John
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] odd write failure in 10.2.7

2008-03-10 Thread Kevin King
Any triggers on the file?

On Mon, Mar 10, 2008 at 7:00 PM, John Hester [EMAIL PROTECTED] wrote:

 I'm testing a new RH ES 5.0 server running UV 10.2.7, and I'm getting an
 odd error message on a write to a file:

 --
 Found buffer on freechain that is marked as in use.
 Possible file corruption can be fixed with RESIZE.
 Program PGMWB0001: Line 2977, WRITE failure.
 --

 There is nothing wrong with the file.  I tried replacing it and resizing
 it as types 2, 18, and 19.  I tried separations of 4, 8, and 16.
 Obviously an empty type 19 file can't be corrupt, yet I get the same
 message every time.  This same program works fine on UV 10.1.4 running
 on RH AS 3.0 writing the exact same record.  This is a fairly large
 record (approx. 28K) but nothing odd in the data that I can see.  Writes
 to all other files within the program work fine, and every other program
 I've tested so far is able to write normally.  I can also write a short
 dummy record to this file from within the same program.  Anyone familiar
 with this error?

 Thanks,
 John

 John Hester
 System  Network Administrator
 Momentum Group
 (949) 833-8886 x623
 http://www.themomgroup.com
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/




-- 
-Kevin
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/