Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Marking a bad sector in AdvFS on Digital Unix
@ 2006-12-28 15:24 Frank J. Perricone
  2007-01-02 13:30 ` Frank J. Perricone
  2007-01-05 19:21 ` Dan Riley
  0 siblings, 2 replies; 5+ messages in thread
From: Frank J. Perricone @ 2006-12-28 15:24 UTC (permalink / raw)


During a regularly scheduled defrag of our Digital Unix 4.0d system's AdvFS
partitions, a bad sector was found.  We renamed the file, then recovered
what we could from it and rebuilt the database it contained into a new file
with the old filename, so our system is up and all is well.

However, every night I get this error message in my defrag results:

defragment: Defragmented domain 'root_domain'
defragment: Can't move file /dlc/database/inv/baditr.datafile
defragment: Error = I/O error
defragment: Can't defragment domain 'db_domain'
defragcron: could not defragment domain 'db_domain'

It's doing no harm I can see (and, after a few weeks, no more bad sectors
have cropped up, so it doesn't seem that this is more than an isolated
failure on the disk).  However, I've been unable to figure out how to get
rid of it.  I can't delete the bad data file and wouldn't want to if I
could, as I don't want that sector used by anything else.  I've tried
dismounting and running verify but it reported no problems and made no
changes.

Any suggestions?

-- 
Frank J. Perricone                               frank@dlc.state.vt.us
IT Manager                             802-828-4926  Fax: 802-828-2803
Vermont Department of Liquor Control       http://www.state.vt.us/dlc/


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

* Re: Marking a bad sector in AdvFS on Digital Unix
  2006-12-28 15:24 Marking a bad sector in AdvFS on Digital Unix Frank J. Perricone
@ 2007-01-02 13:30 ` Frank J. Perricone
  2007-01-02 19:14   ` Doug Freyburger
  2007-01-02 21:37   ` Michael Heiming
  2007-01-05 19:21 ` Dan Riley
  1 sibling, 2 replies; 5+ messages in thread
From: Frank J. Perricone @ 2007-01-02 13:30 UTC (permalink / raw)


On Thu, 28 Dec 2006 10:24:09 -0500, Frank J. Perricone
<frank.perricone@state.vt.us> wrote:

> During a regularly scheduled defrag of our Digital Unix 4.0d system's AdvFS
> partitions, a bad sector was found.  We renamed the file, then recovered
> what we could from it and rebuilt the database it contained into a new file
> with the old filename, so our system is up and all is well.
> 
> However, every night I get this error message in my defrag results:
> 
> defragment: Defragmented domain 'root_domain'
> defragment: Can't move file /dlc/database/inv/baditr.datafile
> defragment: Error = I/O error
> defragment: Can't defragment domain 'db_domain'
> defragcron: could not defragment domain 'db_domain'
> 
> It's doing no harm I can see (and, after a few weeks, no more bad sectors
> have cropped up, so it doesn't seem that this is more than an isolated
> failure on the disk).  However, I've been unable to figure out how to get
> rid of it.  I can't delete the bad data file and wouldn't want to if I
> could, as I don't want that sector used by anything else.  I've tried
> dismounting and running verify but it reported no problems and made no
> changes.
> 
> Any suggestions?

Bump.  Anyone?

-- 
Frank J. Perricone                               frank@dlc.state.vt.us
IT Manager                             802-828-4926  Fax: 802-828-2803
Vermont Department of Liquor Control       http://www.state.vt.us/dlc/


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

