Brad Plecs wrote:
> I hate to start rsyncing again, but may be forced to; policing the snapshot 
> space consumption is 
> getting painful, but the online snapshot feature is too valuable to discard 
> altogether.  
> 
> or if there are other creative solutions, I'm all ears...

OK, you asked for "creative" workarounds... here's one (though it requires 
that the filesystem be briefly unmounted, which may be deal-killing):

zfs create pool/realfs
zfs set quota=1g pool/realfs

again:
zfs umount pool/realfs
zfs rename pool/realfs pool/oldfs
zfs snapshot pool/[EMAIL PROTECTED]
zfs clone pool/[EMAIL PROTECTED] pool/realfs
zfs set quota=1g pool/realfs  (6364688 would be useful here)
zfs set quota=none pool/oldfs
zfs promote pool/oldfs
zfs destroy pool/backupfs
zfs rename pool/oldfs pool/backupfs
backup pool/[EMAIL PROTECTED]
sleep $backupinterval
goto again

FYI, we are working on "fs-only" quotas.

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

Reply via email to