Data missing after ZPool import

Hello

My *nix experience is what i would call medium-level expired (used to work on CentOS as webhost admin) so be gentle, but i can follow most instructions.

I recently moved from a old HP proliant with Freenas to a new build intel desktop, i5 12400 on an Asus b660m, 32 gigs of ram. I installed TrueNAS

I moved 4 x 8 TB drives over to the new installation and imported the pool

I cant see any media files in the Plex install, or in CLI / Shell

When i do a ZFS mount I see the following (apologies newbies cant link images or upload txt files)

Click to view "zfs list"
root@truenas[~]# zfs list
NAME                                                                USED  AVAIL  REFER  MOUNTPOINT
Primus                                                             11.3T  9.57T  11.3T  /mnt/Primus
Primus/.system                                                      387M  9.57T   163K  legacy
Primus/.system/configs-3bc724bbb18d493585697320a07060e7            9.98M  9.57T  9.98M  legacy
Primus/.system/configs-5ece5c906a8f4df886779fae5cade8a5            51.6M  9.57T  51.6M  legacy
Primus/.system/configs-ae32c386e13840b2bf9c0083275e7941             232K  9.57T   232K  legacy
Primus/.system/configs-b3147af497d748f98f845f65b942be53            95.9M  9.57T  95.9M  legacy
Primus/.system/configs-e6cb7c26dd1243d3962c3f87f9eddfe5             153M  9.57T   153M  legacy
Primus/.system/cores                                                140K  1024M   140K  legacy
Primus/.system/netdata-ae32c386e13840b2bf9c0083275e7941            13.4M  9.57T  13.4M  legacy
Primus/.system/nfs                                                  163K  9.57T   163K  legacy
Primus/.system/rrd-3bc724bbb18d493585697320a07060e7                 128K  9.57T   128K  legacy
Primus/.system/rrd-5ece5c906a8f4df886779fae5cade8a5                 140K  9.57T   140K  legacy
Primus/.system/rrd-b3147af497d748f98f845f65b942be53                27.7M  9.57T  27.7M  legacy
Primus/.system/rrd-e6cb7c26dd1243d3962c3f87f9eddfe5                24.1M  9.57T  24.1M  legacy
Primus/.system/samba4                                              3.14M  9.57T  2.70M  legacy
Primus/.system/syslog-3bc724bbb18d493585697320a07060e7              128K  9.57T   128K  legacy
Primus/.system/syslog-5ece5c906a8f4df886779fae5cade8a5             1.04M  9.57T  1.04M  legacy
Primus/.system/syslog-b3147af497d748f98f845f65b942be53              128K  9.57T   128K  legacy
Primus/.system/syslog-e6cb7c26dd1243d3962c3f87f9eddfe5             5.31M  9.57T  5.31M  legacy
Primus/.system/webui                                                128K  9.57T   128K  legacy
Primus/iocage                                                      18.7G  9.57T  7.90M  /mnt/Primus/iocage
Primus/iocage/download                                              137M  9.57T   128K  /mnt/Primus/iocage/download
Primus/iocage/download/11.3-RELEASE                                 137M  9.57T   137M  /mnt/Primus/iocage/download/11.3-RELEASE
Primus/iocage/images                                                128K  9.57T   128K  /mnt/Primus/iocage/images
Primus/iocage/jails                                                18.1G  9.57T   128K  /mnt/Primus/iocage/jails
Primus/iocage/jails/Homestar                                       18.1G  9.57T   866K  /mnt/Primus/iocage/jails/Homestar
Primus/iocage/jails/Homestar/root                                  18.1G  9.57T  9.34G  /mnt/Primus/iocage/jails/Homestar/root
Primus/iocage/log                                                   134K  9.57T   134K  /mnt/Primus/iocage/log
Primus/iocage/releases                                              453M  9.57T   128K  /mnt/Primus/iocage/releases
Primus/iocage/releases/11.3-RELEASE                                 452M  9.57T   128K  /mnt/Primus/iocage/releases/11.3-RELEASE
Primus/iocage/releases/11.3-RELEASE/root                            452M  9.57T   452M  /mnt/Primus/iocage/releases/11.3-RELEASE/root
Primus/iocage/templates                                             128K  9.57T   128K  /mnt/Primus/iocage/templates
Primus/ix-apps                                                      479M  9.57T   174K  /mnt/.ix-apps
Primus/ix-apps/app_configs                                          715K  9.57T   715K  /mnt/.ix-apps/app_configs
Primus/ix-apps/app_mounts                                          1.49M  9.57T   140K  /mnt/.ix-apps/app_mounts
Primus/ix-apps/app_mounts/plex                                     1.35M  9.57T   140K  /mnt/.ix-apps/app_mounts/plex
Primus/ix-apps/app_mounts/plex/config                              1.08M  9.57T  1.08M  /mnt/.ix-apps/app_mounts/plex/config
Primus/ix-apps/app_mounts/plex/data                                 140K  9.57T   140K  /mnt/.ix-apps/app_mounts/plex/data
Primus/ix-apps/docker                                               336M  9.57T   336M  /mnt/.ix-apps/docker
Primus/ix-apps/truenas_catalog                                      141M  9.57T   141M  /mnt/.ix-apps/truenas_catalog
Primus/jails                                                       9.84G  9.57T   215K  /mnt/Primus/jails
Primus/jails/.warden-template-pluginjail-11.0-x64                   593M  9.57T   590M  /mnt/Primus/jails/.warden-template-pluginjail-11.0-x64
Primus/jails/.warden-template-standard-11.0-x64                    2.34G  9.57T  2.27G  /mnt/Primus/jails/.warden-template-standard-11.0-x64
Primus/jails/plexmediaserver_1                                     6.92G  9.57T  7.48G  /mnt/Primus/jails/plexmediaserver_1
Primus/winder                                                      6.50G  9.57T   163K  /mnt/Primus/winder
Primus/winder/.warden-template-pluginjail                           593M  9.57T   590M  /mnt/Primus/winder/.warden-template-pluginjail
Primus/winder/.warden-template-pluginjail-11.0-x64                  593M  9.57T   590M  /mnt/Primus/winder/.warden-template-pluginjail-11.0-x64
Primus/winder/.warden-template-pluginjail-11.0-x64-20180505233651   593M  9.57T   590M  /mnt/Primus/winder/.warden-template-pluginjail-11.0-x64-20180505233651
Primus/winder/.warden-template-standard                            2.34G  9.57T  2.27G  /mnt/Primus/winder/.warden-template-standard
Primus/winder/.warden-template-standard-11.0-x64                   2.34G  9.57T  2.27G  /mnt/Primus/winder/.warden-template-standard-11.0-x64
Primus/winder/.warden-template-standard-11.0-x64-newconfig-clone   74.6M  9.57T  2.27G  /mnt/Primus/winder/.warden-template-standard-11.0-x64-newconfig-clone
Primus/winder/Windows File Access                                   128K  9.57T   128K  /mnt/Primus/winder/Windows File Access
boot-pool                                                          2.62G   447G    96K  none
boot-pool/ROOT                                                     2.61G   447G    96K  none
boot-pool/ROOT/24.10.1                                             2.61G   447G   168M  legacy
boot-pool/ROOT/24.10.1/audit                                        164K   447G   164K  /audit
boot-pool/ROOT/24.10.1/conf                                        6.82M   447G  6.82M  /conf
boot-pool/ROOT/24.10.1/data                                         280K   447G   280K  /data
boot-pool/ROOT/24.10.1/etc                                         7.39M   447G  6.48M  /etc
boot-pool/ROOT/24.10.1/home                                         116K   447G   116K  /home
boot-pool/ROOT/24.10.1/mnt                                          104K   447G   104K  /mnt
boot-pool/ROOT/24.10.1/opt                                           96K   447G    96K  /opt
boot-pool/ROOT/24.10.1/root                                         148K   447G   148K  /root
boot-pool/ROOT/24.10.1/usr                                         2.40G   447G  2.40G  /usr
boot-pool/ROOT/24.10.1/var                                         33.7M   447G  31.4M  /var
boot-pool/ROOT/24.10.1/var/ca-certificates                           96K   447G    96K  /var/local/ca-certificates
boot-pool/ROOT/24.10.1/var/log                                     1.95M   447G   892K  /var/log
boot-pool/ROOT/24.10.1/var/log/journal                             1.08M   447G  1.08M  /var/log/journal
boot-pool/grub                                                     8.42M   447G  8.42M  legacy
root@truenas[~]#

