From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078609810171.tru64-unix-managers.marc@archive.invalid> From: " nadia Hashim Saad" Date: Thu, 06 Mar 1997 08:29:44 +0000 To: tru64-unix-managers Subject: SUMMARY: Copy system disk X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078609810171 Hello, I send my great thanks to whom replied with useful answers: 1. Mr. Brian O'Connor 2. Mr. Thomas Leitner 3. Mr. Gary Barber 4. Mr. Ian Piumarta 5. Mr. Eugene Chu 6. Mr. Larry Church 7. Mr. Jude T. Cruz 8. Mr. Alan Rollow 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 ---------------------------------------------------------