Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: dump and restore in RH 6.0
@ 1999-07-26 22:29 Alex Vorobiev
  1999-07-30 13:55 ` Jim Simmons
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Vorobiev @ 1999-07-26 22:29 UTC (permalink / raw)
  To: axp-list


 well, i tried using an older version of dump, to no avail.  dump-0.3-17
 rpm does not install, apparently 'cause of the c lib incompatability
 (a guess).
 
 so, i tried recompiling dump-0.3 from scratch.  i also thought that
 e2fsprogs-devel is at fault, since dump/restore need to compile against
 it.  so, also rebuilt the older e2fsporgs-devel and here is what i got:
 
 dump version		e2fsprogs version	can read own dumps
 
 0.3-17 			1.12-2			no
 0.3-17			1.14-4			no
 0.4b4-7			1.12-2			no
 0.4b4-7			1.14-4			no
 
 i am at a loss as to what could be the problem...
 the relevant RedHat bugs have been assigned in May, and haven't been
 updated since then.  i am guessing they are considered low priority.
 in the meantime, dump or restore or both (most likely) are broken on
 alpha.
 
 anyone has any ideas?
 
 
 
 > same here.  i can dump successfully, but my alpha (alphaserver 1000,
 > mikasa redhat 6.0) cannot read it's own tapes - "Tape is not a dump
 > tape".  It also fails to read i386/RH6.0 dump tapes with the same
 error
 > message.
 >
 > my i686(PII)RH6.0 restore cannot read tapes made on the alpha
 described
 > above, again with the same error message.
 >
 > looks like there is a problem with dump-0.4.x rpm on both alpha and
 > sparc.  there are two opened bugs on redhat bugzilla:
 >
 > 2989  "dump 0f - / | restore rf -" fails
 > 3190  RH6.0 fails to restore dumps made with RH5.2's dump
 >
 > that are being worked on, from what i can tell.  also, from one of the
 > above bugs it follows that you can downgrade to dump-0.3.x, and that
 > should work
 >
 > In article <7mkv6b$c62$1@netnews.upenn.edu>,
 >   sluskyb@force.stwing.upenn.edu (Ben Slusky) wrote:
 > > Am I the only one having problems with dump and restore? Whenever
 > > I try to restore from a dump (even when the dump was to a file on
 > disk)
 > > restore tells me 'Tape is not a dump tape'.
 > >
 > > I tried doing dumps to files on my Alpha and a friend's Pentium
 > > (both RH 6.0). Neither could restore the other's dumps, however, the
 > > Pentium could restore its own dumps. So I'm inclined to think that
 > > there's something seriously wrong with both /sbin/dump and
 > /sbin/restore
 > > on my Alpha.
 > >
 > > Is it just my Alpha, or everybody's Alpha?
 > >
 > > BTW, 2.2.4-ac1
 > >
 > > TIA,
 > > -
 > > -Ben
 > >
 > > --
 > > Ben Slusky			| There's no such thing as a
 > > sluskyb@stwing.upenn.edu	| stupid question, only stupid
 > > "will program for food"		| people.
 > > PGP keyID E2C2D949		|	www.userfriendly.org


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dump and restore in RH 6.0
  1999-07-26 22:29 dump and restore in RH 6.0 Alex Vorobiev
@ 1999-07-30 13:55 ` Jim Simmons
  1999-08-03 17:08   ` Jeff Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Simmons @ 1999-07-30 13:55 UTC (permalink / raw)
  To: axp-list

I haven't had time to look into it, but I suspect the problem may be related
to the definition of time_t changing.  I seem to remember seeing things that 
indicated problems with this for other things.  Basically, programs are
assuming the wrong size for time_t.  time_t is defined to be an unsigned
long, which on the alpha is 8 bytes.  I'd bet dump/restore are assuming
something is actually an int (4 bytes) when they shouldn't.            

Jim

On Mon, Jul 26, 1999 at 06:29:01PM -0400, Alex Vorobiev wrote:
> 
>  well, i tried using an older version of dump, to no avail.  dump-0.3-17
>  rpm does not install, apparently 'cause of the c lib incompatability
>  (a guess).
>  
>  so, i tried recompiling dump-0.3 from scratch.  i also thought that
>  e2fsprogs-devel is at fault, since dump/restore need to compile against
>  it.  so, also rebuilt the older e2fsporgs-devel and here is what i got:
>  
>  dump version		e2fsprogs version	can read own dumps
>  
>  0.3-17 			1.12-2			no
>  0.3-17			1.14-4			no
>  0.4b4-7			1.12-2			no
>  0.4b4-7			1.14-4			no
>  
>  i am at a loss as to what could be the problem...
>  the relevant RedHat bugs have been assigned in May, and haven't been
>  updated since then.  i am guessing they are considered low priority.
>  in the meantime, dump or restore or both (most likely) are broken on
>  alpha.
>  
>  anyone has any ideas?
>  
>  
>  
>  > same here.  i can dump successfully, but my alpha (alphaserver 1000,
>  > mikasa redhat 6.0) cannot read it's own tapes - "Tape is not a dump
>  > tape".  It also fails to read i386/RH6.0 dump tapes with the same
>  error
>  > message.
>  >
>  > my i686(PII)RH6.0 restore cannot read tapes made on the alpha
>  described
>  > above, again with the same error message.
>  >
>  > looks like there is a problem with dump-0.4.x rpm on both alpha and
>  > sparc.  there are two opened bugs on redhat bugzilla:
>  >
>  > 2989  "dump 0f - / | restore rf -" fails
>  > 3190  RH6.0 fails to restore dumps made with RH5.2's dump
>  >
>  > that are being worked on, from what i can tell.  also, from one of the
>  > above bugs it follows that you can downgrade to dump-0.3.x, and that
>  > should work
>  >
>  > In article <7mkv6b$c62$1@netnews.upenn.edu>,
>  >   sluskyb@force.stwing.upenn.edu (Ben Slusky) wrote:
>  > > Am I the only one having problems with dump and restore? Whenever
>  > > I try to restore from a dump (even when the dump was to a file on
>  > disk)
>  > > restore tells me 'Tape is not a dump tape'.
>  > >
>  > > I tried doing dumps to files on my Alpha and a friend's Pentium
>  > > (both RH 6.0). Neither could restore the other's dumps, however, the
>  > > Pentium could restore its own dumps. So I'm inclined to think that
>  > > there's something seriously wrong with both /sbin/dump and
>  > /sbin/restore
>  > > on my Alpha.
>  > >
>  > > Is it just my Alpha, or everybody's Alpha?
>  > >
>  > > BTW, 2.2.4-ac1
>  > >
>  > > TIA,
>  > > -
>  > > -Ben
>  > >
>  > > --
>  > > Ben Slusky			| There's no such thing as a
>  > > sluskyb@stwing.upenn.edu	| stupid question, only stupid
>  > > "will program for food"		| people.
>  > > PGP keyID E2C2D949		|	www.userfriendly.org
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: dump and restore in RH 6.0
  1999-07-30 13:55 ` Jim Simmons
