*New 12.1 series Release:
2019-11-08: XigmaNAS 12.1.0.4.7091 - released!

*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

disk full error

If you are new on this forum and you don't know where to post please use this sub-forum. Somebody will answer your question and/or will move your topic into the right sub-forum.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
rwps
Starter
Starter
Posts: 36
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

disk full error

#1

Post by rwps » 01 Sep 2019 05:00

Now I am getting a disk full error, which means I can't open any files. The log shows this when I tried to open a file:
kernel: pid 47475 (smbd), uid 21 inumber 160771 on /: filesystem full

Rebooting the server fixed it, but my guess is that the same thing will happen again, is something filling my boot drive?

The boot drive is a 160gb hdd in a usb case.
The system is:
Version:> 12.0.0.4 - Reticulus (revision 6766)
Platform OS:> FreeBSD 12.0-RELEASE-p6 #0 r349200M: Wed Jun 19 20:27:52 CEST 2019
Platform:> x64-Full on Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz
System:> HP ProLiant MicroServer Gen8

Diagnostics > Information > Disks shows:
Image

Diagnostics > Information > Space Used shows:
Image
Version:> 12.0.0.4 - Reticulus (revision 6766)
Platform OS:> FreeBSD 12.0-RELEASE-p6 #0 r349200M: Wed Jun 19 20:27:52 CEST 2019
Platform:> x64-Full on Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz
System:> HP ProLiant MicroServer Gen8
Ram:> 8gb
Pool:> 3x 3tb, 1x 4tb, one pool, raidz2
Donate to XigmaNAS:> I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4940
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: disk full error

#2

Post by raulfg3 » 01 Sep 2019 13:46

please search forum for disk full
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

rwps
Starter
Starter
Posts: 36
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: disk full error

#3

Post by rwps » 01 Sep 2019 22:50

raulfg3 wrote:
01 Sep 2019 13:46
please search forum for disk full
Thanks I did do that, and I didn't find anything that would explain why I now have this error on 12.xx whereas on 10.xx for years no issue.

There is no change to the hardware, and I brought my config file over from 10.xx and imported it into 12.xx. So my guess is that something in 12.xx is different, or working with my config file differently

I take it that it is my boot drive that is full, as the zfs pool has plenty of space.
Version:> 12.0.0.4 - Reticulus (revision 6766)
Platform OS:> FreeBSD 12.0-RELEASE-p6 #0 r349200M: Wed Jun 19 20:27:52 CEST 2019
Platform:> x64-Full on Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz
System:> HP ProLiant MicroServer Gen8
Ram:> 8gb
Pool:> 3x 3tb, 1x 4tb, one pool, raidz2
Donate to XigmaNAS:> I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
ms49434
Developer
Developer
Posts: 746
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: disk full error

#4

Post by ms49434 » 01 Sep 2019 23:24

check the storage locations of your services and log files.
1) XigmaNAS 12.0.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U2, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, SLOG: Samsung 850 Pro, L2ARC: Samsung 850 Pro, Pool 2: 1x Samsung 860 EVO 1TB , services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.0.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U2, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4940
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: disk full error

#5

Post by raulfg3 » 02 Sep 2019 08:28

https://www.xigmanas.com/wiki/doku.php?id=faq:0046

and please revise your logs and du a df to find what folder is grow excesively.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

rwps
Starter
Starter
Posts: 36
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: disk full error

#6

Post by rwps » 21 Sep 2019 15:07

Apologies, I've been away from home for weeks and not been able to follow up on this.
I don't understand what should show on the screens data shown below, but it seems that the 160gb of my OS drive isn't helping, because there is a 2.9/3gb part that is getting too full.
Have I done something wrong in the setup that the fill 160gb is not being accessed?

Diagnostics > Information > Space Used
Filesystem Type Size Used Avail Capacity Mounted on
/dev/ufsid/5d58cbaef428e932 ufs 2.9G 2.9G -234M 109% /


Diagnostics > Information > Partitions

