Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

16MB record_size #3

Open
isopix opened this issue Sep 30, 2021 · 2 comments
Open

16MB record_size #3

isopix opened this issue Sep 30, 2021 · 2 comments

Comments

@isopix
Copy link

isopix commented Sep 30, 2021

Hi,

Would you mind adding this file:
/etc/modprobe.d/zfs.conf

# max 16M recordsize limit
options zfs zfs_max_recordsize=16777216

It doesn't change anything. Only allows creation datasets with record_size greater than 1MB (user must request 4MB or 16MB record_size, it's set as 128K by default anyway)

It's recommended to set 4MB or 16MB record sizes for bulk storage (photos/music/videos) and improves compression(larger blocks possible), fragmentation, performance and metadata size (crucial for metadata drives on SSD).

But as I stated it doesn't change default ZFS behavior, only increases maximal limit.

cheers

kovetskiy added a commit that referenced this issue Oct 1, 2021
@kovetskiy
Copy link
Member

Should be good by now, please let me know if this helps

@isopix
Copy link
Author

isopix commented Oct 1, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants