Ramesh Babu
2010-Aug-12 06:41 UTC
[zfs-discuss] File system ownership details of ZFS file system.
Hi, I am looking for the file system ownership information of ZFS file system. I would like to know the amount of space used and number of files owned by each user in ZFS file system. I could get the user space using ''ZFS userspace'' command. However i didn''t find any switch to get Number of files owned by each user. quot command will display this information of ufs but not for zfs. Please let me know how to get number of files owned by each user for ZFS file system. Also I would like to know how to get the hard and soft limit quota of disk space and inodes for each user. Thanks, Ramesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100812/d4177ea0/attachment.html>
Richard Elling
2010-Aug-16 01:05 UTC
[zfs-discuss] File system ownership details of ZFS file system.
On Aug 11, 2010, at 11:41 PM, Ramesh Babu wrote:> Hi, > > I am looking for the file system ownership information of ZFS file system. I would like to know the amount of space used and number of files owned by each user in ZFS file system. I could get the user space using ''ZFS userspace'' command. However i didn''t find any switch to get Number of files owned by each user. quot command will display this information of ufs but not for zfs. Please let me know how to get number of files owned by each user for ZFS file system.Sometimes the questions asked don''t apply the the environment... ZFS does not have a fixed number of inodes, so there is no way to calculate a limit, per se. ZFS uses space for metadata, so as long as you have available space, you can use it for metadata.> Also I would like to know how to get the hard and soft limit quota of disk space and inodes for each user.There is no "hard and soft" limits. There are quotas at the file system and, for later releases, per-user and per-group quotas. Since this can be a deep topic, I suggest you read Cindy''s excellent descriptions in the ZFS Admin Guide. http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfsadmin.pdf -- richard -- Richard Elling richard at nexenta.com +1-760-896-4422 Enterprise class storage for everyone www.nexenta.com