Date: Wed, 10 Nov 2004 11:27:25 -0500 (EST) From: Jerry McAllister <jerrymc@clunix.cl.msu.edu> To: matt@wrongcrowd.com (Matt Staroscik) Cc: freebsd-questions@freebsd.org Subject: Re: Do you need to dismount /usr to dump it? Message-ID: <200411101627.iAAGRQE18873@clunix.cl.msu.edu> In-Reply-To: <6.1.2.0.2.20041109210506.08edc590@mail.speakeasy.net> from "Matt Staroscik" at Nov 09, 2004 09:21:42 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > > If I boot to single-user mode (reboot, hit space, do boot -s) and dump /usr > to a file, I get read errors on a couple of blocks. > > Running fsck -y (also in single user of course) did not show a problem, but > it did not clear up the errors when I tried the dump again. > > I thought it was safe to dump /usr in single-user mode. Will I need to boot > off a CD or try another trick to get a clean dump of /usr? Or perhaps I am > not using the right fsck options? > > the dump command I used is: > dump 0af /someotherplace/filename.dump /usr > > This seemed to work fine for / and my other filesystems. Your problem seems to be bad blocks in the /usr file system. That has nothing to do with dump. It is a bad spot on the disk. fsck will not fix that sort of thing. If you can figure out what files sit on the bad spots, you might be able to delete them and then do your dump. Then you should immediately replace the disk. ////jerry > > Thanks! > > - matt s. > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > Matt Staroscik * KF6IYW * mstar@speakeasy.net * http://wrongcrowd.com > "The combined weight of the horrors I have authored wrought would crush > your carbon hearts into perfect diamonds of terror." > -- Leonid Kasparov Destroyovitch >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411101627.iAAGRQE18873>