lseek2 - bread errors from dump script

lseek2 - bread errors from dump script

Post by Nardi » Sat, 22 Dec 2001 06:36:20



Errors when I perform dumps to a tape on remote machine:

  DUMP: short read error from /dev/sdc1: [sector -1537013765]:
count=512, got=0
  DUMP: bread: lseek2 fails!
  DUMP: short read error from /dev/sdc1: [sector -1537013764]:
count=512, got=0
  DUMP: bread: lseek2 fails!
  DUMP: short read error from /dev/sdc1: [sector -1537013763]:
count=512, got=0
  DUMP: bread: lseek2 fails!

the dump script executes:

    /sbin/dump 0dsf 122000 140000 $TAPE $FS

This script is identical to two other machines that I backup remotely as

well (same tapehost, etc).  The script worked fine until a couple of
days ago. not only do I get the errors on sdc1 but also on /dev/md0 (see

fstab).  Interesting to note that backup of /boot works fine (same
physical disks as the md0 set).  There is nothing wrong with the disks -

no controller or disk errors in log files, system reboots cleanly
without fsck, etc.  Disks are all SCSI, OS is RH 7.0 - RH6.2 on machine
with tape drive (HP 4mm DAT).  Strace of dumpscript doesn't show any
obvious clues.

/etc/fstab
/dev/md3                /                       ext2    defaults 1 1
/dev/md0                /boot                   ext2    defaults 1 2
/dev/sdc1               /home                   ext2    defaults 1 2

 
 
 

lseek2 - bread errors from dump script

Post by Rev. Don Koo » Sat, 22 Dec 2001 23:50:22



> Errors when I perform dumps to a tape on remote machine:

[...off-topic LINTEL quandry snipped...]

        Moron, post your LINTEL questions to the LINTEL newsgroups.  They are
off-topic on UNIX newsgroups.

                Happy to have cleared things up for you,
                                Don

--
***********************      You a bounty hunter?
* Rev. Don McDonald   *      Man's gotta earn a living.
* Baltimore, MD       *      Dying ain't much of a living, boy.
***********************             "Outlaw Josey Wales"

 
 
 

lseek2 - bread errors from dump script

Post by Doug Freyubrg » Sun, 23 Dec 2001 02:30:27



> Errors when I perform dumps to a tape on remote machine:
>   DUMP: short read error from /dev/sdc1: [sector -1537013765]:
> count=512, got=0
>   DUMP: bread: lseek2 fails!
> the dump script executes:
>     /sbin/dump 0dsf 122000 140000 $TAPE $FS

You are dumping to a filesystem that is active.  One of the files on it got
shorter between the phase of the dump that mapped all of the inodes and their
sizes and the phases that copied that particular file to tape.

As you noted, a filesystem with much less activity will see this error much
less often, and a filesystem like /boot that may as well be read-only will
never get this error.

The more data your filesystem contains, and the more files it contains, and the
more active the files on it are being changed, the more often you will encounter
this error.  Fix by running backups at a lull time, getting faster tapes, doing
some sort of mirror/break-mirror/backup-offline-copy, orr similar.

 
 
 

1. bread error with dump

Hello,

For the first time in my life, I've gotten the following error from dump:

  <stuff deleted>
  DUMP: (This should not happen)bread from /dev/rxd1g [block 997600]: count=8192
, got=-1
  DUMP: 68.36% done, finished in 0:06
  DUMP: (This should not happen)bread from /dev/rxd1g [block 1028326]: count=512
0, got=-1
  DUMP: (This should not happen)bread from /dev/rxd1g [block 1028336]: count=819
2, got=-1
  DUMP: 92.57% done, finished in 0:01
  DUMP: (This should not happen)bread from /dev/rxd1g [block 990336]: count=8192
, got=-1
  DUMP: (This should not happen)bread from /dev/rxd1g [block 992144]: count=8192
, got=-1

This is happening consistently. Are these bad blocks that I need to map out?
I'm sure this is a straightforward thing that many of you have seen before....

I'm on a Sun 4/260 running SunOS 4.0.3.


Thanks,
Janine A. Roeth
Apple Computer, Inc.

2. 256k cache vs 512k?

3. DUMP: BREAD: dev_seek error...

4. Questions to test UNIX system administrator

5. Dump problems on striped partition - bread errors

6. RTL8029 on Solaris 10

7. SunOS 4.1.3_u1 - dump bread: lseek fails???

8. Disk full make EXT2FS panic...

9. rdump 'bread' error

10. ufsdump problems on 5.5; bread, llseek errors

11. bread/bwrite error during creation of mksysb tape

12. LINUX error - DOS Bread failed - HELP!!!

13. bread error using ncr boot disk