* Re: Marking a bad sector in AdvFS on Digital Unix
  2007-01-02 13:30 ` Frank J. Perricone
@ 2007-01-02 19:14   ` Doug Freyburger
  2007-01-02 21:37   ` Michael Heiming
  1 sibling, 0 replies; 5+ messages in thread
From: Doug Freyburger @ 2007-01-02 19:14 UTC (permalink / raw)


Frank J. Perricone wrote:
> Frank J. Perricone wrote:
>
> > During a regularly scheduled defrag of our Digital Unix 4.0d system's AdvFS
> > partitions, a bad sector was found.  We renamed the file, then recovered
> > what we could from it and rebuilt the database it contained into a new file
> > with the old filename, so our system is up and all is well.
>
> > However, every night I get this error message in my defrag results:
>
> > defragment: Defragmented domain 'root_domain'
> > defragment: Can't move file /dlc/database/inv/baditr.datafile
> > defragment: Error = I/O error
> > defragment: Can't defragment domain 'db_domain'
> > defragcron: could not defragment domain 'db_domain'
>
> > It's doing no harm I can see (and, after a few weeks, no more bad sectors
> > have cropped up, so it doesn't seem that this is more than an isolated
> > failure on the disk).  However, I've been unable to figure out how to get
> > rid of it.  I can't delete the bad data file and wouldn't want to if I
> > could, as I don't want that sector used by anything else.  I've tried
> > dismounting and running verify but it reported no problems and made no
> > changes.
>
> > Any suggestions?
>
> Bump.  Anyone?

It's been too long since I did a lot of Tru64/DU/Ultrix support to
remember all of the things that verify does.

SCSI drives maintain spare blocks so they can redirect traffic from
failed spots.  If that feature is set to automatic the spares may
all be used and you have a bad drive.  if that feautre is manual
you need to use a utility that scans the entire surface.  I know the
Solaris "format" does that but I don't know if the DU "verify" does
that.

Your worst case is to relocate the domain off of that device,
replace the disk, and move the domain back onto the new
device.

As to deleting the bad file, you could probably use "unlink"
but that would leave the blocks allocated and eventually an
fsck would put them back in lost+found.



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

* Re: Marking a bad sector in AdvFS on Digital Unix
  2007-01-02 13:30 ` Frank J. Perricone
  2007-01-02 19:14   ` Doug Freyburger
@ 2007-01-02 21:37   ` Michael Heiming
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Heiming @ 2007-01-02 21:37 UTC (permalink / raw)


In comp.unix.admin Frank J. Perricone <frank.perricone@state.vt.us>:
> On Thu, 28 Dec 2006 10:24:09 -0500, Frank J. Perricone
> <frank.perricone@state.vt.us> wrote:

>> During a regularly scheduled defrag of our Digital Unix 4.0d system's AdvFS
>> partitions, a bad sector was found.  We renamed the file, then recovered
>> what we could from it and rebuilt the database it contained into a new file
>> with the old filename, so our system is up and all is well.

>> However, every night I get this error message in my defrag results:

>> defragment: Defragmented domain 'root_domain'
>> defragment: Can't move file /dlc/database/inv/baditr.datafile
>> defragment: Error = I/O error
>> defragment: Can't defragment domain 'db_domain'
>> defragcron: could not defragment domain 'db_domain'

>> It's doing no harm I can see (and, after a few weeks, no more bad sectors
>> have cropped up, so it doesn't seem that this is more than an isolated
>> failure on the disk).  However, I've been unable to figure out how to get
>> rid of it.  I can't delete the bad data file and wouldn't want to if I
>> could, as I don't want that sector used by anything else.  I've tried
>> dismounting and running verify but it reported no problems and made no
>> changes.

>> Any suggestions?

> Bump.  Anyone?

Simply stop defragmenting AdvFS, this isn't doze. There isn't
much if anything you will gain from it. Better check your
underlying hardware/controller for any physical problem. In
addition 4.0D is a bit old.

Hopefully you have good backups, while they were rare I can
remember a few advfs domain panics with 4.0D/F.;( Remote guess,
you haven't installed a single patchkit?

Good luck

-- 
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 274: It was OK before you touched it.


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

* Re: Marking a bad sector in AdvFS on Digital Unix
  2006-12-28 15:24 Marking a bad sector in AdvFS on Digital Unix Frank J. Perricone
  2007-01-02 13:30 ` Frank J. Perricone
@ 2007-01-05 19:21 ` Dan Riley
  1 sibling, 0 replies; 5+ messages in thread
From: Dan Riley @ 2007-01-05 19:21 UTC (permalink / raw)


Frank J. Perricone <frank.perricone@state.vt.us> writes:
> During a regularly scheduled defrag of our Digital Unix 4.0d system's AdvFS
> partitions, a bad sector was found.
[...]
> defragment: Defragmented domain 'root_domain'
> defragment: Can't move file /dlc/database/inv/baditr.datafile
> defragment: Error = I/O error

Look for SCSI errors in "uerf -R -o full".  Find the block number of
the failing block and forcibly spare it out via the "reassign lba"
command in scu.

-dan


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

end of thread, other threads:[~2007-01-05 19:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28 15:24 Marking a bad sector in AdvFS on Digital Unix Frank J. Perricone
2007-01-02 13:30 ` Frank J. Perricone
2007-01-02 19:14   ` Doug Freyburger
2007-01-02 21:37   ` Michael Heiming
2007-01-05 19:21 ` Dan Riley

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