@ 1999-08-03 17:08   ` Jeff Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Johnson @ 1999-08-03 17:08 UTC (permalink / raw)
  To: axp-list, Jim Simmons

Jim Simmons wrote:
> 
> I haven't had time to look into it, but I suspect the problem may be related
> to the definition of time_t changing.  I seem to remember seeing things that
> indicated problems with this for other things.  Basically, programs are
> assuming the wrong size for time_t.  time_t is defined to be an unsigned
> long, which on the alpha is 8 bytes.  I'd bet dump/restore are assuming
> something is actually an int (4 bytes) when they shouldn't.
> 
> Jim
> 
> On Mon, Jul 26, 1999 at 06:29:01PM -0400, Alex Vorobiev wrote:
> >
> >  well, i tried using an older version of dump, to no avail.  dump-0.3-17
> >  rpm does not install, apparently 'cause of the c lib incompatability
> >  (a guess).
> >
> >  so, i tried recompiling dump-0.3 from scratch.  i also thought that
> >  e2fsprogs-devel is at fault, since dump/restore need to compile against
> >  it.  so, also rebuilt the older e2fsporgs-devel and here is what i got:
> >
> >  dump version         e2fsprogs version       can read own dumps
> >
> >  0.3-17                       1.12-2                  no
> >  0.3-17                       1.14-4                  no
> >  0.4b4-7                      1.12-2                  no
> >  0.4b4-7                      1.14-4                  no
> >
> >  i am at a loss as to what could be the problem...
> >  the relevant RedHat bugs have been assigned in May, and haven't been
> >  updated since then.  i am guessing they are considered low priority.
> >  in the meantime, dump or restore or both (most likely) are broken on
> >  alpha.
> >
> >  anyone has any ideas?
> >
> >
> >
> >  > same here.  i can dump successfully, but my alpha (alphaserver 1000,
> >  > mikasa redhat 6.0) cannot read it's own tapes - "Tape is not a dump
> >  > tape".  It also fails to read i386/RH6.0 dump tapes with the same
> >  error
> >  > message.
> >  >
> >  > my i686(PII)RH6.0 restore cannot read tapes made on the alpha
> >  described
> >  > above, again with the same error message.
> >  >
> >  > looks like there is a problem with dump-0.4.x rpm on both alpha and
> >  > sparc.  there are two opened bugs on redhat bugzilla:
> >  >
> >  > 2989  "dump 0f - / | restore rf -" fails
> >  > 3190  RH6.0 fails to restore dumps made with RH5.2's dump
> >  >
> >  > that are being worked on, from what i can tell.  also, from one of the
> >  > above bugs it follows that you can downgrade to dump-0.3.x, and that
> >  > should work
> >  >
> >  > In article <7mkv6b$c62$1@netnews.upenn.edu>,
> >  >   sluskyb@force.stwing.upenn.edu (Ben Slusky) wrote:
> >  > > Am I the only one having problems with dump and restore? Whenever
> >  > > I try to restore from a dump (even when the dump was to a file on
> >  > disk)
> >  > > restore tells me 'Tape is not a dump tape'.
> >  > >
> >  > > I tried doing dumps to files on my Alpha and a friend's Pentium
> >  > > (both RH 6.0). Neither could restore the other's dumps, however, the
> >  > > Pentium could restore its own dumps. So I'm inclined to think that
> >  > > there's something seriously wrong with both /sbin/dump and
> >  > /sbin/restore
> >  > > on my Alpha.
> >  > >
> >  > > Is it just my Alpha, or everybody's Alpha?
> >  > >
> >  > > BTW, 2.2.4-ac1
> >  > >

I believe the worst problems have been fixed in dump-0.4b4-9
available in Raw Hide (next release if not there already).
At least one gentleman reports success at dumping and restoring
on an alpha. He also said that he could restore an i386 dump
on an alpha.

There will probably be an errata as soon as I can figger
out what's going on with multi-volume dump/restore.

If you do try dump-0.4b4-9, please report any bugs/problems
(or even successes) at http://developer.redhat.com/bugzilla
so that the problems can be fixed.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-08-03 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-26 22:29 dump and restore in RH 6.0 Alex Vorobiev
1999-07-30 13:55 ` Jim Simmons
1999-08-03 17:08   ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox