Friday, November 18, 2011

Solaris : ZFS clone 2

# zfs snapshot mypool/myfs@now
# zfs send mypool/myfs@now | zfs receive anotherpool/anotherfs
\\another fs will automatically be created. It is now copying all data. 1.5TB

1) machine0$ zfs send mypool/myfs@now | ssh machine1 zfs receive anotherpool/anotherfs@anothersnap
2) machine0$ zfs send mypool/myfs@now | zfs receive anotherpool/anotherfs@anothersnap