Hi Mike,

Yes, d25 is a clone of d24. Here are some data points about it:

bash-3.00# zfs get reservation r12_data/d25
NAME          PROPERTY     VALUE         SOURCE
r12_data/d25  reservation  none          default
bash-3.00# zfs get quota r12_data/d25
NAME          PROPERTY  VALUE         SOURCE
r12_data/d25  quota     none          default
bash-3.00#
bash-3.00# zfs list r12_data
NAME       USED  AVAIL  REFER  MOUNTPOINT
r12_data   596G  62.7G  24.5K  none
bash-3.00#
bash-3.00# zfs list -t snapshot r12_data/d...@a
NAME             USED  AVAIL  REFER  MOUNTPOINT
r12_data/d...@a   904K      -  39.9G  -
bash-3.00#

Thanks for the response.  Did you need any more data points from me?



----- Original Message ----
From: Michael Ramchand <mich...@ramchand.net>
To: Grant Lowe <gl...@sbcglobal.net>
Cc: zfs-discuss@opensolaris.org
Sent: Tuesday, March 17, 2009 12:40:53 AM
Subject: Re: [zfs-discuss] Disk usage

Grant Lowe wrote:
> Hey all,
>
> I have a question/puzzle with zfs.  See the following:
>
> bash-3.00# df -h | grep d25 ; zfs list | grep d25
>
> FILESYSTEM         SIZE   USED  AVAIL CAPACITY MOUNTED ON
> r12_data/d25           *659G*    40G    *63G*    39%    /opt/d25/oakwc12
> df -h says the d25 file system is 659GB?; 40GB used and 63GB available?
> r12_data/d24            42G    40G   2.1G    95%    /opt/d24/oakwcr12
>
> NAME                        USED AVAIL REFER MOUNTPOINT
> r12_data/d25              760K  *62.7G*  39.9G  /opt/d25/oakwc12
> zfs list says the db25 file system has 63GB available?
> r12_data/d24             39.9G  2.14G  39.9G  /opt/d24/oakwcr12
>
>
> Shouldn't the new filesystem (d25) size be what the clone was allocated?
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
>  
Hi Grant,

We'd need more info than that to figure what's actually going on.

Is d25 a clone of something? If so what? Can we see the specs of that as 
well.

Does d25 have any reservations or a quota?

What does zfs list of r12_data show?

Do you have snapshots? zfs list -t all will show you them.

Finally, the clone will only be the size of it's delta from the source.

HTH

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

Reply via email to