I installed TrueNAS SCALE 24.10.1

Where did you store those Plex files?
On it’s own dataset under Primus, or somewhere else? Is this dataset missing from the list you provided or is it there but empty?

The files were under mnt/Primus/winder

LS from Primus and from winder

root@truenas[/mnt/Primus]# ls -slapth  
total 61K
512 drwxr-xr-x  4 root root  4 Jan 11 01:18 ../
512 drwxr-xr-x  5 root root  5 Jan 11 01:13 ./
36K drwxr-xr-x 10 root root 10 Jan 11 01:13 winder/
12K drwxr-xr-x  9 root root 12 Jan 11 01:13 iocage/
12K drwxr-xr-x  9 root root  9 Nov 16  2018 jails/
root@truenas[/mnt/Primus]# cd winder
root@truenas[/mnt/Primus/winder]# ls -slapth 
total 109K
512 drwxr-xr-x  5 root root  5 Jan 11 01:13  ../
36K drwxr-xr-x 10 root root 10 Jan 11 01:13  ./
512 drwxr-xr-x  2 root root  2 Jun  7  2021 'Windows File Access'/
12K drwxr-xr-x 17 root root 21 May 11  2018  .warden-template-standard/
12K drwxr-xr-x 18 root root 22 May  7  2018  .warden-template-pluginjail/
12K drwxr-xr-x 18 root root 22 May  5  2018  .warden-template-pluginjail-11.0-x64-20180505233651/
12K drwxr-xr-x 18 root root 22 May  5  2018  .warden-template-pluginjail-11.0-x64/
12K drwxr-xr-x 17 root root 21 May  5  2018  .warden-template-standard-11.0-x64/
12K drwxr-xr-x 17 root root 21 May  5  2018  .warden-template-standard-11.0-x64-newconfig-clone/
512 drwxrwxrwx  3 root root  3 May  5  2018  .warden-files-cache/
root@truenas[/mnt/Primus/winder]#

