Monday, April 6, 2009

Best Practises: Migrate your non-system data from UFS to ZFS

Consider the following best-practices when migrating non-system-related data from UFS file systems to ZFS file systems:

1. Unshare the existing UFS file systems

If your UFS file system is being shared as an NFS resource or any other kind of resource. First unshare it. To do this, you would find a lot of useful tips and tricks, which i wont be covering here.

2. Unmount the existing UFS file systems from the previous mount points
Unmount your UFS file system from their existing mount points. This would help close some other potential hidden problems that you might run into, if you fail to do so.

3. Mount the UFS file systems to temporary unshared mount points
Make a new folder somewhere in your file system and mount all these to your newly created UFS mount points.

4. Migrate the UFS data with parallel instances of rsync running to the new ZFS file systems


5. Set the mount points and the sharenfs properties on the new ZFS file systems

0 comments:

BLOG Maintained by - Vishal Sharma | GetQuickStart