Disk space usage.

SMB, NFS, FTP, web file manager and Rsync server.
Locked
User avatar
V8Triker
Posts: 95
Joined: 26 Feb 2021, 19:18
Great Britain

Disk space usage.

Post by V8Triker »

I am somewhat confused in disk usage.

I have a F5-221

First off I created a 3 drive RAID5, with 3x 3Tb drives.
I then transferred around 1.7Tb of data from my existing Ubuntu server.
TNAS reported 1.7Tb in the TNAS status window.

A day later, I created a RAID1 Volume with 2 x 2Tb drives.
I then copied 1.5Tb, of the data on Volumw#1, to Volume#2

This morning, when I checked on the unit I had suddenly gained 1Tb of data on Volume#1
2021-03-07 09_15_13-192.168.0.104 - PuTTY.png
Untitled.png
When inspected, the two mounts seem to contain the same data, which is what I expected.

Can someone please explain the mismatch of just over a terabyte.
Bikers know why dogs stick their head out the window.

TNAS F5-221
TOS 4.2.39-2203011626
3X WD RED PLUS 3TB (RAID5)
2X WD Green 2TB (RAID1)
1X WD 4TB USB
User avatar
V8Triker
Posts: 95
Joined: 26 Feb 2021, 19:18
Great Britain

Re: Disk space usage.

Post by V8Triker »

Mkay, got a bit closer, but more confused.

The admin directory seems to be 1.1Tb. But there is not 1Tb in it.
2021-03-07 09_40_46-192.168.0.104 - PuTTY.png
This is also confirmed in the GUI
2021-03-07 09_43_17-Desktop - TOS.png
Bikers know why dogs stick their head out the window.

TNAS F5-221
TOS 4.2.39-2203011626
3X WD RED PLUS 3TB (RAID5)
2X WD Green 2TB (RAID1)
1X WD 4TB USB
User avatar
V8Triker
Posts: 95
Joined: 26 Feb 2021, 19:18
Great Britain

Re: Disk space usage.

Post by V8Triker »

I think I may have found the culprit, considering usage is still increasing.
There seems to be a job zipping up the ServerFolders directory, which has been running for the last 22 hours.
root 7085 7033 0 Mar06 ? 00:00:00 sh -c cd '/usr/www/tos' ; /etc/zip.sh '/mnt/md0/public/ServerFolders' zip '/mnt/md0/User/admin/.data/temp/'
root 7086 7085 0 Mar06 ? 00:00:00 /bin/bash /etc/zip.sh /mnt/md0/public/ServerFolders zip /mnt/md0/User/admin/.data/temp/
root 7091 7086 90 Mar06 ? 21:41:51 /usr/bin/zip -q -r /mnt/md0/User/admin/.data/temp//ServerFolders.zip ./Home ./Multimedia ./Shared
root 7131 2 0 Mar06 ? 00:00:00 [md8_raid1]
root 7272 2 1 Mar06 ? 00:29:38 [md0_raid5]
Looks like I am gonna have to wait for it to complete, as the use of kill is not permitted :(
[admin@CABBAGE md0]$ kill 7086
-bash: kill: (7086) - Operation not permitted
Bikers know why dogs stick their head out the window.

TNAS F5-221
TOS 4.2.39-2203011626
3X WD RED PLUS 3TB (RAID5)
2X WD Green 2TB (RAID1)
1X WD 4TB USB
User avatar
V8Triker
Posts: 95
Joined: 26 Feb 2021, 19:18
Great Britain

Re: Disk space usage.

Post by V8Triker »

So, I found out that it is possible to log in a root, (via SSH using the same password that you use for admin), and so kill the process.
All is good in the world again. :)
Untitled_2.png
Hopefully this post will help other in the future.
Bikers know why dogs stick their head out the window.

TNAS F5-221
TOS 4.2.39-2203011626
3X WD RED PLUS 3TB (RAID5)
2X WD Green 2TB (RAID1)
1X WD 4TB USB
User avatar
TMroy
TM Support
Posts: 3060
Joined: 10 Mar 2020, 14:04
China

Re: Disk space usage.

Post by TMroy »

May I know how you process the copy task? which file service did you use?
what other operation you did in your system?
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
V8Triker
Posts: 95
Joined: 26 Feb 2021, 19:18
Great Britain

Re: Disk space usage.

Post by V8Triker »

TMroy wrote: 07 Mar 2021, 22:22 May I know how you process the copy task? which file service did you use?
what other operation you did in your system?
The original copy was done my mounting the TNAS drive in my Ubuntu instance, the initiating the copy in a Webmin session.

I seem to recall that I accidently clicked "Download" when I was right clicking on the ServerFolders folder, in TNAS.
Despite cancelling the dialog, I am guessing it still initiated the Zip job, to prepare the files (1.5Tb) for download.
Bikers know why dogs stick their head out the window.

TNAS F5-221
TOS 4.2.39-2203011626
3X WD RED PLUS 3TB (RAID5)
2X WD Green 2TB (RAID1)
1X WD 4TB USB
User avatar
TMroy
TM Support
Posts: 3060
Joined: 10 Mar 2020, 14:04
China

Re: Disk space usage.

Post by TMroy »

I see. Then the zipping task is running for download. we will try to add a new feature on GUI which allows you to cancel the download task.
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
V8Triker
Posts: 95
Joined: 26 Feb 2021, 19:18
Great Britain

Re: Disk space usage.

Post by V8Triker »

TMroy wrote: 07 Mar 2021, 23:34 I see. Then the zipping task is running for download. we will try to add a new feature on GUI which allows you to cancel the download task.
Many thanks, for both your response and the future functionality.
Bikers know why dogs stick their head out the window.

TNAS F5-221
TOS 4.2.39-2203011626
3X WD RED PLUS 3TB (RAID5)
2X WD Green 2TB (RAID1)
1X WD 4TB USB
Locked

Return to “File Services”