*BSD News Article 80666


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news1.wtn.mci.net!newsfeed.internetmci.com!news.sgi.com!mr.net!uunet!news-in2.uu.net!EU.net!main.Germany.EU.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Tape Backup help
Date: 12 Oct 1996 11:20:41 GMT
Organization: Private BSD site, Dresden
Lines: 38
Message-ID: <53nuu9$8p4@uriah.heep.sax.de>
References: <53cjo1$9nf@scipio.cyberstore.ca> <53itmk$bi0@yama.mcc.ac.uk>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

ip@mcc.ac.uk (Ian Pallfreeman) wrote:

> >DUMP: Dumping /home to /dev/erst0
> >DUMP: bad sblock magic number
> >DUMP: The ENTIRE dump is aborted.
> 
> Maybe way off base here, but are you sure /home is a partition and not just
> a directory?

Ah, you're most likely right on this!  It didn't occur me before...
but:

j@uriah 598% /sbin/dump 0f /dev/null /usr/src
  DUMP: Date of this level 0 dump: Sat Oct 12 13:17:54 1996
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /usr/src to /dev/null
  DUMP: bad sblock magic number
  DUMP: The ENTIRE dump is aborted.

(Just tried to dump a random directory.)

> This "bad sblock" appears when you try to dump something which isn't in your
> fstab. It's both confusing and annoying when you're trying to dump a "spare"
> or removable disk, since you have to temporarily put it into fstab.

That's not right.  You can always specify the raw device explicitly.

However, i think the original poster stumpled across the problem that
he was trying to dump only _part_ of a filesystem, which is simply
impossible due to the way how dump works (by scanning the raw dev that
corresponds to the filesystem).

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)