Subject: Re: Backing up a disk
To: None <spence@panix.com>
From: Quentin Garnier <netbsd@quatriemek.com>
List: netbsd-users
Date: 08/02/2003 00:24:50
Le Fri, 1 Aug 2003 18:15:34 -0400
Michael D. Spence a ecrit :
> I have a (really old) system which has two identical 1G drives (wd0 and
> wd1) and an 8G drive (wd2).  I keep / and such on wd0 and /usr on wd2.
> 
> I tried this to make a copy of wd0 on wd1:
> 
>     dd if=/dev/wd0d of=/dev/wd1d
> 
> This seems to work, but are there any issues about not being in single
> user mode or having stuff mounted on wd0 that are going to bite me
> later?

Well, that way you're doing a live copy. Thus, you'll have to fsck the
partitions on wd1, since they are in the same state as in wd0 at the time
of the copy, unmounted (and almost certainly not sync'd).

-- 
Quentin Garnier - cube@cubidou.net
"Feels like I'm fiddling while Rome is burning down.
Should I lay my fiddle down and take a rifle from the ground ?"
Leigh Nash/Sixpence None The Richer, Paralyzed, Divine Discontents, 2002.