Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Nov 2004 21:21:42 -0800
From:      Matt Staroscik <matt@wrongcrowd.com>
To:        freebsd-questions@freebsd.org
Subject:   Do you need to dismount /usr to dump it?
Message-ID:  <6.1.2.0.2.20041109210506.08edc590@mail.speakeasy.net>

next 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.

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?6.1.2.0.2.20041109210506.08edc590>