[zfs-discuss] Re: Best way to migrate filesystems to ZFS?

2007-05-15 Thread Pål Baltzersen
I would use rsync; over NFS if possible otherwise over ssh: (NFS performs significantly better on read than write so preferably share from the old and mount on the new) old# share -F nfs -o [EMAIL PROTECTED],[EMAIL PROTECTED] /my/data (or edit /etc/dfs/dfstab and shareall) new# mount -r

[zfs-discuss] Re: Best way to migrate filesystems to ZFS?

2007-05-15 Thread Pål Baltzersen
Sorry I realize I was a bit misleading in the path handling and need to correct this part: new# mount -r old:/my/data /mnt new# mkdir -p /my/data new# cd /mnt ; rsync -aRHDn --delete ./ /my/data/ new# cd /mnt ; rsync -aRHD --delete ./ /my/data/ new# umount /mnt .. new# cd /mnt ; rsync -aRHD