Subject: Re: what is dump telling me?
To: None <netbsd-help@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 01/27/2003 20:31:40
On Mon, 27 Jan 2003 21:29:53 +0100, Manuel Bouyer <bouyer@antioche.eu.org>
wrote:
> On Sun, Jan 26, 2003 at 06:46:52PM -0500, James K. Lowden wrote:
> > I'm trying to be a good boy and use dump+restore properly to back up
> > /usr.
> >  To move wd0e to wd1e, I did:
> > 
> > $ mount                         
> > /dev/wd0a on / type ffs (local)
> > /dev/wd0e on /usr type ffs (local)
> > /dev/wd0f on /usr/local/play type ffs (local)
> > kernfs on /kern type kernfs (local)
> > /dev/wd1e on /mnt type ffs (local)
> > $ pwd                           
> > /mnt
> > $ dump 0f - /usr  |restore -xf -
> 
> What does 
> fsck -fn /usr
> report ?

Three inodes without names, if I understand correctly:

$ fsck -fn /usr
** /dev/rwd0e (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=87382  OWNER=root MODE=100755
SIZE=35910 MTIME=Dec 30 15:35 2002 
CLEAR? no

UNREF FILE I=89383  OWNER=root MODE=100755
SIZE=477267 MTIME=Dec 30 15:35 2002 
CLEAR? no

UNREF FILE I=2269884  OWNER=jklowden MODE=100644
SIZE=29186 MTIME=Dec 11 00:12 2002 
CLEAR? no

** Phase 5 - Check Cyl groups
209722 files, 5698463 used, 3620990 free (54134 frags, 445857 blocks, 0.6%
fragmentation)

Nothing grossly wrong, no?  I'm rerunning just the dump to capture the
whole stderr output, in case there's clue near the top.  

Thanks for your help, Manuel.

--jkl