How to initate full uncompression of ZFS filesystem -


i have created large filesystem compression on. have disabled compression, don't full performance. reason uncompression lazy , apply new files.

is there way initiate uncompression on background?

i know copying files new partition , back, there smarter way?

that's odd usually, better performance observed compression enabled.

anyway, should want decompress files, there no need use new "partition" (not sure if mean new file-system or pool here). assuming there enough space hold copy of biggest file in file system, , files not being concurrently use/updated applications, can copy files in same directory move them original name, overwriting compressed original, eg:

find . -type f -exec ksh -c 'for echo cp -p "$i" "$i.u$$" && echo mv "$i.u$$" "$i"; done' ksh {} +   

remove both "echo" instructions change.


Comments