Page 1 of 1
Disk space usage.
Posted: 07 Mar 2021, 17:28
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.
Re: Disk space usage.
Posted: 07 Mar 2021, 17:44
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
Re: Disk space usage.
Posted: 07 Mar 2021, 18:24
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
Re: Disk space usage.
Posted: 07 Mar 2021, 18:31
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.
Re: Disk space usage.
Posted: 07 Mar 2021, 22:22
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?
Re: Disk space usage.
Posted: 07 Mar 2021, 23:30
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.
Re: Disk space usage.
Posted: 07 Mar 2021, 23:34
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.
Re: Disk space usage.
Posted: 08 Mar 2021, 00:04
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.