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
Received on Thu Dec 27 2001 - 21:48:54 NZDT