Data on disk will need to be rewritten before the second copy will be created.

If a single disk with copies=2 is what you want, after the initial setup there 
has been very little data written to the pool yet, so you can set that on the 
pool root and it will be inherited by descendent datasets as they are created.


-- 
Brian Bennett
Systems Engineer, Cloud Operations
Joyent, Inc. | www.joyent.com <http://www.joyent.com/>

> On Nov 1, 2017, at 7:14 AM, Kevr <[email protected]> wrote:
> 
> Hi
> 
> I have just moved my ansible zone to a single disk, low power mini pc and 
> installed a tftp server for pxe booting. Of course this is not fault tolerant 
> but a backup to a usb drive once a week is suffice for my needs. As an added 
> bit of fault tolerance I want to set copies=2 as a zfs attribute. How does 
> this work with data that is already on disk. ie. if I set copies=2 to the 
> zones filesystem, will this create backup copies of previously written 
> blocks? If not, would it be a sensible default for the installer on single 
> disk systems? Not mega important I know but it's just an idea.
> 
> Kevin Ratcliffe
> 
> Sent from ProtonMail <https://protonmail.ch/>
> 
> 
> smartos-discuss | Archives 
> <https://www.listbox.com/member/archive/184463/=now>  
> <https://www.listbox.com/member/archive/rss/184463/26986985-d0246faa> | 
> Modify <https://www.listbox.com/member/?&;> Your Subscription   
> <http://www.listbox.com/>

Attachment: smime.p7s
Description: S/MIME cryptographic signature




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to