tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Liang, Warren" <warren.liang () marconi ! com>
To: tru64-unix-managers
Subject: SUMMARY: How to perform 'disk-to-disk' copy
Date: Thu, 27 Dec 2001 21:42:09 +0000	[thread overview]
Message-ID: <102653644221814.tru64-unix-managers.marc@archive.invalid> (raw)



Thanks for many valuable information from:
Trevor Osatchuk, Brown Douglas, Greg Freemyer, James Barriault, Dr. Thomas
Blinn, Michael Wheelock, Pat O'Brien, and Paul LaMadeleine.

My original questions are:

1. How to perform 'disk-to-disk' image copy of an UFS fileset?
An UFS file system /dev/disk/dsk5c is built on a 4G disk. A new 9G disk,
/dev/disk/dsk6, is installed, newfs is performed on /dev/disk/dsk6c.
How can I image copy the dsk5c to dsk6c directly without using tape?

Solution from Dr. Thomas Blain:
mount /dev/disk/dsk6c /mnt
dump -b64 -0f - /dev/disk/dsk5c | (cd /mnt ; restore -xf -)

2. How to perform disk-to-disk image copy of an Advfs fileset:
An Advfs file domain is created on /dev/disk/dsk3c which is a 4G
disk. It contains multiple filesets. A new 9G disk /dev/disk/dsk4, is
installed, a new file domain and fileset are created on it. How can I image
copy one of the filesets from the 4G to the new fileset locates on the 9G
disk without using tape?

Solution from Dr. Thomas Blinn:
Similarly with AdvFS using vdump and vrestore ; you need to mount the
new fileset somewhere handy (e.g., /mnt) and use vdump to read in
the existing fileset, sending output to "-" (stdout) and then pipe
that into vrestore sitting in the root of the new fileset; once it
finishes, you can unmount the new fileset from the temporary place
and mount it where you really want it.

Thanks and Happy New Year.

Warren


                 reply	other threads:[~2001-12-27 21:42 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