From nobody Mon Jun 03 22:24:50 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VtSw20KK4z5LPMr for ; Mon, 03 Jun 2024 22:25:06 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VtSw06yBHz4yLc for ; Mon, 3 Jun 2024 22:25:04 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=f1VYs9Tn; dmarc=pass (policy=none) header.from=holgerdanske.com; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 184.105.128.27 as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1717453495; bh=ecbLJytr5ACZTE8P9YfrDwtIE0uTtsrrYQc4CNDe10U=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=f1VYs9Tnd44x0s+IAtWbrrzCFf/tfJulHqjqTKqqlRNSc/pEtSeeyM0Xpx/LkkFXV Y30Ft2aepytSc6CFUpJ3DAv9Hw4BNtD7NnmZJQJAg4EggSMCjw8CI/+ncFX8oPhVJr 3Z7c698+wo/hF+enj0YxFX3S7LdohSJqxn5YvzJJLRFKUSN2C9VTlX45YXsdQF5GgG slgDJx2Gdlnv4KjHNqXk+OONUH3Wa65QnetjRSdZCcPrc0rrzyDNG8wAZ3wxXHfOwg nkYpQbV3znUPGgX1QIyLCyL5Yu3LM2BKNzVe8ixBpHesnUbs98xAXHNUbQgETpPgJ9 3EnZzvVO9fLyiz3IwcmyVjNcNU4JtTl8dla3l1gMyKZr3UycT+cWXeBnzF9bTST0mF te8q/OQ7Xkrm+Bmxc8wt8TBEqzJOlxMKdUgDi6FZvuiMU6uXOs68vslMBgiCOXEJKX AvzY9KmmIwvnZ7ua4W2iEYJwzmeDqK6zWOfLy+LN35RnJIt5gk+PkAGLL+7lsuWGAP i2q4AS33AAUg4MvCiSDzeYIEia+WosFfqhewgeYcGWe8JFeWl4JdlBTXnsv2LfU3UH Oa5/SQG6U/nWymrv/2/1sIoka7mqs1o9BSJmAejUvwg6rs+Ka79KGhJUTxPpvTc8Zq iN7cur/uhKlkTwif2PDGSDHU= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Mon, 3 Jun 2024 15:24:55 -0700 Message-ID: Date: Mon, 3 Jun 2024 15:24:50 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: help with full zfs "partitions" - can't delete files To: questions@freebsd.org References: Content-Language: en-US From: David Christensen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.88 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[holgerdanske.com,none]; R_SPF_ALLOW(-0.20)[+a]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; ONCE_RECEIVED(0.10)[]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[holgerdanske.com:+] X-Rspamd-Queue-Id: 4VtSw06yBHz4yLc On 6/3/24 13:28, William Dudley wrote: > The problem: > > FreeBSD 13.3 amd64 system, with > a zfs pool built from two physical drives. > The zfs pool has 7 "partitions" (is that what they're called?) > > I was copying files over from another machine and didn't realize that > I filled one of the partitions. > > I can't proceed now with this one full partition. > Every single command fails due to "out of space". > > That includes: > rm (one file or many) > dd if=/dev/zero of=(some file) > truncate (somefile) > zfs destroy poolname/partitionname > cannot destroy 'poolname/partitionname': out of space > > There are no snapshots, I never created any. > > Extensive googling has not shown any more than bug reports acknowledging > that this is a problem. > > How do I fix this, short of burning the machine to the ground and starting > over? > > Thanks, > Bill Dudley > > This email is free of malware because I run Linux. On 6/3/24 13:53, William Dudley wrote: > zfs get all m2pool/gU4 > NAME PROPERTY VALUE SOURCE > m2pool/gU4 aclinherit restricted default > m2pool/gU4 aclmode discard default > m2pool/gU4 acltype nfsv4 default > m2pool/gU4 atime on default > m2pool/gU4 available 0B - > m2pool/gU4 canmount on default > m2pool/gU4 casesensitivity sensitive - > m2pool/gU4 checksum on default > m2pool/gU4 compression off default > m2pool/gU4 compressratio 1.00x - > m2pool/gU4 context none default > m2pool/gU4 copies 1 default > m2pool/gU4 createtxg 480 - > m2pool/gU4 creation Sun Dec 9 19:13 2018 - > m2pool/gU4 dedup off default > m2pool/gU4 defcontext none default > m2pool/gU4 devices on default > m2pool/gU4 dnodesize legacy default > m2pool/gU4 encryption off default > m2pool/gU4 exec on default > m2pool/gU4 filesystem_count none default > m2pool/gU4 filesystem_limit none default > m2pool/gU4 fscontext none default > m2pool/gU4 guid 16119321983578430568 - > m2pool/gU4 jailed off default > m2pool/gU4 keyformat none default > m2pool/gU4 keylocation none default > m2pool/gU4 logbias latency default > m2pool/gU4 logicalreferenced 2.34T - > m2pool/gU4 logicalused 2.34T - > m2pool/gU4 mlslabel none default > m2pool/gU4 mounted no - > m2pool/gU4 mountpoint /u4 local > m2pool/gU4 nbmand off default > m2pool/gU4 normalization none - > m2pool/gU4 objsetid 84 - > m2pool/gU4 overlay on default > m2pool/gU4 pbkdf2iters 0 default > m2pool/gU4 primarycache all default > m2pool/gU4 quota none default > m2pool/gU4 readonly off default > m2pool/gU4 recordsize 128K default > m2pool/gU4 redundant_metadata all default > m2pool/gU4 refcompressratio 1.00x - > m2pool/gU4 referenced 2.34T - > m2pool/gU4 refquota none default > m2pool/gU4 refreservation none default > m2pool/gU4 relatime off default > m2pool/gU4 reservation none default > m2pool/gU4 rootcontext none default > m2pool/gU4 secondarycache all default > m2pool/gU4 setuid on default > m2pool/gU4 sharenfs off default > m2pool/gU4 sharesmb off default > m2pool/gU4 snapdev hidden default > m2pool/gU4 snapdir hidden default > m2pool/gU4 snapshot_count none default > m2pool/gU4 snapshot_limit none default > m2pool/gU4 special_small_blocks 0 default > m2pool/gU4 sync standard default > m2pool/gU4 type filesystem - > m2pool/gU4 used 2.34T - > m2pool/gU4 usedbychildren 0B - > m2pool/gU4 usedbydataset 2.34T - > m2pool/gU4 usedbyrefreservation 0B - > m2pool/gU4 usedbysnapshots 0B - > m2pool/gU4 utf8only off - > m2pool/gU4 version 5 - > m2pool/gU4 volmode default default > m2pool/gU4 vscan off default > m2pool/gU4 written 2.34T - > m2pool/gU4 xattr on default > Thanks, > Bill Dudley > This email is free of malware because I run Linux. When posting console sessions, please be complete -- prompt, exact command entered, exact output obtained. For example: 2024-06-03 15:15:29 toor@vf2 ~ # freebsd-version -kru; uname -a 13.3-RELEASE-p1 13.3-RELEASE-p1 13.3-RELEASE-p2 FreeBSD vf2.tracy.holgerdanske.com 13.3-RELEASE-p1 FreeBSD 13.3-RELEASE-p1 GENERIC amd64 Looking at the output of `zfs get all m2pool/gU4`, above: > m2pool/gU4 type filesystem - The ZFS dataset "m2pool/gU4" is a file system. > m2pool/gU4 available 0B - The file system has zero bytes of available space. > m2pool/gU4 readonly off default The file system is read-write. > m2pool/gU4 mountpoint /u4 local The file system mount point has been set to "/u4". > m2pool/gU4 canmount on default The file system can be mounted. > m2pool/gU4 mounted no - The file system is not mounted. As root, please mount the file system: # zfs mount m2pool/gU4 Then try removing files and/or directories under /u4. If either of the above fails, please post the complete console session. Also, please post a complete console session for the following commands: # freebsd-version -kru; uname -a # zpool list m2pool # zpool status m2pool # zpool get all m2pool | sort # mount | grep m2pool # ls -ld / /u4 David