From owner-freebsd-questions Mon Oct 28 15: 2:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3989937B401 for ; Mon, 28 Oct 2002 15:02:33 -0800 (PST) Received: from lyceum.netmojo.ca (lyceum.pims.sfu.ca [142.58.49.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9960A43E42 for ; Mon, 28 Oct 2002 15:02:27 -0800 (PST) (envelope-from brent@lyceum.netmojo.ca) Received: (from brent@localhost) by lyceum.netmojo.ca (8.11.6/8.11.6) id g9SN27H11896; Mon, 28 Oct 2002 15:02:07 -0800 (PST) (envelope-from brent) Date: Mon, 28 Oct 2002 15:02:07 -0800 From: Brent Kearney To: Lowell Gilbert Cc: freebsd-questions@FreeBSD.ORG Subject: Re: DUMP: bad sblock magic number Message-ID: <20021028150207.A11821@kearneys.ca> Reply-To: brent@kearneys.ca References: <20021021174837.A77115@kearneys.ca> <444rbfw7av.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 X-URL: http://brent.kearneys.ca Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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