* diskcopy on osf/1
@ 1999-04-06 4:00 Erling Kopperdal
1999-04-07 4:00 ` Adam Price
1999-04-14 4:00 ` Gerard Janssen
0 siblings, 2 replies; 3+ messages in thread
From: Erling Kopperdal @ 1999-04-06 4:00 UTC (permalink / raw)
Someone gave me an old DEC3000, M300 machine with two 1.05 SCSI disks,
Digital Unix
V3.2 (Prev. DEC OSF/1). Before I start playing with it, I'm trying to copy
the
OS-disk to the other disk. But the dd command says: 'read only' filesystem
(???).
My question is: Is it possible to do an 'image' copy of disks on this
machine, and if
so: how?
I should probably have read some more manuals before asking this, but if
someone
could point me in the right direction here, I will be very grateful.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: diskcopy on osf/1
1999-04-06 4:00 diskcopy on osf/1 Erling Kopperdal
@ 1999-04-07 4:00 ` Adam Price
1999-04-14 4:00 ` Gerard Janssen
1 sibling, 0 replies; 3+ messages in thread
From: Adam Price @ 1999-04-07 4:00 UTC (permalink / raw)
Erling Kopperdal wrote in message ...
>Someone gave me an old DEC3000, M300 machine with two 1.05 SCSI disks,
>Digital Unix
>
>V3.2 (Prev. DEC OSF/1). Before I start playing with it, I'm trying to
copy
>the
>
>OS-disk to the other disk. But the dd command says: 'read only'
filesystem
>(???).
>
>My question is: Is it possible to do an 'image' copy of disks on this
>machine, and if
>
>so: how?
>
>I should probably have read some more manuals before asking this, but
if
>someone
>
>could point me in the right direction here, I will be very grateful.
>
>
Copy the data instead, partition up the disk using disklabel, then mount
each partition, then use
vdump -0 <filesystem to backup> | (cd <dest> && vrestore -x)
Or if you want to use dd use the raw devices /dev/rrz?c
Hope this helps
Adam
PS if you do use dd the use a much bigger block size that default or it
takes ages to complete.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: diskcopy on osf/1
1999-04-06 4:00 diskcopy on osf/1 Erling Kopperdal
1999-04-07 4:00 ` Adam Price
@ 1999-04-14 4:00 ` Gerard Janssen
1 sibling, 0 replies; 3+ messages in thread
From: Gerard Janssen @ 1999-04-14 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2150 bytes --]
Erling Kopperdal wrote in message ...
>Someone gave me an old DEC3000, M300 machine with two 1.05 SCSI disks,
>Digital Unix
>
>V3.2 (Prev. DEC OSF/1). Before I start playing with it, I'm trying to copy
>the
>
>OS-disk to the other disk. But the dd command says: 'read only' filesystem
>(???).
>
>My question is: Is it possible to do an 'image' copy of disks on this
>machine, and if
>
>so: how?
>
>I should probably have read some more manuals before asking this, but if
>someone
>
>could point me in the right direction here, I will be very grateful.
>
>
>
You didn't mention if you where booted in single-user mode but I suppose sow
because the / filesystem is mounted read-only in single user mode by
default. Most of the commands use /tmp to store temporarily stuff and /tmp
is not mounted yet (if you use a separate filesystem for it) or part of /.
And this is still read-only!
You have to give the command mount -u / first, to remount it
read/write.
If you need all filesystems you are better off giving the command
bcheckrc
In this case you also have /usr (and /var) mounted, this gives you all
access to all unix commands.
After that you may continue with the �normal� commands.
You mentioned that you want to copy the / filesystem. Here�s what I
would do:
Single User mode:
# bcheckrc
# mkdir /var/tmp/root_mount
# mount -t advfs temp_dmn#temp_root /var/tmp/root_mount
or if you are using UFS type (as an example partition /dev/rrz1a )
# mount -t ufs /dev/rz1a /var/tmp/root_mount
# vdump -0f - / | ( cd /var/tmp/root_mount ; vrestore -xf - )
If you want to boot from that new partition make sure the label is correct
(and it is the a-partition of the other disk!)
You can make it bootable with the following commands: (again the rz1 as an
example)
# disklabel -r rz1 > /tmp/label
# disklabel -R -r -t advfs /dev/rrz1a /tmp/label SCSI
or if you are using UFS type
# disklabel -R -r -t ufs /dev/rrz1a /tmp/label SCSI
Hopefully this brings you fearther�
Gerard Janssen
Senior System Manager Tru64 UNIX
Origin TIS DS System Management
Gerard.Janssen@nl.origin-it.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-04-14 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-06 4:00 diskcopy on osf/1 Erling Kopperdal
1999-04-07 4:00 ` Adam Price
1999-04-14 4:00 ` Gerard Janssen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox