*BSD News Article 95405


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!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Making disk image backup
Date: 15 May 1997 14:36:16 GMT
Organization: Awfulhak Ltd.
Lines: 34
Message-ID: <5lf710$3av@ui-gate.utell.co.uk>
References: <01bc60df$afc618a0$16143ccb@clementc.ans.com.au>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40951

In article <01bc60df$afc618a0$16143ccb@clementc.ans.com.au>,
	"Clement Cheung" <clement@ans.com.au> writes:
> I use this command to make disk image backup:
> 
> 	dd if=/dev/wd0c of=/dev/wd2c bs=1024k
> 
> It works well in BSDI 2.1.  It seeems to work in FreeBSD 2.2.1 as well. 
> But I get this error message after using it:
> 
> 	dd: /dev/wd0c: Invalid argument
> 
> Do you have a solution?  Or can I simply ignore it?

This error says you have no FreeBSD partition on IDE disk 0.
I'd suggest that you specify the slice that you want to
dump from - ie. wd0s0 for slice 0.

AFAIK, there's no device that represents the whole physical
disk anymore.  Please, someone, tell me I'm wrong.

> The configuration is as below:
> 	Pentium 180
> 	128MB
> 	2.5GB EIDE as master on IDE 0
> 	2.5GB EIDE as master on IDE 1
> 	FreeBSD v2.2.1
> 
> Thank you very much for your help.
> 

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !