Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Oct 2002 15:02:07 -0800
From:      Brent Kearney <brent@kearneys.ca>
To:        Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DUMP: bad sblock magic number
Message-ID:  <20021028150207.A11821@kearneys.ca>
In-Reply-To: <444rbfw7av.fsf@be-well.ilk.org>; from freebsd-questions-local@be-well.no-ip.com on Mon, Oct 21, 2002 at 10:12:24PM -0400
References:  <20021021174837.A77115@kearneys.ca> <444rbfw7av.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks for the reply.  I must have been thinking of ufsdump from
solaris... I'm having another difficulty with dump on FreeBSD 4.2
though:  the "nodump" flag is being ignored. 

Since I can't dump directories, and I need to dump /home/foo, I
set `chflag nodump` to /home/*, and then removed "nodump" for 
/home/foo.  Doing the same dump command I issue below simply 
ignores the nodump flags and tries to dump the whole /home fs.
The same thing happens for different dump levels, and with '-h 1'
or without the -h flag.

Is the "nodump" flag a documented, but un-implemented feature?

Thanks again,

Brent


On Mon, Oct 21, 2002 at 10:12:24PM -0400, Lowell Gilbert wrote:
> Brent Kearney <brent@kearneys.ca> writes:
> 
> > Hello, I'm trying the following on FreeBSD 4.2:
> > 
> > dump -0 -h 0 -u -a -f /dev/nsa0 /home/foo
> > 
> > And the dump is dying with the message:
> > 
> >   DUMP: Dumping /home/shared to /dev/nsa0
> >   DUMP: bad sblock magic number
> >   DUMP: The ENTIRE dump is aborted.
> > 
> > /home/foo is not a mount point, but I seem to remember FreeBSD's dump 
> > being able to dump subdirectories.
> 
> The man page seems to say otherwise, so you're on your own there.
> Luckily, you have the source.
> 
> >                                     I can dump /home (which is a mount
> > point) without any errors, so its not a problem with /dev/nsa0.  What
> > does "bad sblock magic number" mean?
> 
> It means, more or less, that it can't find a valid filesystem for the
> parameters given it.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021028150207.A11821>