=> 63 312581745 da0 MBR (149G)
63 6313482 1 freebsd [active] (3.0G)
6313545 4209030 2 freebsd (2.0G)
10522575 302054130 3 freebsd (144G)
312576705 5103 - free - (2.5M)
Version:> 12.0.0.4 - Reticulus (revision 6766)
Platform OS:> FreeBSD 12.0-RELEASE-p6 #0 r349200M: Wed Jun 19 20:27:52 CEST 2019
Platform:> x64-Full on Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz
System:> HP ProLiant MicroServer Gen8
Ram:> 8gb
Pool:> 3x 3tb, 1x 4tb, one pool, raidz2
Donate to XigmaNAS:> I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

rwps
Starter
Starter
Posts: 36
Joined: 19 Sep 2012 13:55
Location: Australia
Status: Offline

Re: disk full error

#7

Post by rwps » 22 Sep 2019 07:35

raulfg3 wrote:
02 Sep 2019 08:28
https://www.xigmanas.com/wiki/doku.php?id=faq:0046

and please revise your logs and du a df to find what folder is grow excesively.
I couldn't see how to check the logs beyond following the instructions at https://www.xigmanas.com/wiki/doku.php?id=faq:0046,
from there I ran the find command suggested: find / -type f -size +8192 -ls -xdev
The output from that is below, nothing stood out particularly other than plex.

To my simple understanding the issue seems to be the fact that the only space available and used for the System is 2.9Gb
Image

And that the rest of the 160Gb drive is not being used, it's partitions here:
Image

Do I need to do something to expand the 2.9Gb partition?

Thanks

FIND OUTPUT:

Code: Select all

