Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2024 16:53:55 -0400
From:      William Dudley <wfdudley@gmail.com>
To:        Paul Procacci <pprocacci@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: help with full zfs "partitions" - can't delete files
Message-ID:  <CAFsnNZJrtt4t1WFvt9SwQ7G_YidXxnUf6J%2BQrgNnM6r6yVFLAA@mail.gmail.com>
In-Reply-To: <CAFbbPujzDNQ36a84qb%2BQt9_HwHjmt9iqC511o8dHZ%2ByrYgEZeA@mail.gmail.com>
References:  <CAFsnNZKH0A8FztcB9Ntq3CJK0jF1oAhgH02eJjds56s3-JAmFQ@mail.gmail.com> <CAFbbPujzDNQ36a84qb%2BQt9_HwHjmt9iqC511o8dHZ%2ByrYgEZeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
zfs get all m2pool/gU4
NAME        PROPERTY              VALUE                  SOURCE
m2pool/gU4  type                  filesystem             -
m2pool/gU4  creation              Sun Dec  9 19:13 2018  -
m2pool/gU4  used                  2.34T                  -
m2pool/gU4  available             0B                     -
m2pool/gU4  referenced            2.34T                  -
m2pool/gU4  compressratio         1.00x                  -
m2pool/gU4  mounted               no                     -
m2pool/gU4  quota                 none                   default
m2pool/gU4  reservation           none                   default
m2pool/gU4  recordsize            128K                   default
m2pool/gU4  mountpoint            /u4                    local
m2pool/gU4  sharenfs              off                    default
m2pool/gU4  checksum              on                     default
m2pool/gU4  compression           off                    default
m2pool/gU4  atime                 on                     default
m2pool/gU4  devices               on                     default
m2pool/gU4  exec                  on                     default
m2pool/gU4  setuid                on                     default
m2pool/gU4  readonly              off                    default
m2pool/gU4  jailed                off                    default
m2pool/gU4  snapdir               hidden                 default
m2pool/gU4  aclmode               discard                default
m2pool/gU4  aclinherit            restricted             default
m2pool/gU4  createtxg             480                    -
m2pool/gU4  canmount              on                     default
m2pool/gU4  xattr                 on                     default
m2pool/gU4  copies                1                      default
m2pool/gU4  version               5                      -
m2pool/gU4  utf8only              off                    -
m2pool/gU4  normalization         none                   -
m2pool/gU4  casesensitivity       sensitive              -
m2pool/gU4  vscan                 off                    default
m2pool/gU4  nbmand                off                    default
m2pool/gU4  sharesmb              off                    default
m2pool/gU4  refquota              none                   default
m2pool/gU4  refreservation        none                   default
m2pool/gU4  guid                  16119321983578430568   -
m2pool/gU4  primarycache          all                    default
m2pool/gU4  secondarycache        all                    default
m2pool/gU4  usedbysnapshots       0B                     -
m2pool/gU4  usedbydataset         2.34T                  -
m2pool/gU4  usedbychildren        0B                     -
m2pool/gU4  usedbyrefreservation  0B                     -
m2pool/gU4  logbias               latency                default
m2pool/gU4  objsetid              84                     -
m2pool/gU4  dedup                 off                    default
m2pool/gU4  mlslabel              none                   default
m2pool/gU4  sync                  standard               default
m2pool/gU4  dnodesize             legacy                 default
m2pool/gU4  refcompressratio      1.00x                  -
m2pool/gU4  written               2.34T                  -
m2pool/gU4  logicalused           2.34T                  -
m2pool/gU4  logicalreferenced     2.34T                  -
m2pool/gU4  volmode               default                default
m2pool/gU4  filesystem_limit      none                   default
m2pool/gU4  snapshot_limit        none                   default
m2pool/gU4  filesystem_count      none                   default
m2pool/gU4  snapshot_count        none                   default
m2pool/gU4  snapdev               hidden                 default
m2pool/gU4  acltype               nfsv4                  default
m2pool/gU4  context               none                   default
m2pool/gU4  fscontext             none                   default
m2pool/gU4  defcontext            none                   default
m2pool/gU4  rootcontext           none                   default
m2pool/gU4  relatime              off                    default
m2pool/gU4  redundant_metadata    all                    default
m2pool/gU4  overlay               on                     default
m2pool/gU4  encryption            off                    default
m2pool/gU4  keylocation           none                   default
m2pool/gU4  keyformat             none                   default
m2pool/gU4  pbkdf2iters           0                      default
m2pool/gU4  special_small_blocks  0                      default

Thanks,
Bill Dudley
This email is free of malware because I run Linux.


On Mon, Jun 3, 2024 at 4:37 PM Paul Procacci <pprocacci@gmail.com> wrote:

>
>
> On Mon, Jun 3, 2024 at 4:29 PM William Dudley <wfdudley@gmail.com> 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.
>>
>
> They are called datasets.
>
> The dataset *may* have gone readonly.
>
> zfs get all poolname/dataset
>
> Posting the output of the above may help us.
>
> ~Paul
> --
> __________________
>
> :(){ :|:& };:
>

