Are you 100% sure there are no snapshots of the zvol ?

# *zfs list -t snapshot **zones/72786e58-dba8-4f96-a5d3-36396bfada93-disk0*


'zfs list' will sometimes not list snapshots, depending on the
listsnapshots property of the zpool


On Thu, Apr 30, 2015 at 3:45 PM, David Kelbley <[email protected]> wrote:

> I performed some additional testing on my side.  The ZFS resize issue
> appears on multiple systems and it doesn’t seem mater which version of
> SmartOS you’re using.  When issuing a “zfs set volsize=40g
> zones/uuid-disk0, the volsize changes as it should but “zfs list” still
> shows 80gb being used.   This is shown below:
>
>
>
> [root@00-21-9b-8f-6c-37 ~]# zfs get volsize
> zones/72786e58-dba8-4f96-a5d3-36396bfada93-disk0
>
> NAME                                              PROPERTY  VALUE    SOURCE
>
> zones/72786e58-dba8-4f96-a5d3-36396bfada93-disk0  volsize   40G      local
>
>
>
> [root@00-21-9b-8f-6c-37 ~]# zfs list
> zones/72786e58-dba8-4f96-a5d3-36396bfada93-disk0
>
> NAME                                               USED  AVAIL  REFER
> MOUNTPOINT
>
> zones/72786e58-dba8-4f96-a5d3-36396bfada93-disk0    80G   198G  27.0G  -
>
> [root@00-21-9b-8f-6c-37 ~]#
>
>
>
> *Does anyone have any suggestions on how I might resolve this issue?*
>
>
>
> Thanks,
>
> Dave
>
>
>
>
>
>
>
>
>
> Hello,
>
>
>
> I’m following the directions in
> https://wiki.smartos.org/display/DOC/Resizing+Linux+VM+Disks for
> performing a ZFS resize (shrink) of the Linux VM.  I was able to
> successfully reduce the size of the VM.  However, the space isn’t being
> returned to ZFS as it should.  For example, when I run “zfs list zones” the
> available disk space is slightly lower than when I started.  I expected the
> amount of disk space to increase by the amount of space I freed up.
> However, the disk space went down slightly.  Does anyone have any ideas
> what my next step might be?  I am currently running
> “joyent_20141030T164802Z” if it makes any difference.
>
>
>
> Thanks again!
>
> Dave
>
>
>
> *smartos-discuss* | Archives
> <https://www.listbox.com/member/archive/184463/=now>
> <https://www.listbox.com/member/archive/rss/184463/22656059-b5d19b2d> |
> Modify
> <https://www.listbox.com/member/?&;>
> Your Subscription <http://www.listbox.com>
>



-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to