$ find / -type f -size +8192 -ls -xdev
248170    32000 -rwxr-xr-x    1 root                             wheel                            16339912 Jun 20 06:04 /usr/local/bin/mariabackup
248173     8448 -rwxr-xr-x    1 root                             wheel                             4270864 Jun 20 06:04 /usr/local/bin/aria_chk
248174     8384 -rwxr-xr-x    1 root                             wheel                             4233984 Jun 20 06:04 /usr/local/bin/aria_read_log
248182     8320 -rwxr-xr-x    1 root                             wheel                             4216920 Jun 20 06:04 /usr/local/bin/mysqltest
248199     8512 -rwxr-xr-x    1 root                             wheel                             4293744 Jun 20 06:04 /usr/local/bin/mysql_client_test
248201    30080 -rwxr-xr-x    1 root                             wheel                            15342472 Jun 20 06:04 /usr/local/bin/mysql_embedded
248202    29952 -rwxr-xr-x    1 root                             wheel                            15285072 Jun 20 06:04 /usr/local/bin/mysqltest_embedded
248203    30272 -rwxr-xr-x    1 root                             wheel                            15436384 Jun 20 06:04 /usr/local/bin/mysql_client_test_embedded
248234    29184 -r-xr-xr-x    1 root                             wheel                            14905728 Jun 20 07:22 /usr/local/bin/php-cgi
248235    29312 -r-xr-xr-x    1 root                             wheel                            14962928 Jun 20 07:22 /usr/local/bin/php
248276    34496 -r-xr-xr-x    1 root                             wheel                            17618128 Jun 20 07:24 /usr/local/bin/smbtorture
248301    37184 -r-xr-xr-x    1 root                             wheel                            18975406 Jun 20 07:24 /usr/local/bin/syncthing
247967    12992 -rw-r--r--    1 root                             wheel                             6603054 Jun 20 07:19 /usr/local/lib/libicui18n.a
322201    64576 -rw-r--r--    1 root                             wheel                            33026356 Jun 20 06:04 /usr/local/lib/mysql/libmysqld.a
322202    35392 -rwxr-xr-x    1 root                             wheel                            18086464 Jun 20 06:04 /usr/local/lib/mysql/libmysqld.so.19
248005    17408 -rwxr-xr-x    1 root                             wheel                             8871088 Jun 20 07:24 /usr/local/lib/libndr-standard.so.0
321527     8704 -rwxr-xr-x    1 root                             wheel                             4414000 Jun 20 07:24 /usr/local/lib/samba/libdcerpc-samba-samba4.so
321570    19904 -rwxr-xr-x    1 root                             wheel                            10137768 Jun 20 07:24 /usr/local/lib/samba/libsmbd-base-samba4.so
321268    20864 -rw-r--r--    1 root                             wheel                            10639776 Jun 20 06:59 /usr/local/lib/virtualbox/VBoxDD.so
321280    11520 -rw-r--r--    1 root                             wheel                             5845904 Jun 20 06:59 /usr/local/lib/virtualbox/VBoxREM.so
321281    19840 -rw-r--r--    1 root                             wheel                            10096760 Jun 20 06:55 /usr/local/lib/virtualbox/VBoxRT.so
321284    27200 -rw-r--r--    1 root                             wheel                            13881056 Jun 20 06:59 /usr/local/lib/virtualbox/VBoxVMM.so
321286    15360 -rw-r--r--    1 root                             wheel                             7806568 Jun 20 06:55 /usr/local/lib/virtualbox/VBoxXPCOM.so
321316    53568 -rw-r--r--    1 root                             wheel                            27374872 Jun 20 06:59 /usr/local/lib/virtualbox/components/VBoxC.so
321299    10112 -r-xr-xr-x    1 root                             wheel                             5121680 Jun 20 06:59 /usr/local/lib/virtualbox/VBoxSVC
321301    37312 -r-xr-xr-x    1 root                             wheel                            19066464 Jun 20 06:59 /usr/local/lib/virtualbox/vboxwebsrv
321302    28224 -r-xr-xr-x    1 root                             wheel                            14392472 Jun 20 06:59 /usr/local/lib/virtualbox/webtest
248027    31872 -rwxr-xr-x    1 root                             wheel                            16257160 Jun 20 07:34 /usr/local/lib/libavcodec.so.58
248047    10752 -rwxr-xr-x    1 root                             wheel                             5454776 Jun 20 07:34 /usr/local/lib/libfreeipmi.so.17
248128    10944 -rwxr-xr-x    1 root                             wheel                             5545120 Jun 20 07:34 /usr/local/lib/libx265.so.170
247946    31488 -r-xr-xr-x    1 root                             wheel                            16057032 Jun 20 07:22 /usr/local/libexec/mysqld
247895    28608 -r-xr-xr-x    1 root                             wheel                            14582784 Jun 20 07:22 /usr/local/sbin/arcconf
247688    53888 -rwxr-xr-x    1 root                             wheel                            27531792 Jun 20 07:19 /usr/local/share/icu/64.2/icudt64l.dat
  4616     9344 -r-xr-xr-x    1 root                             wheel                             4726448 Aug 16 14:31 /usr/local/share/plexmediaserver/Plex DLNA Server
  4619    13120 -r-xr-xr-x    1 root                             wheel                             6663688 Aug 16 14:31 /usr/local/share/plexmediaserver/Plex Media Scanner
  4620    50624 -r-xr-xr-x    1 root                             wheel                            25865776 Aug 16 14:31 /usr/local/share/plexmediaserver/Plex Media Server
  4636    37824 -rw-r--r--    1 root                             wheel                            19319840 Aug  2 19:26 /usr/local/share/plexmediaserver/Resources/Fonts/NotoSansCJK-Bold.ttc
  4637    36736 -rw-r--r--    1 root                             wheel                            18748872 Aug  2 19:26 /usr/local/share/plexmediaserver/Resources/Fonts/NotoSansCJK-Regular.ttc
  6235     9280 -rw-r--r--    1 root                             wheel                             4694293 Aug  2 19:48 /usr/local/share/plexmediaserver/Resources/Plug-ins-6d5612c2f/WebClient.bundle/Contents/Resources/js/chunk-2-dd4c6c9a61e73d7302cd-plex-3.104.2-1b12c68.js
  7657    15552 -rw-r--r--    1 root                             wheel                             7903256 Aug  2 19:26 /usr/local/share/plexmediaserver/lib/dri/i965_drv_video.so
  7659     8832 -rw-r--r--    1 root                             wheel                             4468368 Aug  2 19:48 /usr/local/share/plexmediaserver/lib/libavfilter.so.7
  7660     8384 -rw-r--r--    1 root                             wheel                             4237256 Aug  2 19:48 /usr/local/share/plexmediaserver/lib/libavformat.so.58
  7681    15552 -rw-r--r--    1 root                             wheel                             7897592 Aug  2 19:48 /usr/local/share/plexmediaserver/lib/libfreeimage.so
  7692    12032 -rw-r--r--    1 root                             wheel                             6106040 Aug  2 19:48 /usr/local/share/plexmediaserver/lib/libpython2.7.so.1
 81823    64512 -rw-r--r--    1 root                             wheel                            32990888 Aug 18 13:54 /boot/kernel/kernel
