so i learned that you can set datasets, with different compression, and have a image archive. i want to use gzip for it. but i noticed when i transfered the images over. it was rewriting. so i stoped it. turned it into lz4. then sent it over. still was recopying even though same compression. it would take forever to rewrite it. about a month. is there something else ican do?
Can you add a little more detail here?
You can have datasets. Yes. And, they can have whatever compression you want, or none at all.
What process are you using to move the images over?
You want an archive. A second copy of all the images? Are these on the same disks? You may be able to accomplish this by just enabling snapshots on ZFS.
I don’t want a second copy, I have a image archive, I want them to be gzip. But when I tried using the mv command it tried to rewrite all the data
So, what were you expecting to see? The compression on ZFS is transparent. It doesn’t put the files into zipped archives. Perhaps that is what you mean?
Changing compression type only affects files written after the change. Each dataset is its own filesystem. Transferring files from one dataset to another will cause them to be rewritten.
So there is no way I can have transfer it to another with our recompressing it?