Misreported volume size.

Urumiko

Dabbler
Joined
Jul 2, 2017
Messages
32
Hi all,

I've been running A small server since about freenas 8 but never really delved under the hood too much.
I just run a basic file server and a plex instance.
One thing that always bothered me Is my video storage area has never reported size correctly. It is actually a few TB.

I also notice the Type is different. This is not something I have done intentionally.

Can anyone advise me if the reporting is an easy fix?

Capture.PNG


Secondary to this I intend in the next 2 months to backup all of my data to an external cold storage drive. But would like to take the opportunity to better implement my pools if anyone would like to offer advice in this area?

Cheers.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Looks like you made a mistake in creating your video storage area. A "VOLUME" is for VMs or allowing iSCSI access.

Please put in the output of the following in code tags;
Code:
zfs list -t all -r main
ls /mnt/main

It's probably you put your video storage under a directory in the top level of the "main" dataset. Perhaps with "videos" with an "s" at the end.

You can determine what "video" the VOLUME is used for later, and possibly remove it if un-needed.
 

Urumiko

Dabbler
Joined
Jul 2, 2017
Messages
32
Please put in the output of the following in code tags;

Thanks for reaching out to help. I had to enable SSH as the webgui console was refusing to copy the last few lines of output, but based on what I am seeing I think you are indeed correct!

Are we saying the OS isn't able to handle the volume and the subdirectory having the same name?
Presumably the solution would be rename the subdirectory, delete the zvol, then rename the subdirectory back to what it was?

Feel free to extreme hand hold on this i don't want to delete my data by accident. I don't have a backup yet.

IF its worth waiting until my backup drive arrives that's cool too =)


P:S is the below normally that messy?