What is the output of this command?

zfs list -r -t filesystem -o space Primus | grep -v \.system

Paste the code within code brackets, like this:

```
paste in here
```

I think i got the brackets right

root@truenas[~]# zfs list -r -t filesystem -o space Primus | grep -v \.system
NAME                                                               AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
Primus                                                             9.57T  11.3T        0B   11.3T             0B      36.2G
Primus/iocage                                                      9.57T  18.7G        0B   7.90M             0B      18.7G
Primus/iocage/download                                             9.57T   137M        0B    128K             0B       137M
Primus/iocage/download/11.3-RELEASE                                9.57T   137M        0B    137M             0B         0B
Primus/iocage/images                                               9.57T   128K        0B    128K             0B         0B
Primus/iocage/jails                                                9.57T  18.1G        0B    128K             0B      18.1G
Primus/iocage/jails/Homestar                                       9.57T  18.1G     2.06M    866K             0B      18.1G
Primus/iocage/jails/Homestar/root                                  9.57T  18.1G     8.79G   9.34G             0B         0B
Primus/iocage/log                                                  9.57T   134K        0B    134K             0B         0B
Primus/iocage/releases                                             9.57T   453M        0B    128K             0B       452M
Primus/iocage/releases/11.3-RELEASE                                9.57T   452M        0B    128K             0B       452M
Primus/iocage/releases/11.3-RELEASE/root                           9.57T   452M        0B    452M             0B         0B
Primus/iocage/templates                                            9.57T   128K        0B    128K             0B         0B
Primus/ix-apps                                                     9.57T   480M        0B    174K             0B       479M
Primus/ix-apps/app_configs                                         9.57T   715K        0B    715K             0B         0B
Primus/ix-apps/app_mounts                                          9.57T  1.49M        0B    140K             0B      1.35M
Primus/ix-apps/app_mounts/plex                                     9.57T  1.35M        0B    140K             0B      1.21M
Primus/ix-apps/app_mounts/plex/config                              9.57T  1.08M        0B   1.08M             0B         0B
Primus/ix-apps/app_mounts/plex/data                                9.57T   140K        0B    140K             0B         0B
Primus/ix-apps/docker                                              9.57T   336M        0B    336M             0B         0B
Primus/ix-apps/truenas_catalog                                     9.57T   141M        0B    141M             0B         0B
Primus/jails                                                       9.57T  9.87G        0B    215K             0B      9.87G
Primus/jails/.warden-template-pluginjail-11.0-x64                  9.57T   600M     10.0M    590M             0B         0B
Primus/jails/.warden-template-standard-11.0-x64                    9.57T  2.37G      100M   2.27G             0B         0B
Primus/jails/plexmediaserver_1                                     9.57T  6.92G        0B   6.92G             0B         0B
Primus/winder                                                      9.57T  6.59G       93K    163K             0B      6.59G
Primus/winder/.warden-template-pluginjail                          9.57T   600M     10.0M    590M             0B         0B
Primus/winder/.warden-template-pluginjail-11.0-x64                 9.57T   600M     10.0M    590M             0B         0B
Primus/winder/.warden-template-pluginjail-11.0-x64-20180505233651  9.57T   600M     10.0M    590M             0B         0B
Primus/winder/.warden-template-standard                            9.57T  2.37G      100M   2.27G             0B         0B
Primus/winder/.warden-template-standard-11.0-x64                   9.57T  2.37G      100M   2.27G             0B         0B
Primus/winder/.warden-template-standard-11.0-x64-newconfig-clone   9.57T   100M        0B    100M             0B         0B
Primus/winder/Windows File Access                                  9.57T   128K        0B    128K             0B         0B

