My FreeBSD server has an UFS gmirror with 2 disks, last week one of the disks broke, and I'm buying a new disk.
I would like to migrate this machine to Linux ZFS (reason being that I can't use pkg-ng on this machine, and ports are too slow) and thought this might be a good opportunity for this. What is the best strategy for this?
1. Mount the disk in Linux as UFS & copy. Is this reliable?
2. Create ZFS in FreeBSD, copy from UFS to ZFS. Will this ZFS also be readable in Linux? I remember my OpenSolaris ZFS not being readable in FreeBSD a few years ago...
3. Use ext4fuse, copy to new (blank) disk, boot Linux, create ZFS on UFS disk, copy again (from ext4).
I'm also thinking of maybe doing a SHA256 over all the old & new files, and check for differences...
I would like to migrate this machine to Linux ZFS (reason being that I can't use pkg-ng on this machine, and ports are too slow) and thought this might be a good opportunity for this. What is the best strategy for this?
1. Mount the disk in Linux as UFS & copy. Is this reliable?
2. Create ZFS in FreeBSD, copy from UFS to ZFS. Will this ZFS also be readable in Linux? I remember my OpenSolaris ZFS not being readable in FreeBSD a few years ago...
3. Use ext4fuse, copy to new (blank) disk, boot Linux, create ZFS on UFS disk, copy again (from ext4).
I'm also thinking of maybe doing a SHA256 over all the old & new files, and check for differences...