> > You can just re-copy all of the data after enabling compression (it's fairly
> > easy to write a script, or just do something like:
> >
> > find . -xdev -type f | cpio -ocB | cpio -idmuv
> >
> > to re-write all of the data.
>
> .... and to destroy the content of all files > 5k.

i tried the above for fun on /, got tons of "File .... was modified while being 
copied" and now ended up reinstalling my system from scratch :D
(not a problem, it was just a nexenta test installation)

is there a reliable method of re-compressing a whole zfs volume after turning 
on compression or changing compression scheme ?

roland
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to