Code:
root@freenas:~ # zfs list -t all -r main
NAME                                                                                   USED  AVAIL     REFER  MOUNTPOINT
main                                                                                  2.87T  4.79T     2.03T  /mnt/main
main/.system                                                                           229M  4.79T      163K  legacy
main/.system/configs-54a371085d1e45fe939ad239dfde9a36                                  112M  4.79T      112M  legacy
main/.system/configs-76c11d7f8a944b3d8e42fe35420dbaa3                                 13.1M  4.79T     13.1M  legacy
main/.system/configs-da3005e4700844cbbe45f340090cd533                                 48.8M  4.79T     48.8M  legacy
main/.system/cores                                                                     140K  1024M      140K  legacy
main/.system/rrd-54a371085d1e45fe939ad239dfde9a36                                     29.7M  4.79T     29.7M  legacy
main/.system/rrd-76c11d7f8a944b3d8e42fe35420dbaa3                                     19.4M  4.79T     19.4M  legacy
main/.system/rrd-da3005e4700844cbbe45f340090cd533                                      140K  4.79T      140K  legacy
main/.system/samba4                                                                   2.41M  4.79T     1.12M  legacy
main/.system/samba4@update--2020-06-14-16-46--11.3-U1                                  604K      -     1017K  -
main/.system/samba4@update--2021-02-19-20-33--12.1-MASTER-202009190438                 285K      -     1.12M  -
main/.system/samba4@update--2021-03-04-23-08--12.1-MASTER-202102080538                 285K      -     1.12M  -
main/.system/services                                                                  140K  4.79T      140K  legacy
main/.system/syslog-54a371085d1e45fe939ad239dfde9a36                                   128K  4.79T      128K  legacy
main/.system/syslog-76c11d7f8a944b3d8e42fe35420dbaa3                                  1.12M  4.79T     1.12M  legacy
main/.system/syslog-da3005e4700844cbbe45f340090cd533                                  1.79M  4.79T     1.79M  legacy
main/.system/webui                                                                     128K  4.79T      128K  legacy
main/.warden-template-pluginjail-11.0-x64                                              590M  4.79T      590M  /mnt/main/.warden-template-pluginjail-11.0-x64
main/.warden-template-pluginjail-11.0-x64@clean                                        151K      -      590M  -
main/Photo                                                                             249G  4.79T      249G  /mnt/main/Photo
main/Storage                                                                           588G  4.79T      588G  /mnt/main/Storage
main/iocage                                                                           17.8G  4.79T     16.1M  /mnt/main/iocage
main/iocage/download                                                                   660M  4.79T      128K  /mnt/main/iocage/download
main/iocage/download/11.3-RELEASE                                                      288M  4.79T      288M  /mnt/main/iocage/download/11.3-RELEASE
main/iocage/download/12.1-RELEASE                                                      371M  4.79T      371M  /mnt/main/iocage/download/12.1-RELEASE
main/iocage/images                                                                     128K  4.79T      128K  /mnt/main/iocage/images
main/iocage/jails                                                                     14.3G  4.79T      128K  /mnt/main/iocage/jails
main/iocage/jails/PLEXSERVER_V2                                                       14.3G  4.79T      424K  /mnt/main/iocage/jails/PLEXSERVER_V2
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p6_2020-03-05_23-55-10         523K      -      581K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p6_2020-03-06_20-35-28         535K      -      593K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p6_2020-03-18_01-12-17         523K      -      581K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p6_2020-06-14_18-06-22         523K      -      581K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2020-06-14_18-10-14        808K      -      866K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2020-09-19_20-40-06        105K      -      854K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2020-09-19_20-41-56         93K      -      854K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2020-09-19_20-45-27        122K      -      866K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2020-09-19_21-14-10        134K      -      866K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2021-02-19_20-43-39       81.4K      -      854K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2021-02-19_20-44-01       81.4K      -      854K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2021-02-19_20-45-38         93K      -      854K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2021-02-19_20-46-14       81.4K      -      866K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_11.3-RELEASE-p10_2021-02-19_20-49-59       81.4K      -      866K  -
main/iocage/jails/PLEXSERVER_V2@ioc_plugin_upgrade_2021-02-19                         81.4K      -      866K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_12.1-RELEASE-p13_2021-02-19_21-14-17        366K      -      424K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_12.1-RELEASE-p13_2021-03-04_22-53-01        355K      -      413K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_12.1-RELEASE-p13_2021-04-02_20-56-37        343K      -      401K  -
main/iocage/jails/PLEXSERVER_V2@ioc_update_12.1-RELEASE-p13_2021-04-02_21-08-46        355K      -      413K  -
main/iocage/jails/PLEXSERVER_V2/root                                                  14.3G  4.79T     6.68G  /mnt/main/iocage/jails/PLEXSERVER_V2/root
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p6_2020-03-05_23-55-10    368M      -     1.34G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p6_2020-03-06_20-35-28    480M      -     2.66G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p6_2020-03-18_01-12-17    540M      -     2.81G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p6_2020-06-14_18-06-22    358M      -     2.94G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2020-06-14_18-10-14   496M      -     3.26G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2020-09-19_20-40-06  1.23M      -     4.54G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2020-09-19_20-41-56  1.06M      -     4.54G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2020-09-19_20-45-27  2.80M      -     4.54G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2020-09-19_21-14-10   100M      -     5.98G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2021-02-19_20-43-39   494K      -     6.31G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2021-02-19_20-44-01   477K      -     6.31G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2021-02-19_20-45-38  1.15M      -     6.31G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2021-02-19_20-46-14  1.24M      -     6.31G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_11.3-RELEASE-p10_2021-02-19_20-49-59   448K      -     6.32G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_plugin_upgrade_2021-02-19                     500K      -     6.32G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_12.1-RELEASE-p13_2021-02-19_21-14-17   404M      -     6.48G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_12.1-RELEASE-p13_2021-03-04_22-53-01   842M      -     6.62G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_12.1-RELEASE-p13_2021-04-02_20-56-37   470M      -     6.54G  -
main/iocage/jails/PLEXSERVER_V2/root@ioc_update_12.1-RELEASE-p13_2021-04-02_21-08-46   408M      -     6.68G  -
main/iocage/log                                                                        134K  4.79T      134K  /mnt/main/iocage/log
main/iocage/releases                                                                  2.88G  4.79T      128K  /mnt/main/iocage/releases
main/iocage/releases/11.3-RELEASE                                                     1.22G  4.79T      128K  /mnt/main/iocage/releases/11.3-RELEASE
main/iocage/releases/11.3-RELEASE/root                                                1.22G  4.79T     1.22G  /mnt/main/iocage/releases/11.3-RELEASE/root
main/iocage/releases/12.1-RELEASE                                                     1.65G  4.79T      140K  /mnt/main/iocage/releases/12.1-RELEASE
main/iocage/releases/12.1-RELEASE/root                                                1.65G  4.79T     1.65G  /mnt/main/iocage/releases/12.1-RELEASE/root
main/iocage/templates                                                                  128K  4.79T      128K  /mnt/main/iocage/templates
main/jails                                                                            4.35G  4.79T      163K  /mnt/main/jails
main/jails/.warden-template-pluginjail-11.0-x64                                        590M  4.79T      590M  /mnt/main/jails/.warden-template-pluginjail-11.0-x64
main/jails/.warden-template-pluginjail-11.0-x64@clean                                  151K      -      590M  -
main/jails/plexmediaserver_1                                                          3.78G  4.79T     4.34G  /mnt/main/jails/plexmediaserver_1
main/video                                                                              93K  4.79T       93K  -



Code:
root@freenas:~ # ls -, /mnt/main
.plexmediaserver_1.meta                 .warden-template-pluginjail-11.0-x64    jails                                   Storage
.plugins                                iocage                                  MusicStuff                              video
.warden-files-cache                     ISOS                                    Photo
root@freenas:~ # ls /mnt/main/video
Concert & Music Guitar          Movies          Standup Comedy  TV Shows


 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
In regards to the output of zfs list -t all -r main, yes, TrueNAS is normally that messy. I forget sometimes as my home Linux computers, (desktop, laptop and media server), all use ZFS but in a simpler configuration.


In regards to your media, it's easier than I thought. I was not thinking, but ZFS Volumes are not mounted per say. They are containers that could hold a file system that could then be mounted. But, it appears not to be in use at present. So, no conflict.

So, yes, you can leave the ZFS Volume "media" around, it's not hurting anything right now.

You can wait til your backup media arrives and you have performed a full backup, (with verification that it all seems to be present). Then you can see about making some subtle changes, by moving your NAS media into a dataset. Right now, it's in the parent / pool dataset. Not a real problem, just a few quirks. Like finding the size.
 
Top