*BSD News Article 95496


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!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!stns.news.pipex.net!warm.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: 16 May 1997 10:17:36 GMT
Organization: Awfulhak Ltd.
Lines: 61
Message-ID: <5lhc80$4ac@ui-gate.utell.co.uk>
References: <01bc60df$afc618a0$16143ccb@clementc.ans.com.au>
    <5lf710$3av@ui-gate.utell.co.uk>
    <01bc6143$53026420$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:41018

In article <01bc6143$53026420$16143ccb@clementc.ans.com.au>,
	"Clement Cheung" <clement@ans.com.au> writes:
> Brian Somers <brian@shift.utell.net> wrote in article
> <5lf710$3av@ui-gate.utell.co.uk>...
>> 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.
> 
> This cannot be right.  IDE disk 0 is where the FreeBSD itself is located. 
> IDE disk 1 is just placed there for the backup.
> 
>> I'd suggest that you specify the slice that you want to
>> dump from - ie. wd0s0 for slice 0.
> 
> Tried, but does not work!

Ahhhh, have you tried specifying the raw partitions ?

    dd if=/dev/rwd0c of=/dev/rwd2c bs=1024k

>> AFAIK, there's no device that represents the whole physical
>> disk anymore.  Please, someone, tell me I'm wrong.
> 
> /dev/wd0c should represent the whole physical disk.  This is what the disk
> label says.

/dev/wd0c represents the whole of the first physical FreeBSD
partition on the disk - so if you have another partition, it's
not part of wd0c.

>> > 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.
>> > 
> 
> Thank you for your response.
> 
> Regards
> Clement

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