Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: how to do low level diskcopy?
Date: 1999/04/06	[thread overview]
Message-ID: <7edrqq$ca0@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: KfsO2.36$op.172130816@news.telia.no

Erling Kopperdal (erling.kopperdal@unique.no) wrote:
: Someone gave me an old DEC3000, M300 machine for free. It's running Digital
: Unix V3.2 (prev: DEC OSF/1).  I have two SCSI disks (1.05GB).  Before I
: start to play with it, I want to copy the OS-disk to the other disk in order
: to have a backup (I don't need the data on this machine).  I tried to use
: the dd command (dd if=/dev/rrz0c of=/dev/rrz2c), but then it complains about
: 'read only' filesystem.

Skip block 0 on the output partition: it contains the volume label and is
not writeable through the regular disk devices. Something like:

dd if=/dev/rrz0c of=/dev/rrz2c bs=512 iseek=1 oseek=1 count=65535
dd if=/dev/rrz0c of=/dev/rrz2c bs=64k iseek=1 oseek=1

should work fine.

Regards,

/Serge.P



  reply	other threads:[~1999-04-06  4:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-04-06  4:00 how to do low level diskcopy? Erling Kopperdal
1999-04-06  4:00 ` Serguei Patchkovskii [this message]
1999-04-06  4:00   ` Serguei Patchkovskii
1999-05-14  4:00 ` Erling Kopperdal
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox