Re: help with full zfs "partitions" - can't delete files

From: William Dudley <wfdudley_at_gmail.com>
Date: Mon, 03 Jun 2024 20:53:55 UTC
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
> --
> __________________
>
> :(){ :|:& };:
>