Go to main content

Managing ZFS File Systems in Oracle® Solaris 11.3

Exit Print View

Updated: May 2019
 
 

Copying ZFS Files

You can quickly copy large files using the cp -z command. The –z option copies the metadata associated with each record, rather copying the metadata and all of the data. For files with record sizes of 4K or more, this method can be much faster than using the standard cp command. It is also very useful if you need to make many copies of one large file, like an OS image. See the reflink (3c) man page for more information.