*BSD News Article 90766


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!news.sgi.com!newsfeed.nacamar.de!news-kar1.dfn.de!news-stu1.dfn.de!news-mue1.dfn.de!news-nue1.dfn.de!news-lei1.dfn.de!news-ber1.dfn.de!news-ham1.dfn.de!news-han1.dfn.de!news-koe1.dfn.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!u
senet
From: ignatios@cs.uni-bonn.de (Ignatios Souvatzis)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: badsect or bad144: device busy?
Date: 10 Mar 1997 16:46:06 GMT
Organization: RHRZ - University of Bonn (Germany)
Lines: 27
Message-ID: <5g1dse$10kg@news.rhrz.uni-bonn.de>
References: <33240555.1747220@ghost.whirlpool.com>
NNTP-Posting-Host: cauchy.cs.uni-bonn.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5589

In article <33240555.1747220@ghost.whirlpool.com>,
	wegscd@whirlpool.com (Doug Wegscheid) writes:
> the /usr partition on my IDE drive has developed a bad spot (console
> messages and the nightly maintenance run both tell me so.
> 
> efforts to take the offending sector out of service with badsect are
> futile, even when booted single user: I always get
> /dev/rwd0e:  device busy
> when running badsect.
> 
> what is the correct procedure for recovering from this problem?

Errr... 

1. the badsect manpage seems very complete to me. You might want to
shutdown to single user, and sync, before you start.
You can't access the raw partition associated with a mounted file system
in multi-user mode because of security level > 0 there.

2. bad144 operates on whole disks (that would be /dev/rwd0d on the 
netbsd/i386 port). I don't know wether it supports mixed NetBSD/otherOS-
disks... I'd guess, "no". I don't know wether NetBSD/i386 IDE disks support 
it.


Regards,
	Ignatios Souvatzis