From: " nadia Hashim Saad" <nadiakw () hotmail ! com>
To: tru64-unix-managers
Subject: SUMMARY: Copy system disk
Date: Thu, 06 Mar 1997 08:29:44 +0000 [thread overview]
Message-ID: <96078609810171.tru64-unix-managers.marc@archive.invalid> (raw)
Hello,
I send my great thanks to whom replied with useful answers:
1. Mr. Brian O'Connor <boc@ironbark.bendigo.latrobe.edu.au>
2. Mr. Thomas Leitner <tom@finwds01.tu-graz.ac.at>
3. Mr. Gary Barber <gbarber@telecom.ie>
4. Mr. Ian Piumarta <piumarta@prof.inria.fr>
5. Mr. Eugene Chu <chu@musp0.Jpl.Nasa.Gov>
6. Mr. Larry Church <lchurch@Centus.COM>
7. Mr. Jude T. Cruz <jude@tsi.com.my>
8. Mr. Alan Rollow <alan@nabeth.cxo.dec.com>
The most clear & well guiding answer was from Mr. Brian O'Conner
as follows:
Assumptions:
old disk rz0
new disk is rz2 of type rz28
/ mounted on a
swap on b
/usr mounted on g
Steps:
MAKEDEV rz2
disklabel -r -w rz2 rz28
newfs /dev/rrz2a rz28
newfs /dev/rrz2g rz28
fsck /dev/rrz2a
mount /dev/rz2a /mnt
dump 0f - / | (cd /mnt; restore xf -)
edit /mnt/etc/fstab to replace rz0 with rz2 by:
vi /mnt/etc/fstab
:%s/rz0/rz2/g
if swapdefault exists, remove it and re-create it to point at the
new swap partition.
umount /mnt
fsck /dev/rrz2a
fsck /dev/rrz2g
mount /dev/rz2g /mnt
dump 0f - /usr | (cd /mnt; restore xf -)
umount /mnt
fsck /dev/rrz2g
shutdown and boot from the new disk
Note: You might need to recompile the kernel.
____________________________________________________________________
Mr. Thomas Leitner advised upon his own practical exercise which is
working succussful and based on ADVFS as follows:
vdump 0uf - / | vrestore -x -D /mnt/newroot
vdump 0uf - /usr | vrestore -x -D /mnt/newusr
if advfs root domain exists then make sure when using disklabel to
use the option "-t advfs" instead of "-t ufs".
____________________________________________________________________
Dear members, that was my first query through this group and I'm
indeed happy with this experiment... Thankx all.
____________________________________________________________________
Nadia Hashim Saad.
__________________
---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
reply other threads:[~1997-03-06 8:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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