[-- Attachment #2 --]
<div dir="ltr"><font face="monospace">zfs get all m2pool/gU4<br>NAME        PROPERTY              VALUE                  SOURCE<br>m2pool/gU4  type                  filesystem             -<br>m2pool/gU4  creation              Sun Dec  9 19:13 2018  -<br>m2pool/gU4  used                  2.34T                  -<br>m2pool/gU4  available             0B                     -<br>m2pool/gU4  referenced            2.34T                  -<br>m2pool/gU4  compressratio         1.00x                  -<br>m2pool/gU4  mounted               no                     -<br>m2pool/gU4  quota                 none                   default<br>m2pool/gU4  reservation           none                   default<br>m2pool/gU4  recordsize            128K                   default<br>m2pool/gU4  mountpoint            /u4                    local<br>m2pool/gU4  sharenfs              off                    default<br>m2pool/gU4  checksum              on                     default<br>m2pool/gU4  compression           off                    default<br>m2pool/gU4  atime                 on                     default<br>m2pool/gU4  devices               on                     default<br>m2pool/gU4  exec                  on                     default<br>m2pool/gU4  setuid                on                     default<br>m2pool/gU4  readonly              off                    default<br>m2pool/gU4  jailed                off                    default<br>m2pool/gU4  snapdir               hidden                 default<br>m2pool/gU4  aclmode               discard                default<br>m2pool/gU4  aclinherit            restricted             default<br>m2pool/gU4  createtxg             480                    -<br>m2pool/gU4  canmount              on                     default<br>m2pool/gU4  xattr                 on                     default<br>m2pool/gU4  copies                1                      default<br>m2pool/gU4  version               5                      -<br>m2pool/gU4  utf8only              off                    -<br>m2pool/gU4  normalization         none                   -<br>m2pool/gU4  casesensitivity       sensitive              -<br>m2pool/gU4  vscan                 off                    default<br>m2pool/gU4  nbmand                off                    default</font><div><font face="monospace">m2pool/gU4  sharesmb              off                    default<br>m2pool/gU4  refquota              none                   default<br>m2pool/gU4  refreservation        none                   default<br>m2pool/gU4  guid                  16119321983578430568   -<br>m2pool/gU4  primarycache          all                    default<br>m2pool/gU4  secondarycache        all                    default<br>m2pool/gU4  usedbysnapshots       0B                     -<br>m2pool/gU4  usedbydataset         2.34T                  -<br>m2pool/gU4  usedbychildren        0B                     -<br>m2pool/gU4  usedbyrefreservation  0B                     -<br>m2pool/gU4  logbias               latency                default<br>m2pool/gU4  objsetid              84                     -<br>m2pool/gU4  dedup                 off                    default<br>m2pool/gU4  mlslabel              none                   default<br>m2pool/gU4  sync                  standard               default<br>m2pool/gU4  dnodesize             legacy                 default<br>m2pool/gU4  refcompressratio      1.00x                  -<br>m2pool/gU4  written               2.34T                  -<br>m2pool/gU4  logicalused           2.34T                  -<br>m2pool/gU4  logicalreferenced     2.34T                  -<br>m2pool/gU4  volmode               default                default<br>m2pool/gU4  filesystem_limit      none                   default<br>m2pool/gU4  snapshot_limit        none                   default<br>m2pool/gU4  filesystem_count      none                   default<br>m2pool/gU4  snapshot_count        none                   default<br>m2pool/gU4  snapdev               hidden                 default<br>m2pool/gU4  acltype               nfsv4                  default<br>m2pool/gU4  context               none                   default<br>m2pool/gU4  fscontext             none                   default<br>m2pool/gU4  defcontext            none                   default<br>m2pool/gU4  rootcontext           none                   default<br>m2pool/gU4  relatime              off                    default<br>m2pool/gU4  redundant_metadata    all                    default<br>m2pool/gU4  overlay               on                     default<br>m2pool/gU4  encryption            off                    default</font></div><div><font face="monospace">m2pool/gU4  keylocation           none                   default<br>m2pool/gU4  keyformat             none                   default<br>m2pool/gU4  pbkdf2iters           0                      default<br>m2pool/gU4  special_small_blocks  0                      default</font><br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br></div><div class="gmail_signature" data-smartmail="gmail_signature">Thanks,</div><div class="gmail_signature" data-smartmail="gmail_signature">Bill Dudley</div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">This email is free of malware because I run Linux.</div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2024 at 4:37 PM Paul Procacci &lt;<a href="mailto:pprocacci@gmail.com">pprocacci@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 3, 2024 at 4:29 PM William Dudley &lt;<a href="mailto:wfdudley@gmail.com" target="_blank">wfdudley@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>The problem:</div><div><br></div><div>FreeBSD 13.3 amd64 system, with</div>a zfs pool built from two physical drives.<div>The zfs pool has 7 &quot;partitions&quot; (is that what they&#39;re called?)</div><div><br></div><div>I was copying files over from another machine and didn&#39;t realize that</div><div>I filled one of the partitions.</div><div><br></div><div>I can&#39;t proceed now with this one full partition.</div><div>Every single command fails due to &quot;out of space&quot;.</div><div><br></div><div>That includes:</div><div>rm (one file or many)</div><div>dd if=/dev/zero of=(some file)</div><div>truncate (somefile)</div><div>zfs destroy poolname/partitionname</div><div>cannot destroy &#39;poolname/partitionname&#39;: out of space<br></div><div><br></div><div>There are no snapshots, I never created any.</div><div><br></div><div>Extensive googling has not shown any more than bug reports acknowledging</div><div>that this is a problem.</div><div><br></div><div>How do I fix this, short of burning the machine to the ground and starting over?</div><div><br></div><div>Thanks,</div><div>Bill Dudley</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature">This email is free of malware because I run Linux.</div></div></div></div>
</blockquote></div><br clear="all"></div>They are called datasets.<br><br></div>The dataset *may* have gone readonly.<br><br></div>zfs get all poolname/dataset<br><br></div><div>Posting the output of the above may help us.</div><div><br></div><div>~Paul<br></div><div><div><div><div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">__________________<br><br>:(){ :|:&amp; };:</div></div></div></div></div></div>
</blockquote></div>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFsnNZJrtt4t1WFvt9SwQ7G_YidXxnUf6J%2BQrgNnM6r6yVFLAA>