Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-26 Thread Ian Collins
On 04/26/11 04:47 PM, Erik Trimble wrote: On 4/25/2011 6:23 PM, Ian Collins wrote: On 04/26/11 01:13 PM, Fred Liu wrote: H, it seems dedup is pool-based not filesystem-based. That's correct. Although it can be turned off and on at the filesystem level (assuming it is enabled for the

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-26 Thread Fred Liu
-Original Message- From: Erik Trimble [mailto:erik.trim...@oracle.com] Sent: 星期二, 四月 26, 2011 12:47 To: Ian Collins Cc: Fred Liu; ZFS discuss Subject: Re: [zfs-discuss] How does ZFS dedup space accounting work with quota? On 4/25/2011 6:23 PM, Ian Collins wrote: On 04/26/11

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-26 Thread Erik Trimble
On 4/26/2011 3:59 AM, Fred Liu wrote: -Original Message- From: Erik Trimble [mailto:erik.trim...@oracle.com] Sent: 星期二, 四月 26, 2011 12:47 To: Ian Collins Cc: Fred Liu; ZFS discuss Subject: Re: [zfs-discuss] How does ZFS dedup space accounting work with quota? On 4/25/2011 6:23 PM

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-26 Thread Fred Liu
-Original Message- From: Erik Trimble [mailto:erik.trim...@oracle.com] Sent: Wednesday, April 27, 2011 12:07 AM To: Fred Liu Cc: Ian Collins; ZFS discuss Subject: Re: [zfs-discuss] How does ZFS dedup space accounting work with quota? On 4/26/2011 3:59 AM, Fred Liu wrote

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-26 Thread Erik Trimble
On 4/26/2011 9:29 AM, Fred Liu wrote: From: Erik Trimble [mailto:erik.trim...@oracle.com] It is true, quota is in charge of logical data not physical data. Let's assume an interesting scenario -- say the pool is 100% full in logical data (such as 'df' tells you 100% used) but not full in

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-26 Thread Fred Liu
-Original Message- From: Erik Trimble [mailto:erik.trim...@oracle.com] Sent: Wednesday, April 27, 2011 1:06 AM To: Fred Liu Cc: Ian Collins; ZFS discuss Subject: Re: [zfs-discuss] How does ZFS dedup space accounting work with quota? On 4/26/2011 9:29 AM, Fred Liu wrote: From: Erik

[zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-25 Thread Fred Liu
Cindy, Following is quoted from ZFS Dedup FAQ: Deduplicated space accounting is reported at the pool level. You must use the zpool list command rather than the zfs list command to identify disk space consumption when dedup is enabled. If you use the zfs list command to review deduplicated

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-25 Thread Brandon High
On Mon, Apr 25, 2011 at 4:53 PM, Fred Liu fred_...@issi.com wrote: So how can I set the quota size on a file system with dedup enabled? I believe the quota applies to the non-dedup'd data size. If a user stores 10G of data, it will use 10G of quota, regardless of whether it dedups at 100:1 or

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-25 Thread Fred Liu
:50 To: Fred Liu Cc: cindy.swearin...@oracle.com; ZFS discuss Subject: Re: [zfs-discuss] How does ZFS dedup space accounting work with quota? On Mon, Apr 25, 2011 at 4:53 PM, Fred Liu fred_...@issi.com wrote: So how can I set the quota size on a file system with dedup enabled? I believe

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-25 Thread Ian Collins
On 04/26/11 01:13 PM, Fred Liu wrote: H, it seems dedup is pool-based not filesystem-based. That's correct. Although it can be turned off and on at the filesystem level (assuming it is enabled for the pool). If it can have fine-grained granularity(like based on fs), that will be great!

Re: [zfs-discuss] How does ZFS dedup space accounting work with quota?

2011-04-25 Thread Erik Trimble
On 4/25/2011 6:23 PM, Ian Collins wrote: On 04/26/11 01:13 PM, Fred Liu wrote: H, it seems dedup is pool-based not filesystem-based. That's correct. Although it can be turned off and on at the filesystem level (assuming it is enabled for the pool). Which is effectively the same as