160750   102656 -rw-r--r--    1 root                             wheel                            52506624 Aug 16 21:21 /var/db/pkg/repo-FreeBSD.sqlite
160760   139136 -rw-r--r--    1 root                             wheel                            71183724 Aug 16 14:33 /var/cache/pkg/plexmediaserver-1.16.4.1469-5d47afb30a.txz
160885    44544 -rw-r--r--    1 972                              plex                             22773760 Sep 15 22:06 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db
168402    10368 -rw-r--r--    1 972                              plex                              5242893 Aug 18 20:24 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Logs/Plex Media Server.4.log
180644    10368 -rw-r--r--    1 972                              plex                              5242947 Aug 18 17:18 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Logs/Plex Media Scanner.3.log
160869    10368 -rw-r--r--    1 972                              plex                              5242908 Aug 18 17:15 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Logs/Plex Media Scanner.4.log
179235    10368 -rw-r--r--    1 972                              plex                              5242888 Aug 18 17:11 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Logs/Plex Media Scanner.5.log
180997    10368 -rw-r--r--    1 972                              plex                              5243508 Aug 18 20:06 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Logs/Plex Media Server.5.log
174290     8320 -rw-r--r--    1 972                              plex                              4215240 Aug 18 17:01 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Codecs/dd95667-2434-freebsd-x86_64/libmsmpeg4v3_decoder.so
163254    10624 -rw-r--r--    1 972                              plex                              5385088 Aug 18 15:36 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Codecs/dd95667-2434-freebsd-x86_64/libh264_decoder.so
177130    10688 -rw-r--r--    1 972                              plex                              5409504 Aug 18 16:57 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Codecs/dd95667-2434-freebsd-x86_64/libhevc_decoder.so
166973    11328 -rw-r--r--    1 972                              plex                              5760768 Aug 18 20:05 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Codecs/dd95667-2434-freebsd-x86_64/liblibx264_encoder.so
166978     8512 -rw-r--r--    1 972                              plex                              4300672 Aug 18 20:06 /mnt/data/Extensions/plex/plexdata/Plex Media Server/Codecs/dd95667-2434-freebsd-x86_64/libaac_encoder.so
180560   484416 -rw-r--r--    1 root                             wheel                            247920640 Sep 14 22:11 /mnt/data/Extensions/plex/plexdata-2019-09-14-221012.tar
Version:> 12.0.0.4 - Reticulus (revision 6766)
Platform OS:> FreeBSD 12.0-RELEASE-p6 #0 r349200M: Wed Jun 19 20:27:52 CEST 2019
Platform:> x64-Full on Intel(R) Xeon(R) CPU E3-1265L V2 @ 2.50GHz
System:> HP ProLiant MicroServer Gen8
Ram:> 8gb
Pool:> 3x 3tb, 1x 4tb, one pool, raidz2
Donate to XigmaNAS:> I do, & it's a tiny price to pay to support the good work that provides the rock of my home network

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4940
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: disk full error

#8

Post by raulfg3 » 22 Sep 2019 09:37

please use du to see what is the most full folder and delete not necessary files.


https://blog.desdelinux.net/du-ver-dire ... n-espacio/


you do not need to grow /, you need to identify files that are not necesary.
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

Post Reply

Return to “Newbie Questions”