In our system, we need to migrating from UFS in a short time. according to the ZFS_Best_Practices_Guide. before migration, we should unshared the UFS, and then umount the ZFS,and then do migration, which means during migration, the service on the machine should stop. but we can''t afford the operation for too long time. what can i do? This message posted from opensolaris.org
Will Murnane
2008-Jun-02 20:06 UTC
[zfs-discuss] how to migrating from UFS in a short time.
On Mon, Jun 2, 2008 at 3:58 PM, wan_jm <wan_jm at 126.com> wrote:> In our system, we need to migrating from UFS in a short time. > according to the ZFS_Best_Practices_Guide. before migration, we should unshared the UFS, and then umount the ZFS,and then do migration, which means during migration, the service on the machine should stop. but we can''t afford the operation for too long time. what can i do?What we did here is copy everything over initially, with the service up, and then one share at a time we took down the UFS share, ran rsync from the UFS to the ZFS, and reshared the newly synchronized filesystem. We don''t have much activity from 5 pm on, so this meant a) minimal downtime for actual users and b) quick rsyncs. If you have a period of inactivity like this, it could be a good strategy for you. Will