tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Copy system disk
@ 1997-03-06  8:29  nadia  Hashim Saad
  0 siblings, 0 replies; only message in thread
From:  nadia  Hashim Saad @ 1997-03-06  8:29 UTC (permalink / raw)
  To: tru64-unix-managers

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
---------------------------------------------------------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-06  8:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-06  8:29 SUMMARY: Copy system disk  nadia  Hashim Saad

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