From owner-freebsd-fs@freebsd.org Fri Nov 6 14:05:05 2020 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 15AEE2EF75A for ; Fri, 6 Nov 2020 14:05:05 +0000 (UTC) (envelope-from ali.abdallah@suse.com) Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.suse.de", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CSMbN1RgDz3pq1 for ; Fri, 6 Nov 2020 14:05:03 +0000 (UTC) (envelope-from ali.abdallah@suse.com) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1604671502; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=/BTQCOY4dgSwpDG90bk917H3+r5mWLOlJFRF9ij6P7Y=; b=KKdEXH+3cQm1YDdYTmIPj1WGJ0A4/B/Zu7U8f+WJ0xUXOv/y4gzrJcrkYx+vigCACVGQC6 O3PUttBWnpRH7jXL6SD572eDWamaRTOZivkIfzo82BPqPPjjTztoW+oD599XSiHehP/dQU cKS/4V6SGtygPeviE+SYPvRdY1dRpLM= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5C6E6ABCC for ; Fri, 6 Nov 2020 14:05:02 +0000 (UTC) Date: Fri, 6 Nov 2020 15:05:01 +0100 From: Ali Abdallah To: freebsd-fs@freebsd.org Subject: Cannot remove zfs empty directory Message-ID: <20201106140501.kdlrytkjtqzuyd5t@frix230> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Queue-Id: 4CSMbN1RgDz3pq1 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=suse.com header.s=susede1 header.b=KKdEXH+3; dmarc=pass (policy=none) header.from=suse.com; spf=pass (mx1.freebsd.org: domain of ali.abdallah@suse.com designates 195.135.220.15 as permitted sender) smtp.mailfrom=ali.abdallah@suse.com X-Spamd-Result: default: False [-5.20 / 15.00]; MID_RHS_NOT_FQDN(0.50)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[suse.com:s=susede1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[suse.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.135.220.15]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; TO_DN_NONE(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[195.135.220.15:from]; RCPT_COUNT_ONE(0.00)[1]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[195.135.220.15:from]; DKIM_TRACE(0.00)[suse.com:+]; DMARC_POLICY_ALLOW(-0.50)[suse.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29298, ipnet:195.135.220.0/22, country:DE]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-fs] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 14:05:05 -0000 Hello, I'm having a strange issue deleting an empty folder on the zfs dataset zroot/usr/home $ cd $HOME/.cache/chromium/Default $ ls -la drwx------ 3 ali ali 3 Nov 6 14:40 ./ drwx------ 3 ali ali 3 Nov 6 14:33 ../ drwxr-xr-x 2 ali ali 4 Oct 19 11:30 cache/ $ rm -rf cache rm: cache/: Directory not empty $ ls -ld cache drwxr-xr-x 2 ali ali 4 Oct 19 11:30 cache/ the size is 4, which is strange since the directory looks totally empty. ls -la cache/ drwxr-xr-x 2 ali ali 4 Oct 19 11:30 ./ drwx------ 3 ali ali 3 Nov 6 14:40 .. I don't have chromium since long time, originally the machine was running FreeBSD 12.1 (now running FreeBSD 12.2), but the issue was present before the upgrade. zpool status -v gives not errors at all. It is not a big deal, but just trying to understand what is happening here. Regards, Ali