2012年4月30日 星期一

Migrating data from HFS/zFS to zFS

Suppose you have an HFS file system mounted at /etc/dfs. You want to copy this into an empty zFS file system mounted at /etc/dce/testzfs1. You issue the following commands from z/OS UNIX:
(1) Move to the source (HFS) file system mounted at /etc/dfs
cd /etc/dfs

(2) Create a z/OS UNIX archive file called /tmp/zfs1.pax that contains the HFS file system mounted at /etc/dfs
pax -wvf /tmp/zfs1.pax .

(3) Move to the target (zFS) file system mounted at /etc/dce/testzfs1
cd /etc/dce/testzfs1

(4) Read the archive file into the zFS file system mounted at /etc/dce/testzfs1
pax -rv -p e -f /tmp/zfs1.pax

沒有留言:

張貼留言