Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Doug Freyburger" <dfreybur@yahoo.com>
Subject: Re: Marking a bad sector in AdvFS on Digital Unix
Date: 2 Jan 2007 11:14:42 -0800	[thread overview]
Message-ID: <1167765281.998652.195630@k21g2000cwa.googlegroups.com> (raw)
In-Reply-To: kinkp21g0fe117cotals7jvknug0eu77g9@4ax.com

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.



  reply	other threads:[~2007-01-02 19:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2007-01-02 21:37   ` Michael Heiming
2007-01-05 19:21 ` Dan Riley
read-only archive

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