I was doing some tests with creating and removing subdirectories and
watching the time that takes.  The directory retains the size and
performance issues after the files are removed.

/rootz/test> ls -la .
total 42372
drwxr-xr-x   2 add      root           2 May  7 23:20 .
drwxr-xr-x   3 root     sys            3 May  7 00:34 ..
/rootz/test> time du -ak .
21184   .

real    0m28.497s
user    0m0.002s
sys     0m1.174s
/rootz/test> zfs list
NAME                   USED  AVAIL  REFER  MOUNTPOINT
rootz                 21.9M   978M  20.7M  /rootz

Is there any way to ask ZFS to reclaim or shrink the allocation on the
directory without actually deleting the directory like I would have to
do under UFS?


-- 
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