> zpool list doesn't reflect pool usage stats instantly. Why?
> 
> # ls -l
> total 209769330
> -rw------T   1 root     root     107374182400 Apr 30 14:28 deleteme
> 
> # zpool list
> NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
> wo                    136G    100G   36.0G    73%  ONLINE     -
> 
> # rm deleteme
> # zpool list
> NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
> wo                    136G    100G   36.0G    73%  ONLINE     -               
>      ---> why
> 
> ..... time passes

Same thing happened with logging filesystems at first.  The file is only
marked for deletion.  The recovery of the space takes longer.  So the
zpool list information is probably "current", but perhaps not what you
expect.

Logging UFS now reports the result of the rm even if it hasn't been
completed yet by searching the delete queue.

I would suppose that if this is a similar issue, it might be addressed
as well.  Of course actually doing this in ZFS is more complex because
of snapshots.  

-- 
Darren Dunham                                           [EMAIL PROTECTED]
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to