Eric Sproul
2009-01-15 21:47:42 UTC
Hi,
I've been searching for the answer to this question but can't find a definitive
answer. If I set "copies=2" on a dataset after I've written some files, will
those older files get multiple copies after a scrub operation?
The main reason I ask is that I'd like to set multiple copies on my root
filesystems, which generally get installed via Jumpstart. Jumpstart has no
provision for setting ZFS properties when it creates pools, so things like
compression just aren't useful yet. However, for systems where there is only
one physical drive for the OS, being able to activate multiple copies of user
data in a finish script would be really nice. Then I could just kick off a
scrub before the server goes into production, and be assured that my root
dataset has ditto blocks throughout.
If that is indeed the case and I can start using ditto blocks, the next question
becomes, "what happens when I use Live Upgrade?" Will the "copies=2" property
be preserved during the snapshot/clone process?
Thanks,
Eric
I've been searching for the answer to this question but can't find a definitive
answer. If I set "copies=2" on a dataset after I've written some files, will
those older files get multiple copies after a scrub operation?
The main reason I ask is that I'd like to set multiple copies on my root
filesystems, which generally get installed via Jumpstart. Jumpstart has no
provision for setting ZFS properties when it creates pools, so things like
compression just aren't useful yet. However, for systems where there is only
one physical drive for the OS, being able to activate multiple copies of user
data in a finish script would be really nice. Then I could just kick off a
scrub before the server goes into production, and be assured that my root
dataset has ditto blocks throughout.
If that is indeed the case and I can start using ditto blocks, the next question
becomes, "what happens when I use Live Upgrade?" Will the "copies=2" property
be preserved during the snapshot/clone process?
Thanks,
Eric