That was my first try, yes. I also tried --print-meta. I could not
find any combination of command-line arguments that did not fault.
I had a BACKUP-164 from the prior day that showed the same results.
I realize there's not much information here to go from... luckily this
is a test system, not production, so we ended up initializing it without
any data. After initialization, things look normal:
[root@t0core-dbs01 BACKUP-1]# /opt/mysql/bin/ndb_restore -n 3 -b 1
Nodeid = 3
Backup Id = 1
backup path = ./
Opening file './BACKUP-1.3.ctl'
File size 977648 bytes
Ndb version in backup files: ndb-6.2.15
NDBT_ProgramExit: 0 - OK
I can't tell how far back exactly the backups began to fail, because I
stupidly deleted them this week before I had any signs of trouble.
It's possible this is a lingering issue related to my earlier bug:
http://bugs.mysql.com/bug.php?id=36044
In any case, I'm going to try this on some other cluster instances we
have to see if it is reproducible, and I will most likely follow up with
enterprise support once our renewal is processed.
Thank you for your reply.
> -----Original Message-----
> From: Jonas.Oreland@stripped [mailto:Jonas.Oreland@stripped]
> Sent: Friday, June 26, 2009 1:32 AM
> To: Jeff Sturm
> Cc: cluster@stripped
> Subject: Re: segmentation fault in ndb_restore
>
> did you restore meta data first?
>
> (ndb_restore -m)
>
> /Jonas
>
> Jeff Sturm wrote:
> > Today we had a cluster stop due to lost heartbeat. Upon an
attempted
> > restore, I started the nodes with -initial, then:
> >
> >
> >
> > [root@t0core-dbs02 BACKUP-165]# /opt/mysql/bin/ndb_restore -n 4 -b
165
> >
> > Nodeid = 4
> >
> > Backup Id = 165
> >
> > backup path = ./
> >
> > Opening file './BACKUP-165.4.ctl'
> >
> > File size 9402924 bytes
> >
> > Ndb version in backup files: ndb-6.2.15
> >
> > Segmentation fault
> >
> >
> >
> > So I can't read the backup.
> >
> >
> >
> > What recourse do I have? I can start with binlogs but I don't have
a
> > complete set. Is there any way to recover from the backup files?
> >
> >
> >
> > This is ndb version 6.2.15.
> >
> >
> >
> > -Jeff
> >
> >
> >
> >
>