Those are supposed to be “backticks”. Like this: ```

You did three dots.

It looks like your media files are saved in the plexmediaserver_1 dataset.

What happens if you list under /mnt/Primus/jails/plexmediaserver_1/

ls -lh /mnt/Primus/jails/plexmediaserver_1/
root@truenas[~]# ls -lh /mnt/Primus/jails/plexmediaserver_1/
total 118K
-r--r--r--  1 root root 6.1K Sep 28  2016 COPYRIGHT
drwxr-xr-x  2 root root   47 Sep 28  2016 bin
drwxr-xr-x  8 root root   51 Sep 28  2016 boot
dr-xr-xr-x  2 root root    3 Nov 16  2018 dev
drwxr-xr-x 25 root root  109 Mar 30  2020 etc
drwxr-xr-x  4 root root   56 Sep 28  2016 lib
drwxr-xr-x  3 root root    5 May 12  2017 libexec
drwxr-xr-x  2 root root    2 Sep 28  2016 media
drwxr-xr-x  2 root root    2 Sep 28  2016 mnt
dr-xr-xr-x  2 root root    2 Sep 28  2016 proc
drwxr-xr-x  2 root root  146 Sep 28  2016 rescue
drwxr-xr-x  2 root root    6 Sep 28  2016 root
drwxr-xr-x  2 root root  136 Sep 28  2016 sbin
lrwxr-xr-x  1 root root   11 Sep 28  2016 sys -> usr/src/sys
drwxrwxrwt 18 root root   25 Apr  1  2020 tmp
drwxr-xr-x 15 root root   15 Nov 16  2018 usr
drwxr-xr-x 25 root root   25 Mar 30  2020 var
root@truenas[~]# ls -lh /mnt/Primus/jails/plexmediaserver_1/mnt
total 0
root@truenas[~]# ls -lh /mnt/Primus/jails/plexmediaserver_1/media
total 0
root@truenas[~]# 
root@truenas[~]# zfs list -r -t filesystem -o space Primus | grep -v \.system
NAME                                                               AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
Primus                                                             9.57T  11.3T        0B   11.3T             0B      36.2G
Primus/iocage                                                      9.57T  18.7G        0B   7.90M             0B      18.7G
Primus/iocage/download                                             9.57T   137M        0B    128K             0B       137M
Primus/iocage/download/11.3-RELEASE                                9.57T   137M        0B    137M             0B         0B
Primus/iocage/images                                               9.57T   128K        0B    128K             0B         0B
Primus/iocage/jails                                                9.57T  18.1G        0B    128K             0B      18.1G
Primus/iocage/jails/Homestar                                       9.57T  18.1G     2.06M    866K             0B      18.1G
Primus/iocage/jails/Homestar/root                                  9.57T  18.1G     8.79G   9.34G             0B         0B
Primus/iocage/log                                                  9.57T   134K        0B    134K             0B         0B
Primus/iocage/releases                                             9.57T   453M        0B    128K             0B       452M
Primus/iocage/releases/11.3-RELEASE                                9.57T   452M        0B    128K             0B       452M
Primus/iocage/releases/11.3-RELEASE/root                           9.57T   452M        0B    452M             0B         0B
Primus/iocage/templates                                            9.57T   128K        0B    128K             0B         0B
Primus/ix-apps                                                     9.57T   480M        0B    174K             0B       479M
Primus/ix-apps/app_configs                                         9.57T   715K        0B    715K             0B         0B
Primus/ix-apps/app_mounts                                          9.57T  1.49M        0B    140K             0B      1.35M
Primus/ix-apps/app_mounts/plex                                     9.57T  1.35M        0B    140K             0B      1.21M
Primus/ix-apps/app_mounts/plex/config                              9.57T  1.08M        0B   1.08M             0B         0B
Primus/ix-apps/app_mounts/plex/data                                9.57T   140K        0B    140K             0B         0B
Primus/ix-apps/docker                                              9.57T   336M        0B    336M             0B         0B
Primus/ix-apps/truenas_catalog                                     9.57T   141M        0B    141M             0B         0B
Primus/jails                                                       9.57T  9.87G        0B    215K             0B      9.87G
Primus/jails/.warden-template-pluginjail-11.0-x64                  9.57T   600M     10.0M    590M             0B         0B
Primus/jails/.warden-template-standard-11.0-x64                    9.57T  2.37G      100M   2.27G             0B         0B
Primus/jails/plexmediaserver_1                                     9.57T  6.92G        0B   6.92G             0B         0B
Primus/winder                                                      9.57T  6.59G       93K    163K             0B      6.59G
Primus/winder/.warden-template-pluginjail                          9.57T   600M     10.0M    590M             0B         0B
Primus/winder/.warden-template-pluginjail-11.0-x64                 9.57T   600M     10.0M    590M             0B         0B
Primus/winder/.warden-template-pluginjail-11.0-x64-20180505233651  9.57T   600M     10.0M    590M             0B         0B
Primus/winder/.warden-template-standard                            9.57T  2.37G      100M   2.27G             0B         0B
Primus/winder/.warden-template-standard-11.0-x64                   9.57T  2.37G      100M   2.27G             0B         0B
Primus/winder/.warden-template-standard-11.0-x64-newconfig-clone   9.57T   100M        0B    100M             0B         0B
Primus/winder/Windows File Access                                  9.57T   128K        0B    128K             0B         0B
root@truenas[~]#  

Been in IT 26 years never knew what the name of the thing underneath the Tilde was

Oh no. I just realized something. You have been saving media files directly in the root dataset? This will cause all sorts of permission issues (and is not good practice). :worried:

ls -lh /mnt/Primus/ | grep -v 'iocage\|ix-apps\|jails\|winder'

The files were stored in /mnt/Primus/winder/

Am i screwed?

Welcome to TrueNAS
Last login: Sat Jan 11 19:07:37 PST 2025 on pts/3

Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI, CLI, and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.

root@truenas[~]# ls -lh /mnt/Primus/ | grep -v 'iocage\|ix-apps\|jails\|winder\|'
root@truenas[~]# ls -lh /mnt/Primus/ | grep -v 'iocage\|ix-apps\|jails\|winder\|'
root@truenas[~]# 

winder as a folder, not a dataset, apparently.


Not really. But there’s a lot going on.

You have an ix-apps dataset, an iocage dataset, a jails dataset, and .warden datasets throughout.

This must be from quite an old FreeNAS system.

I honestly don’t know what is supposed to be what, or even which “apps” are running from where. :face_with_spiral_eyes:

I don’t know what winder (or its children) are supposed to be. You will need to manually unmount Primus/winder, which is hopefully a “safe” action and won’t break or crash anything. (I don’t know what apps or services are using it.)

This requires bypassing the GUI.

zfs umount Primus/winder

Just know that you might bump into issues.

If it safely unmounts, try checking again under the winder “folder”:

ls -lh /mnt/Primus/winder/

EDIT: For the “unmount”, I would stop any shares or services that might be using the path, and even unmount each child, one by one, under the winder dataset, before unmounting winder itself.

It is quite old installation, had it running over 10 years ++? started off with 4 x1tb drives etc

Well even if it screws it, i dont have anything now, also thanks for the help.

threw no errors.

worked with following returns

root@truenas[/]# zfs umount Primus/winder
root@truenas[/]# ls -lh /mnt/Primus/winder/
total 912K
drwxrwxrwx    3 1000  972    3 Jan  2  2019  Downloads
drwxrwxrwx    4 1000 1000    4 Dec 11  2023 'Files to sort'
drwxrwxrwx    4 1000  972    8 Dec  9  2023  Film
drwxrwxrwx    5 1000  972    5 Nov 24  2018  Game_Movies
drwxrwxrwx    7 1000  972    7 Dec 21  2015  Movie
drwxrwxrwx    4 1000  972    4 Jul  8  2024  Music
drwxrwxrwx 2204 1000  972 2.2K Dec 16 22:29 'TV New'
drwxrwxrwx    2 1000  972    2 Apr 29  2022 'TV Sort'
drwxrwxrwx  405 1000  972  406 Jul  8  2024 'TV Watched'
drwxrwxrwx   18 1000  972   18 Oct 18  2020  localhost
root@truenas[/]# 

Say hello to your files. :wave:

How do you want to proceed? Would you like to “move” them to live under the dataset winder? Being in the root dataset is not a good idea.

I also notice you don’t have a user assigned to UIDs 1000 and 972.

Those users will need to be created in the TrueNAS SCALE GUI. For some reason (I still don’t know why), the first user created in SCALE starts with UID 3000 by default.

Lets move them to winder (if thats not the prime data set)

I have the following users now

root 	0	    Yes	root	Has Allow List, Full Admin
donkey2	972	    No	donkey2	N/A
donkey1	1000	No	donkey1	N/A
filac	3000	No	Filac	N/A

Before doing so, let’s check some prerequisites.

zpool get feature@block_cloning Primus
zfs list -t filesystem -r -o name,encryption,recordsize,compression

To make sure that winder is still umounted:

zfs mount | grep winder

returns

root@truenas[~]# zpool get feature@block_cloning Primus
NAME    PROPERTY               VALUE                  SOURCE
Primus  feature@block_cloning  enabled                local
root@truenas[~]# 
root@truenas[~]# zfs list -t filesystem -r -o name,encryption,recordsize,compression
NAME                                                               ENCRYPTION   RECSIZE  COMPRESS
Primus                                                             off             128K  lz4
Primus/.system                                                     off             128K  lz4
Primus/.system/configs-3bc724bbb18d493585697320a07060e7            off             128K  lz4
Primus/.system/configs-5ece5c906a8f4df886779fae5cade8a5            off             128K  lz4
Primus/.system/configs-ae32c386e13840b2bf9c0083275e7941            off             128K  lz4
Primus/.system/configs-b3147af497d748f98f845f65b942be53            off             128K  lz4
Primus/.system/configs-e6cb7c26dd1243d3962c3f87f9eddfe5            off             128K  lz4
Primus/.system/cores                                               off             128K  lz4
Primus/.system/netdata-ae32c386e13840b2bf9c0083275e7941            off             128K  lz4
Primus/.system/nfs                                                 off             128K  lz4
Primus/.system/rrd-3bc724bbb18d493585697320a07060e7                off             128K  lz4
Primus/.system/rrd-5ece5c906a8f4df886779fae5cade8a5                off             128K  lz4
Primus/.system/rrd-b3147af497d748f98f845f65b942be53                off             128K  lz4
Primus/.system/rrd-e6cb7c26dd1243d3962c3f87f9eddfe5                off             128K  lz4
Primus/.system/samba4                                              off             128K  lz4
Primus/.system/syslog-3bc724bbb18d493585697320a07060e7             off             128K  lz4
Primus/.system/syslog-5ece5c906a8f4df886779fae5cade8a5             off             128K  lz4
Primus/.system/syslog-b3147af497d748f98f845f65b942be53             off             128K  lz4
Primus/.system/syslog-e6cb7c26dd1243d3962c3f87f9eddfe5             off             128K  lz4
Primus/.system/webui                                               off             128K  lz4
Primus/iocage                                                      off             128K  lz4
Primus/iocage/download                                             off             128K  lz4
Primus/iocage/download/11.3-RELEASE                                off             128K  lz4
Primus/iocage/images                                               off             128K  lz4
Primus/iocage/jails                                                off             128K  lz4
Primus/iocage/jails/Homestar                                       off             128K  lz4
Primus/iocage/jails/Homestar/root                                  off             128K  lz4
Primus/iocage/log                                                  off             128K  lz4
Primus/iocage/releases                                             off             128K  lz4
Primus/iocage/releases/11.3-RELEASE                                off             128K  lz4
Primus/iocage/releases/11.3-RELEASE/root                           off             128K  lz4
Primus/iocage/templates                                            off             128K  lz4
Primus/ix-apps                                                     off             128K  lz4
Primus/ix-apps/app_configs                                         off             128K  lz4
Primus/ix-apps/app_mounts                                          off             128K  lz4
Primus/ix-apps/app_mounts/plex                                     off             128K  lz4
Primus/ix-apps/app_mounts/plex/config                              off             128K  lz4
Primus/ix-apps/app_mounts/plex/data                                off             128K  lz4
Primus/ix-apps/docker                                              off             128K  lz4
Primus/ix-apps/truenas_catalog                                     off             128K  lz4
Primus/jails                                                       off             128K  lz4
Primus/jails/.warden-template-pluginjail-11.0-x64                  off             128K  lz4
Primus/jails/.warden-template-standard-11.0-x64                    off             128K  lz4
Primus/jails/plexmediaserver_1                                     off             128K  lz4
Primus/winder                                                      off             128K  lz4
Primus/winder/.warden-template-pluginjail                          off             128K  lz4
Primus/winder/.warden-template-pluginjail-11.0-x64                 off             128K  lz4
Primus/winder/.warden-template-pluginjail-11.0-x64-20180505233651  off             128K  lz4
Primus/winder/.warden-template-standard                            off             128K  lz4
Primus/winder/.warden-template-standard-11.0-x64                   off             128K  lz4
Primus/winder/.warden-template-standard-11.0-x64-newconfig-clone   off             128K  lz4
Primus/winder/Windows File Access                                  off             128K  lz4
boot-pool                                                          off             128K  on
boot-pool/ROOT                                                     off             128K  on
boot-pool/ROOT/24.10.1                                             off             128K  on
boot-pool/ROOT/24.10.1/audit                                       off             128K  on
boot-pool/ROOT/24.10.1/conf                                        off             128K  on
boot-pool/ROOT/24.10.1/data                                        off             128K  on
boot-pool/ROOT/24.10.1/etc                                         off             128K  on
boot-pool/ROOT/24.10.1/home                                        off             128K  on
boot-pool/ROOT/24.10.1/mnt                                         off             128K  on
boot-pool/ROOT/24.10.1/opt                                         off             128K  on
boot-pool/ROOT/24.10.1/root                                        off             128K  on
boot-pool/ROOT/24.10.1/usr                                         off             128K  on
boot-pool/ROOT/24.10.1/var                                         off             128K  on
boot-pool/ROOT/24.10.1/var/ca-certificates                         off             128K  on
boot-pool/ROOT/24.10.1/var/log                                     off             128K  on
boot-pool/ROOT/24.10.1/var/log/journal                             off             128K  on
boot-pool/grub                                                     off             128K  on
root@truenas[~]# 

returns nothing

root@truenas[~]# 
root@truenas[~]# zfs mount | grep winder
root@truenas[~]# zfs mount | grep winder
root@truenas[~]# 
1 Like

Everything appears ready. :+1:

One more test before proceeding.

First, make a temporary checkpoint on the pool:

zpool checkpoint Primus

Then, rename the winder folder to winder_old:

mv -v /mnt/Primus/winder /mnt/Primus/winder_old:

Then remount the winder dataset:

zfs mount Primus/winder

Then, check the pool’s block-clone usage:

zpool get bcloneused Primus

Then create a 4-GiB file of random bits inside the winder_old folder:

dd if=/dev/urandom bs=1M count=4096 status=progress of=/mnt/Primus/winder_old/bigfile.dat

Then copy this file into the proper (dataset) winder location:

cp -va /mnt/Primus/winder_old/bigfile.dat /mnt/Primus/winder/

Now check the block-clone usage on the pool again:

zpool get bcloneused Primus

You can delete the bigfile.dat and its copy if it was a success.

:warning: Be careful when using the command-line! :warning:

EDIT: You might have to use sudo on some commands, depending the permissions.

EDIT 2: Please create a checkpoint for the pool before proceeding!