Date: Wed, 3 Jul 2013 13:39:00 GMT From: Ivan Klymenko <fidaj@ukr.net> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/180236: Leakage free space using ZFS with nullfs on 9.1-STABLE Message-ID: <201307031339.r63Dd0ZP044587@oldred.freebsd.org> Resent-Message-ID: <201307031340.r63De1jp051180@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 180236 >Category: kern >Synopsis: Leakage free space using ZFS with nullfs on 9.1-STABLE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 03 13:40:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ivan Klymenko >Release: 9.1-STABLE >Organization: individual >Environment: FreeBSD nonamehost 9.1-STABLE FreeBSD 9.1-STABLE #13: Wed Jun 19 20:16:00 UTC 2013 root@nonamehost:/usr/src/obj/usr/src/sys/GENERIC amd64 >Description: Leakage free space using ZFS with nullfs on 9.1-STABLE I have a system with the installed version uname -a FreeBSD nonamehost 9.1-STABLE FreeBSD 9.1-STABLE #13: Wed Jun 19 20:16:00 UTC 2013 root@nonamehost:/usr/src/obj/usr/src/sys/GENERIC amd64 zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 10.0G 777G 31K none rpool/root 10.0G 777G 3.38G legacy >How-To-Repeat: carry out preparatory actions #****************************# mkdir -p /mnt/nullfs zfs create rpool/root/nullfs zfs set mountpoint=/usr/nullfs rpool/root/nullfs mount -t nullfs /usr/nullfs/ /mnt/nullfs/ #****************************# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 10.0G 777G 31K none rpool/root 10.0G 777G 3.38G legacy rpool/root/nullfs 31K 777G 31K /usr/nullfs df -h Filesystem Size Used Avail Capacity Mounted on rpool/root 780G 3.4G 777G 0% / devfs 1.0k 1.0k 0B 100% /dev zswap 1.2G 31k 1.2G 0% /zswap devfs 1.0k 1.0k 0B 100% /var/named/dev rpool/root/nullfs 777G 31k 777G 0% /usr/nullfs /usr/nullfs 777G 31k 777G 0% /mnt/nullfs run the following script #****************************# #!/bin/sh while [ 1 ]; do [ -f "/tmp/stop" ] && exit echo "1" > /mnt/nullfs/a mv /mnt/nullfs/a /mnt/nullfs/b done #****************************# two minutes later we get the following result df -h | grep nullfs rpool/root/nullfs 776G 127M 776G 0% /usr/nullfs /usr/nullfs 776G 127M 776G 0% /mnt/nullfs >Fix: I do not know. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307031339.r63Dd0ZP044587>