Hi everyone, I have a question about the zfs list output. I created a large zpool and then carved out 1TB volumes (zfs create -V 1T vtl_pool/lun##). Looking at the zfs list output, I''m a little thrown off by the AVAIL amount. Can anyone clarify for me why it is saying 2T? NAME USED AVAIL REFER MOUNTPOINT vtl_pool 15.0T 1020G 46.3K /vtl_pool vtl_pool/lun00 1T 2.00T 60.9K - vtl_pool/lun01 1T 2.00T 60.9K - vtl_pool/lun02 1T 2.00T 60.9K - vtl_pool/lun03 1T 2.00T 60.9K - vtl_pool/lun04 1T 2.00T 60.9K - vtl_pool/lun05 1T 2.00T 60.9K - vtl_pool/lun06 1T 2.00T 60.9K - vtl_pool/lun07 1T 2.00T 60.9K - vtl_pool/lun08 1T 2.00T 60.9K - vtl_pool/lun09 1T 2.00T 60.9K - vtl_pool/lun10 1T 2.00T 60.9K - vtl_pool/lun11 1T 2.00T 147K - vtl_pool/lun12 1T 2.00T 60.9K - vtl_pool/lun13 1T 2.00T 60.9K - vtl_pool/lun14 1T 2.00T 60.9K - Thanks for the help! -- This message posted from opensolaris.org
send the output of "zfs list -o space" -- richard On Jun 3, 2010, at 1:06 PM, Andres Noriega wrote:> Hi everyone, I have a question about the zfs list output. I created a large zpool and then carved out 1TB volumes (zfs create -V 1T vtl_pool/lun##). Looking at the zfs list output, I''m a little thrown off by the AVAIL amount. Can anyone clarify for me why it is saying 2T? > > NAME USED AVAIL REFER MOUNTPOINT > vtl_pool 15.0T 1020G 46.3K /vtl_pool > vtl_pool/lun00 1T 2.00T 60.9K - > vtl_pool/lun01 1T 2.00T 60.9K - > vtl_pool/lun02 1T 2.00T 60.9K - > vtl_pool/lun03 1T 2.00T 60.9K - > vtl_pool/lun04 1T 2.00T 60.9K - > vtl_pool/lun05 1T 2.00T 60.9K - > vtl_pool/lun06 1T 2.00T 60.9K - > vtl_pool/lun07 1T 2.00T 60.9K - > vtl_pool/lun08 1T 2.00T 60.9K - > vtl_pool/lun09 1T 2.00T 60.9K - > vtl_pool/lun10 1T 2.00T 60.9K - > vtl_pool/lun11 1T 2.00T 147K - > vtl_pool/lun12 1T 2.00T 60.9K - > vtl_pool/lun13 1T 2.00T 60.9K - > vtl_pool/lun14 1T 2.00T 60.9K - > > Thanks for the help! > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- ZFS and NexentaStor training, Rotterdam, July 13-15, 2010 http://nexenta-rotterdam.eventbrite.com/
Thanks... here''s the requested output: NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD vtl_pool 1020G 15.0T 0 46.3K 0 15.0T vtl_pool/lun00 1.99T 1T 0 6.05G 1018G 0 vtl_pool/lun01 1.99T 1T 0 4.46G 1020G 0 vtl_pool/lun02 1.99T 1T 0 4.44G 1020G 0 vtl_pool/lun03 1.99T 1T 0 4.49G 1020G 0 vtl_pool/lun04 2.00T 1T 0 869M 1023G 0 vtl_pool/lun05 2.00T 1T 0 725M 1023G 0 vtl_pool/lun06 2.00T 1T 0 722M 1023G 0 vtl_pool/lun07 2.00T 1T 0 700M 1023G 0 vtl_pool/lun08 2.00T 1T 0 534M 1023G 0 vtl_pool/lun09 2.00T 1T 0 518M 1023G 0 vtl_pool/lun10 2.00T 1T 0 309M 1024G 0 vtl_pool/lun11 2.00T 1T 0 4.84M 1024G 0 vtl_pool/lun12 2.00T 1T 0 4.84M 1024G 0 vtl_pool/lun13 2.00T 1T 0 4.84M 1024G 0 vtl_pool/lun14 2.00T 1T 0 4.84M 1024G 0 -- This message posted from opensolaris.org
On Thu, Jun 3, 2010 at 1:06 PM, Andres Noriega <andres.noriega at oracle.com> wrote:> Hi everyone, I have a question about the zfs list output. I created a large zpool and then carved out 1TB volumes (zfs create -V 1T vtl_pool/lun##). Looking at the zfs list output, I''m a little thrown off by the AVAIL amount. Can anyone clarify for me why it is saying 2T?You have a 16T zpool, and have created 15x 1T zvols, leaving 1T free. Each zvol is mostly unused, so it has 1T available in its refreservation, and an additional 1T available from the zpool. The zvols won''t actually hold 2T, because they were created with 1T of space. The space beyond 1T can be used for snapshots though. -B -- Brandon High : bhigh at freaks.com
I understand now. So each vol''s available space is reporting it''s reservation and whatever is still available in the pool. I appreciate the explanation. Thank you!> On Thu, Jun 3, 2010 at 1:06 PM, Andres Noriega > <andres.noriega at oracle.com> wrote: > > Hi everyone, I have a question about the zfs list > output. I created a large zpool and then carved out > 1TB volumes (zfs create -V 1T vtl_pool/lun##). > Looking at the zfs list output, I''m a little thrown > off by the AVAIL amount. Can anyone clarify for me > why it is saying 2T? > > You have a 16T zpool, and have created 15x 1T zvols, > leaving 1T free. > Each zvol is mostly unused, so it has 1T available in > its > refreservation, and an additional 1T available from > the zpool. > > The zvols won''t actually hold 2T, because they were > created with 1T of > space. The space beyond 1T can be used for snapshots > though. > > -B > > -- > Brandon High : bhigh at freaks.com > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discu > ss >-- This message posted from opensolaris.org
On Fri, Jun 4, 2010 at 11:41 AM, Andres Noriega <andres.noriega at oracle.com>wrote:> I understand now. So each vol''s available space is reporting it''s > reservation and whatever is still available in the pool. > > I appreciate the explanation. Thank you! > >If you want the available space to be a hard limit, have a look at the quota property. The reservation tells the pool to reserve that amount of space for the dataset, meaning that space is no longer available to anything else in the pool. The quota tells the pool the max amount of storage the dataset can use, and is reflected in the "space available" output of various tools (like zfs list, df, etc). -- Freddie Cash fjwcash at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100604/335c1c94/attachment.html>