[kwlug-disc] ZFS pool says it's 100% full according df -h and yet I know there is space as I have remove a lot of files...

Federer Fanatic nafdef at gmail.com
Sun Dec 29 09:09:20 EST 2019


Ok. I think I get what's going on. Available space is being released,
painfully slowly ,

zfs get all  is show very active processing albeit very slow...



--------------------------------------------------------------
 Roger Federer Fanatic Extraordinaire :-)


On Sun, Dec 29, 2019 at 8:35 AM Federer Fanatic <nafdef at gmail.com> wrote:

> Looks like some fragmentation is occurring...presumably because disk was
> getting full, I read
> that having dedup setting on can cause some issues, but my
> zfs get all |grep dedup
> homedirs                                       dedup                 off
>                  default
>
>
>
>
> --------------------------------------------------------------
>  Roger Federer Fanatic Extraordinaire :-)
>
>
> On Sun, Dec 29, 2019 at 8:23 AM Federer Fanatic <nafdef at gmail.com> wrote:
>
>> Also zfs get all has a constant stream of output...
>>
>>
>>
>> --------------------------------------------------------------
>>  Roger Federer Fanatic Extraordinaire :-)
>>
>>
>> On Sun, Dec 29, 2019 at 8:19 AM Federer Fanatic <nafdef at gmail.com> wrote:
>>
>>> Specifically,  zpool status
>>>
>>>
>>>   pool: homedirs
>>>  state: ONLINE
>>>   scan: scrub repaired 0B in 0 days 03:57:48 with 0 errors on Sun Dec  8
>>> 04:21:49 2019
>>> config:
>>>
>>>
>>>
>>> zpool status yields:
>>>
>>> NAME        STATE     READ WRITE CKSUM
>>> homedirs    ONLINE       0     0     0
>>>  mirror-0  ONLINE       0     0     0
>>>    sda     ONLINE       0     0     0
>>>    sdb     ONLINE       0     0     0
>>>
>>>
>>>
>>>
>>>
>>>
>>> # zpool list homedirs
>>>
>>> NAME       SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP
>>>  HEALTH  ALTROOT
>>> homedirs  1.81T  1.76T    57.7G                 -                    -
>>>  27%      96%  1.00x        ONLINE  -
>>>
>>> which show 1.76 TB. It looks like space is being locked down somehow and
>>> is unavailable and yet
>>>
>>> and yet
>>>
>>> # df -h
>>> homedirs                                      890G  890G     0 100%
>>> /homedirs
>>>
>>> It's as if the volume is shrinking as a I remove files...
>>>
>>> NOTE. It may have something to do with snapshots sanoid settings:
>>> as I am also seeing the mount
>>>
>>> Filesystem
>>>     Size  Used Avail Use%   Mounted on
>>> homedirs at autosnap_2019-12-26_05:00:22_hourly  1.7T  1.7T       0 100%
>>>   /homedirs/.zfs/snapshot/autosnap_2019-12-26_05:00:22_hourly
>>>
>>> ---this goes away if I run systemctl stop sanoid.timer however,
>>> df -h still yes same output as above
>>>
>>>
>>> NOTE. the 1.7TB
>>>
>>> Also removing files from ZFS takes an eternity.
>>>
>>> I am obviously not understanding something.
>>>
>>>
>>>
>>>
>>> --------------------------------------------------------------
>>>  Roger Federer Fanatic Extraordinaire :-)
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kwlug.org/pipermail/kwlug-disc_kwlug.org/attachments/20191229/5a584bb0/attachment.htm>


More information about the kwlug-disc mailing list