* Backup and Restore Problem
@ 1995-01-09 18:13 pcmc
0 siblings, 0 replies; 3+ messages in thread
From: pcmc @ 1995-01-09 18:13 UTC (permalink / raw)
To: tru64-unix-managers
Hi,
I am trying to following the instructions given in the OSF/1 V2.0
system administrator manual to back up the file systems "/" and "/usr"
and then restore it to a different Alpha, but came across some
problems. I suspect there is something missing somewhere.
Basically, on an Alpha 3000/300lx, I backed up the file systems
as follow:
1. shutdown in standalone mode: /sbin/shutdown now
2. check all disks are not mounted: /sbin/umount -a
3. /sbin/fsck -o /dev/rz3a
4. dump -0uf /dev/nrmt0h /
It completed in 3 minutes.
5. dump -0uf /dev/nrmt0h /usr
It took 20 minutes.
At the end, I rewound the tape, and did a restore -t
it read out the tape header (no tape label, but did indicates the dump
on /dev/rz3a), and then displayed the files under the / directory.
Now then I tried to restore the file contents onto another Alpha
(3000/300) as follow:
a. boot off the system from the OSF/1 CD
b. MAKEDEV /dev/rz2 ! build a system onto an external SCSI disk, unit 2.
c. disklabel -rw /dev/rrz2 ufs
disklabel -re /dev/rrz2
and set the partitions as: a: 400000 0 ! for /
b: 400000 400000 ! for swap
c:4194685 0
d: 0 0
e: 370000 3800000 ! for /data
f:1500000 2300000 ! for /home/mod6
g:1500000 800000 ! for /usr
d. newfs /dev/rrz2a
e. mount /dev/rz2a /mnt
f. cd /mnt
No errors so far.
g. restore -Yrf /dev/nrmt0h
then I get the error:
cannot stat dump file: No such file or directory
No file is restored.
I also tried restore -Yrf /dev/rmt0h but get the same error.
Is anyone has any idea?
Many thanks in advance.
Regards,
Peter Chiu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Backup and Restore Problem
@ 1995-01-09 19:35 speno
0 siblings, 0 replies; 3+ messages in thread
From: speno @ 1995-01-09 19:35 UTC (permalink / raw)
To: tru64-unix-managers
>g. restore -Yrf /dev/nrmt0h
> then I get the error:
>
> cannot stat dump file: No such file or directory
Looks like there is no such device as /dev/nrmt0h on the system you are
restoring to. You'll have to make that device.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Backup and Restore Problem
@ 1995-01-10 8:55 kobig
0 siblings, 0 replies; 3+ messages in thread
From: kobig @ 1995-01-10 8:55 UTC (permalink / raw)
To: tru64-unix-managers
hi,
I suspect you need to add creating the tape device in step b.
cd /dev
./MAKEDEV tz? (? stands for the scsi id of the tape).
This will create the needed /dev/*rmt0* devices.
good luck
kobi
==========================================================================
Kobi Gover
Software Support
Multivendor Customer Services
Digital ISRAEL
E-Mail: kobig@neora.iso.dec.com
Phone: 972 (0)9 593130
==========================================================================
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-01-10 8:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-10 8:55 Backup and Restore Problem kobig
-- strict thread matches above, loose matches on Subject: below --
1995-01-09 19:35 speno
1995-01-09 18:13 pcmc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox