Changing recordsize on existing ZFS dataset

zfs

I want to change the recordsize property on an existing ZFS dataset.

The man page states:

Changing the file system's recordsize affects only files created afterward; existing files are unaffected.

So simply changing the recordsize property will only have an effect on newly created files. I want existing files to take advantage of the new recordsize as well.

Will a zfs sendand zfs receive of the dataset convert the existing files to to new recordsize or will I have to copy the files off of the dataset manually and then back?

Best Answer

You need to copy the data off and back onto the filesystem if you want to take advantage of the new record size.

I'm not sure what your question is, though.