Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: dfreybur@yahoo.com (Doug Freyubrger)
Subject: Re: Duplicate system disk under Digital Tru64 Unix
Date: 22 Apr 2002 13:43:20 -0700	[thread overview]
Message-ID: <7960d3ee.0204221243.591a7da6@posting.google.com> (raw)
In-Reply-To: 4ce72ad5.0204200451.7d85a852@posting.google.com

xgr wrote:
>
> Does anybody know how to duplicate the system disk under Digital
> True64 Unix?

AdvFS supplies utilities to do this.  I don't recall the name off the
top of my head and I don't have a Tru64 machine to log into to find
it, but start with man -k advfs.  Folks on a Tru64 specialist
newsgroup will know of the top of their heads how to clone a
filesystem using AdvFS native utilities.

> I try to use dd to duplicate system disk to another disk
> as following:
>   1, boot from CD-ROM
>   2, clear label of target disk: disklabel -z /dev/rdisk/dsk2c
>   3, duplicate with dd: dd if=/dev/disk/dsk0c of=/dev/disk/dsk2c
> bs=10240k

Here's where you went wrong.  You can't copy an AdvFS domain with dd.
Each AdvFS domain contains a serial number that has the serial number
of the drives it is on hashed into it.  Strange but true.  It is
intended to preserve the integrity of the data in the domain.  This
protection against being copied with dd is either a bug/side-effect
or a feature depending on how security oriented you are.

You can copy mountable filesystems this way on Solaris UFS and VxFS,
HP-UX HFS and VXFS, and several other systems, but you can NOT do it
on Tru64 AdvFS or IRIX XFS.


  parent reply	other threads:[~2002-04-22 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-20 12:51 Duplicate system disk under Digital Tru64 Unix xgr
2002-04-20 14:15 ` Adam Price
2002-04-21 13:29   ` xgr
2002-04-21 13:41     ` Adam Price
2002-04-22  8:15     ` Tony P
2002-04-22 20:43 ` Doug Freyubrger [this message]
2002-04-22 21:13   ` Chris Adams
2002-04-23  5:43     ` Adam Price
2002-04-23 18:58       ` Chris Adams
2002-04-23  0:34 ` Peter Barone
2002-04-24 16:14   ` li
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