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

Provide a read-only property to retrieve number of objects in a dataset. #16992

Open
iBug opened this issue Jan 27, 2025 · 0 comments
Open

Provide a read-only property to retrieve number of objects in a dataset. #16992

iBug opened this issue Jan 27, 2025 · 0 comments
Labels
Type: Feature Feature request or new feature

Comments

@iBug
Copy link

iBug commented Jan 27, 2025

Describe the feature would like to see added to OpenZFS

A read-only property, similar to used, userused@... and userobjused@..., possibly named objused, to retrieve the number of objects in a dataset (of type filesystem, snapshot or bookmark - it won't make sense for zvols).

How will this feature improve OpenZFS?

Use case: To provide a rough estimate of total number of files (inodes) in a ZFS filesystem, without having to enumerate possible UIDs and reading many userobjused@ properties.

Additional context

@iBug iBug added the Type: Feature Feature request or new feature label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Feature request or new feature
Projects
None yet
Development

No branches or pull requests

1 participant