Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* how to do low level diskcopy?
@ 1999-04-06  4:00 Erling Kopperdal
  1999-04-06  4:00 ` Serguei Patchkovskii
  1999-05-14  4:00 ` Erling Kopperdal
  0 siblings, 2 replies; 4+ messages in thread
From: Erling Kopperdal @ 1999-04-06  4:00 UTC (permalink / raw)


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.

My question is:  Is it possible to do a 'image' copy from the OS-disk to the
other disk, and if so, how? (I want to be able to boot from both disks).

The OS-disk consists of advfs filesystems.

I should probably have read some manuals before asking this, but It will be
of great help if someone could point me in the right directions here.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to do low level diskcopy?
  1999-04-06  4:00 how to do low level diskcopy? Erling Kopperdal
@ 1999-04-06  4:00 ` Serguei Patchkovskii
  1999-04-06  4:00   ` Serguei Patchkovskii
  1999-05-14  4:00 ` Erling Kopperdal
  1 sibling, 1 reply; 4+ messages in thread
From: Serguei Patchkovskii @ 1999-04-06  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to do low level diskcopy?
  1999-04-06  4:00 ` Serguei Patchkovskii
@ 1999-04-06  4:00   ` Serguei Patchkovskii
  0 siblings, 0 replies; 4+ messages in thread
From: Serguei Patchkovskii @ 1999-04-06  4:00 UTC (permalink / raw)


Serguei Patchkovskii (patchkov@acs1.acs.ucalgary.ca) wrote:
: 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

Ooops. This should read:

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

Mea culpa.

Cheers,

/Serge.P



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to do low level diskcopy?
  1999-04-06  4:00 how to do low level diskcopy? Erling Kopperdal
  1999-04-06  4:00 ` Serguei Patchkovskii
@ 1999-05-14  4:00 ` Erling Kopperdal
  1 sibling, 0 replies; 4+ messages in thread
From: Erling Kopperdal @ 1999-05-14  4:00 UTC (permalink / raw)



>The OS-disk consists of advfs filesystems.
>
>I should probably have read some manuals before asking this, but It will be
>of great help if someone could point me in the right directions here.
>
>

Thanks for all answers!
I found out that :
disklabel -z <device>
must be done before the dd command.  Then it works fine.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-05-14  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-06  4:00 how to do low level diskcopy? Erling Kopperdal
1999-04-06  4:00 ` Serguei Patchkovskii
1999-04-06  4:00   ` Serguei Patchkovskii
1999-05-14  4:00 ` Erling Kopperdal

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