Jorgen Lundman wrote:
> If we were to get two x4500s, with the idea of keeping one as a passive 
> standby (serious hardware failure) are there any clever solutions in 
> doing so?
> 
> We can not use ZFS itself, but rather zpool volumes, with UFS on-top. I 
> assume there is no zpool send/recv (although, that would be pretty neat 
> if there was!).

It may be a little bit unclear from the man page, but zfs send/receive 
can operate on snapshots of a volume too. Here is an example:

# zfs create -b 8k -V 10M pool/vol
# zfs list pool/vol
NAME                   USED  AVAIL  REFER  MOUNTPOINT
pool/vol              22.5K  5.81G  22.5K  -
# zfs snapshot pool/[EMAIL PROTECTED]
# zfs list pool/vol
NAME                   USED  AVAIL  REFER  MOUNTPOINT
pool/vol              22.5K  5.81G  22.5K  -
# zfs send pool/[EMAIL PROTECTED] > /var/tmp/pool.vol.now
# ls -l /var/tmp/pool.vol.now
-rw-r--r--   1 root     root       12368 Jan 31 17:02 /var/tmp/pool.vol.now
# zfs list tank/vol
cannot open 'tank/vol': dataset does not exist
# cat /var/tmp/pool.vol.now | zfs receive tank/vol
# zfs list tank/vol
NAME                   USED  AVAIL  REFER  MOUNTPOINT
tank/vol              22.5K  31.8G  22.5K  -
#


> Doing full rsyncs all the time would probably be slow.
> 
> Would it be possible to do a snapshot, then 10 minutes later, another 
> snapshot and only rsync the differences?

Yes. See man page for zfs(1m) for description of '-i' option for zfs send.



Hth,
Victor
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to