Re: [zfs-discuss] File system ownership details of ZFS file system.

2010-08-15 Thread Richard Elling
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
rich...@nexenta.com   +1-760-896-4422
Enterprise class storage for everyone
www.nexenta.com



___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] File system ownership details of ZFS file system.

2010-08-12 Thread Ramesh Babu
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
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss