*BSD News Article 95420


Return to BSD News archive

#! rnews 2005 bsd
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mel.aone.net.au!usenet
From: "Clement Cheung" <clement@ans.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Making disk image backup
Date: 16 May 1997 00:55:42 GMT
Organization: ANS Communications P/L
Lines: 46
Message-ID: <01bc6143$53026420$16143ccb@clementc.ans.com.au>
References: <01bc60df$afc618a0$16143ccb@clementc.ans.com.au> <5lf710$3av@ui-gate.utell.co.uk>
NNTP-Posting-Host: eddie.ans.com.au
X-Newsreader: Microsoft Internet News 4.70.1161
Cache-Post-Path: eddie.ans.com.au!unknown@clement.ans.com.au
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40985

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!

> 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.

> > 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