Maximum number of datasets?

JBK

Dabbler
Joined
Oct 30, 2021
Messages
46
Sorry, but I cannot find specific info. Is there a maximum number of datasets that can be created in a pool? Or per system? (Assuming you have the resources of course).

Thank you.
 

Syptec

Dabbler
Joined
Aug 3, 2018
Messages
42
While reading this thread --
Code:
https://www.reddit.com/r/zfs/comments/e8qtbd/is_there_a_limit_to_the_amount_of_zfs_filesystems/
it may provide the info you are seeking.
 
Last edited by a moderator:
  • Like
Reactions: JBK

JBK

Dabbler
Joined
Oct 30, 2021
Messages
46
While reading this thread --
Code:
https://www.reddit.com/r/zfs/comments/e8qtbd/is_there_a_limit_to_the_amount_of_zfs_filesystems/
it may provide the info you are seeking.
Very nice, thank you!

I kind of thought that might be the answer knowing ZFS and TrueNAS.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Please do not redirect users offsite especially for simple answers. If you want to post a link offsite to something highly complex and detailed, that's fine.

Sorry, but I cannot find specific info. Is there a maximum number of datasets that can be created in a pool? Or per system? (Assuming you have the resources of course).

It's effectively "nearly unlimited" but may start getting impractical once you get into the thousands. This is the same way that the number of supported snapshots, while theoretically unlimited, becomes unwieldy after a certain point. The classic Solaris answer of ""On systems with 1,000s of ZFS file systems, provision 1 GB of extra memory for every 10,000 mounted file systems including snapshots."" may also be relevant.
 
  • Like
Reactions: JBK
Top