* Re: Still errors (Any ideas!?!?)
[not found] <199807291044.LAA00847@dax.dcs.ed.ac.uk>
@ 1998-07-29 16:12 ` Randy Carpenter
1998-07-29 22:59 ` Stephen C. Tweedie
0 siblings, 1 reply; 12+ messages in thread
From: Randy Carpenter @ 1998-07-29 16:12 UTC (permalink / raw)
To: Stephen C. Tweedie; +Cc: axp-list
> If this is a backup of an active live filesystem, then these kind of
> errors are expected. dump(8) reads the low-level filesystem directly
> from the block device, and if that is changing under your feet, then
> it can't get a consistent image of the disk. All versions of dump do
> this; it's not just a Linux thing.
This is what we were thinking... we run MRTG which has alot of file
updates... WHen I get this error, does it mean that there were files
that were *not* backed up? The dump finishes ok, other than these errors.
Should the backup be ok, or is it destroyed as a result of these errors?
> Having said that, we are looking at the possibility of adding minimal
> extra kernel-level file locking support to eliminate the problems in a
> future version of ext2.
That would be way cool.
thanks,
-Randy
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Still errors (Any ideas!?!?)
1998-07-29 16:12 ` Still errors (Any ideas!?!?) Randy Carpenter
@ 1998-07-29 22:59 ` Stephen C. Tweedie
0 siblings, 0 replies; 12+ messages in thread
From: Stephen C. Tweedie @ 1998-07-29 22:59 UTC (permalink / raw)
To: Randy Carpenter; +Cc: Stephen C. Tweedie, axp-list
Hi,
On Wed, 29 Jul 1998 12:12:31 -0400 (EWT), Randy Carpenter
<rcarpen@celt.network1.net> said:
>> If this is a backup of an active live filesystem, then these kind of
>> errors are expected. dump(8) reads the low-level filesystem directly
>> from the block device, and if that is changing under your feet, then
>> it can't get a consistent image of the disk. All versions of dump do
>> this; it's not just a Linux thing.
> This is what we were thinking... we run MRTG which has alot of file
> updates... WHen I get this error, does it mean that there were files
> that were *not* backed up? The dump finishes ok, other than these errors.
> Should the backup be ok, or is it destroyed as a result of these errors?
It means that some inodes which were deleted between the start of the
backup and the end of it may not be consistent on tape: not too big a
deal. Any data which was stable during the backup WILL be backed up,
and any data which was created after the start of the backup will make
the next incremental dump.
--Stephen
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Still errors (Any ideas!?!?)
@ 1998-07-31 12:28 Greg Lindahl
0 siblings, 0 replies; 12+ messages in thread
From: Greg Lindahl @ 1998-07-31 12:28 UTC (permalink / raw)
To: axp-list
> It means that some inodes which were deleted between the start of the
> backup and the end of it may not be consistent on tape: not too big a
> deal. Any data which was stable during the backup WILL be backed up,
> and any data which was created after the start of the backup will make
> the next incremental dump.
This is the conventional wisdom, but it isn't true. In my testing of
backups, stable files have sometimes been the ones lost. In addition,
the block numbers in an inode should always be in range, because
inodes are all written when the filesystem is constructed and are
never overwritten with garbage, but dump is claiming that inodes
contain block numbers which are not in range.
-- g
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Still errors (Any ideas!?!?)
@ 1998-07-27 18:38 Greg Lindahl
1998-07-28 2:20 ` Derrick J Brashear
0 siblings, 1 reply; 12+ messages in thread
From: Greg Lindahl @ 1998-07-27 18:38 UTC (permalink / raw)
To: axp-list
> > DUMP: short read error from /dev/sda6: [block -557397338]: count=1024,got=0
> > DUMP: bread: lseek2 fails!
>
> Is it only when you use the tape? fwiw, I just backed up about 500MB to a
> local tape without any problems using tar and st0 on a UDB.
It's a potential disk problem, nothing to do with tape. I used to get
this intermittantly on my sun cluster backing up its TB of
disk. Actually what I really suspect is that dump has a bug that
causes it to occasionally get garbage data from an inode, so it
attempts to read bogus block numbers (note the negative number). But,
short of actually fixing dump (unreliable piece of shit that it is), I
would just double-check the hardware. Occasionally I'd find a problem.
If you restore a bunch of dumped partitions, you'll note that a few
percent of them are invalid, possibly for the same reason. Generally
it's just one poison file.
-- g
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Still errors (Any ideas!?!?)
1998-07-27 18:38 Greg Lindahl
@ 1998-07-28 2:20 ` Derrick J Brashear
0 siblings, 0 replies; 12+ messages in thread
From: Derrick J Brashear @ 1998-07-28 2:20 UTC (permalink / raw)
To: axp-list
On Mon, 27 Jul 1998, Greg Lindahl wrote:
> > > DUMP: short read error from /dev/sda6: [block -557397338]: count=1024,got=0
> > > DUMP: bread: lseek2 fails!
> >
> > Is it only when you use the tape? fwiw, I just backed up about 500MB to a
> > local tape without any problems using tar and st0 on a UDB.
>
> It's a potential disk problem, nothing to do with tape. I used to get
> this intermittantly on my sun cluster backing up its TB of
> disk. Actually what I really suspect is that dump has a bug that
> causes it to occasionally get garbage data from an inode, so it
> attempts to read bogus block numbers (note the negative number). But,
> short of actually fixing dump (unreliable piece of shit that it is), I
> would just double-check the hardware. Occasionally I'd find a problem.
I fixed a bug in dump some time back (for redhat 4.2/sparc) where some
fields weren't being byte swapped, which led to errors like this. it's
unlikely that this is the problem, but it's a likely direction
-D
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Still errors (Any ideas!?!?)
@ 1998-07-27 16:15 Greg Lindahl
1998-07-27 16:44 ` Randy Carpenter
0 siblings, 1 reply; 12+ messages in thread
From: Greg Lindahl @ 1998-07-27 16:15 UTC (permalink / raw)
To: axp-list
> I'm still getting the following whe I run a tape backup:
>
> DUMP: short read error from /dev/sda6: [block -557397338]: count=1024,got=0
> DUMP: bread: lseek2 fails!
> DUMP: short read error from /dev/sda6: [sector -557397338]: count=512,got=0
> DUMP: bread: lseek2 fails!
> DUMP: short read error from /dev/sda6: [sector -557397337]: count=512,got=0
> DUMP: bread: lseek fails
> DUMP: bread: lseek fails
> DUMP: bread: lseek fails
>
> The machine is a PC164, 533Mhz. It is using rdump across the network to a
> 4/8GB seagate DDS2 drive. The alpha has Redhat 5.0 installed. I sent
> this problem a while ago, and got no response.
You can get this on any machine. At the minimum, you should fsck the
disk. Even better would be to test the entire disk. I don't know of a
utility under Linux to do this (and dd if=/dev/sda of=/dev/null can
generate some bizarre errors under 5.0...)
-- g
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Still errors (Any ideas!?!?)
1998-07-27 16:15 Greg Lindahl
@ 1998-07-27 16:44 ` Randy Carpenter
0 siblings, 0 replies; 12+ messages in thread
From: Randy Carpenter @ 1998-07-27 16:44 UTC (permalink / raw)
To: axp-list
> You can get this on any machine. At the minimum, you should fsck the
> disk. Even better would be to test the entire disk. I don't know of a
> utility under Linux to do this (and dd if=/dev/sda of=/dev/null can
> generate some bizarre errors under 5.0...)
What is strange is that I only get the errors ever 2 or 3 times it is
run... and there is no reboot or fsck in between...
What exactly does a 'bread: lseek fails' error mean?
-Randy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Still errors (Any ideas!?!?)
@ 1998-07-27 15:55 Randy Carpenter
1998-07-27 16:18 ` David Alan Gilbert
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Randy Carpenter @ 1998-07-27 15:55 UTC (permalink / raw)
To: axp-list
I'm still getting the following whe I run a tape backup:
DUMP: short read error from /dev/sda6: [block -557397338]: count=1024,got=0
DUMP: bread: lseek2 fails!
DUMP: short read error from /dev/sda6: [sector -557397338]: count=512,got=0
DUMP: bread: lseek2 fails!
DUMP: short read error from /dev/sda6: [sector -557397337]: count=512,got=0
DUMP: bread: lseek fails
DUMP: bread: lseek fails
DUMP: bread: lseek fails
The machine is a PC164, 533Mhz. It is using rdump across the network to a
4/8GB seagate DDS2 drive. The alpha has Redhat 5.0 installed. I sent
this problem a while ago, and got no response.
____________________________________________________________________
Randy Carpenter - UNIX Systems Admin First Network Group
rcarpen@celt.network1.net Wapakoneta, OH
____________________________________________________________________
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Still errors (Any ideas!?!?)
1998-07-27 15:55 Randy Carpenter
@ 1998-07-27 16:18 ` David Alan Gilbert
1998-07-27 17:22 ` Randy Carpenter
1998-07-27 18:28 ` Christopher Curtis
1998-07-27 18:35 ` Wes Bauske
2 siblings, 1 reply; 12+ messages in thread
From: David Alan Gilbert @ 1998-07-27 16:18 UTC (permalink / raw)
To: axp-list
Randy Carpenter wrote:
>
> I'm still getting the following whe I run a tape backup:
>
> DUMP: short read error from /dev/sda6: [block -557397338]: count=1024,got=0
> DUMP: bread: lseek2 fails!
> DUMP: short read error from /dev/sda6: [sector -557397338]: count=512,got=0
> DUMP: bread: lseek2 fails!
> DUMP: short read error from /dev/sda6: [sector -557397337]: count=512,got=0
> DUMP: bread: lseek fails
> DUMP: bread: lseek fails
> DUMP: bread: lseek fails
>
> The machine is a PC164, 533Mhz. It is using rdump across the network to a
> 4/8GB seagate DDS2 drive. The alpha has Redhat 5.0 installed. I sent
> this problem a while ago, and got no response.
1) Check your logs - I presume your not seeing any SCSI errors.
2) How big is the partition? Many GB?
3) What happens if you dump it to /dev/null on your Alpha - does
it work then? (...and can you read it back..... :-)
Dave
--
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work: dg @ cogency.co.uk - +44-(0)161-428-9444 -
- Home: gro.gilbert @ treblig.org - -
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Still errors (Any ideas!?!?)
1998-07-27 16:18 ` David Alan Gilbert
@ 1998-07-27 17:22 ` Randy Carpenter
0 siblings, 0 replies; 12+ messages in thread
From: Randy Carpenter @ 1998-07-27 17:22 UTC (permalink / raw)
To: axp-list
> 1) Check your logs - I presume your not seeing any SCSI errors.
no errors.
> 2) How big is the partition? Many GB?
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/sda6 2544370 129073 2283732 5% /home
> 3) What happens if you dump it to /dev/null on your Alpha - does
> it work then? (...and can you read it back..... :-)
No problems...
--Randy
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Still errors (Any ideas!?!?)
1998-07-27 15:55 Randy Carpenter
1998-07-27 16:18 ` David Alan Gilbert
@ 1998-07-27 18:28 ` Christopher Curtis
1998-07-27 18:35 ` Wes Bauske
2 siblings, 0 replies; 12+ messages in thread
From: Christopher Curtis @ 1998-07-27 18:28 UTC (permalink / raw)
To: axp-list
On Mon, 27 Jul 1998, Randy Carpenter wrote:
> I'm still getting the following whe I run a tape backup:
>
> DUMP: short read error from /dev/sda6: [block -557397338]: count=1024,got=0
> DUMP: bread: lseek2 fails!
Is it only when you use the tape? fwiw, I just backed up about 500MB to a
local tape without any problems using tar and st0 on a UDB.
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Still errors (Any ideas!?!?)
1998-07-27 15:55 Randy Carpenter
1998-07-27 16:18 ` David Alan Gilbert
1998-07-27 18:28 ` Christopher Curtis
@ 1998-07-27 18:35 ` Wes Bauske
2 siblings, 0 replies; 12+ messages in thread
From: Wes Bauske @ 1998-07-27 18:35 UTC (permalink / raw)
To: axp-list
Randy Carpenter wrote:
>
> I'm still getting the following whe I run a tape backup:
>
> DUMP: short read error from /dev/sda6: [block -557397338]: count=1024,got=0
> DUMP: bread: lseek2 fails!
> DUMP: short read error from /dev/sda6: [sector -557397338]: count=512,got=0
> DUMP: bread: lseek2 fails!
> DUMP: short read error from /dev/sda6: [sector -557397337]: count=512,got=0
> DUMP: bread: lseek fails
> DUMP: bread: lseek fails
> DUMP: bread: lseek fails
>
I use 8mm's locally without problems so I don't think it's
a tape problem. Maybe you found a bug in rdump? Odd that
it isn't repeatable but then again, I doubt your file system
is identical between runs so it could be data dependent.
Possibly something is not defined as a long and should have
been. Negative blocks/sectors are probably not good. Try
load the rdump sources and look where those numbers came
from and how they were defined.
Wes
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1998-07-31 12:28 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199807291044.LAA00847@dax.dcs.ed.ac.uk>
1998-07-29 16:12 ` Still errors (Any ideas!?!?) Randy Carpenter
1998-07-29 22:59 ` Stephen C. Tweedie
1998-07-31 12:28 Greg Lindahl
-- strict thread matches above, loose matches on Subject: below --
1998-07-27 18:38 Greg Lindahl
1998-07-28 2:20 ` Derrick J Brashear
1998-07-27 16:15 Greg Lindahl
1998-07-27 16:44 ` Randy Carpenter
1998-07-27 15:55 Randy Carpenter
1998-07-27 16:18 ` David Alan Gilbert
1998-07-27 17:22 ` Randy Carpenter
1998-07-27 18:28 ` Christopher Curtis
1998-07-27 18:35 ` Wes Bauske
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox