tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: How to perform 'disk-to-disk' copy
@ 2001-12-27 21:42 Liang, Warren
  0 siblings, 0 replies; only message in thread
From: Liang, Warren @ 2001-12-27 21:42 UTC (permalink / raw)
  To: tru64-unix-managers



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


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

only message in thread, other threads:[~2001-12-27 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-27 21:42 SUMMARY: How to perform 'disk-to-disk' copy Liang, Warren

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