Release Space

rafaellion

Cadet
Joined
Mar 1, 2019
Messages
4
Hello, my disks are full in freenas, but on windows shows that there is still space, when it is 100% I do not know what to do, I currently delete the disk and insert it again in the storage pool.

What could you do when you're 100% freenas storage to free up space without having to erase every disk?

NOTE: On windows shows the disk with space, but not freenas shows with 90% used.
 

Attachments

  • Storage.png
    Storage.png
    25.3 KB · Views: 391

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
ZFS goes into panik mode when you pass 90%.. you need to expand storage in the pools
best practice is to never go beyond 80% utilization of a ZFS pool
 

rafaellion

Cadet
Joined
Mar 1, 2019
Messages
4
Okay, but in Windows it had a disk that showed 50% of use of the disk, while in freenas it was 99% of use.

Is there any way I can access the disk via the command line and empty the oldest files?
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
You need to explain the system config. The disks in FreeNAS should not be luns and ZFS is intended to pool multiple disks into a single storage space, not for sharing individual disks.
It looks like you are doing it wrong.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079

rafaellion

Cadet
Joined
Mar 1, 2019
Messages
4
I currently have 5 disks of 2 TB each, I configured each separate disk, and loaded each of them into the ISCSI server as 5 2TB disks each.

What would be the best way to set up disks without grouping all, working with them separately
 

melloa

Wizard
Joined
May 22, 2016
Messages
1,749
What would be the best way to set up disks without grouping all, working with them separately

I wouldn't recommend. Get your five disks and set them as raidz1 or better. You can always increase the size of your volume by replacing the disks one by one with bigger ones.
 

rafaellion

Cadet
Joined
Mar 1, 2019
Messages
4
Right, even configuring in RAID 1 at a certain point I'd have space problem again, right? I do not understand the reason of setting 2 disks in Raid 1, for me this would only help if one of the disks fails, but still would continue with problem of the disk getting filled in freenas and windows showing that it has enough space.

In the current scenario, how would I access each disk and do a cleanup.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
without grouping all, working with them separately
Why would you want to work with individual disks? That limits your performance to the speed and size of a single disk. The idea of a storage pool is to group many disks together with redundancy to provide both data protection against individual disk failure and to provide additional speed by aggregating reads and writes across multiple disks. There is no advantage to what you are asking to do and it leaves you vulnerable to disk failure.

Read the documentation. Learn.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
What could you do when you're 100% freenas storage to free up space without having to erase every disk?

NOTE: On windows shows the disk with space, but not freenas shows with 90% used.
You did not follow any guide when you configured your system. Due to the copy on write nature of ZFS, you are never supposed to fill an iSCSI volume above 50%. Your best plan is to start again at the system design phase. If you only have five individual disks, you need more disks. I would say 16 disks in mirrored pairs all pooled together is a reasonable number. You might be successful with as few as eight disks in four mirrored pairs, but five is just not enough.
 
Top