On Thu, 2008-11-06 at 19:54 -0500, Krzys wrote: > WHen property value copies is set to value greater than 1 how does it work? > Will > it store second copy of data on different disk? or does it store it on the > same > disk? Also when this setting is changed at some point on file system, will it > make copies of existing data or just new data thats being written from now on?
I have done this on my home directory the microsecond that it became available :-) It tries to make copies on multiple devices if it can. If not (as in my single disk laptop) it places both copies on the same disk. It will not duplicate any existing data, so it would be a good idea to do a zfs create -o copies=2 ...... so that all of the data in the dataset will have some sort of replication from the beginning. df output reflects actual pool usage. # mkfile 300m f # ls -la total 1218860 drwxr-xr-x 2 bobn local 3 Nov 6 19:04 . drwxr-xr-x 81 bobn sys 214 Nov 6 19:04 .. -rw------- 1 bobn local 314572800 Nov 6 19:04 f # du -h . 600M . Bob _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss