Jump to content

False "No space left on device" error on ZFS pool.


Go to solution Solved by JorgeB,

Recommended Posts

When my ZFS pool got to around 90% capacity, I started receiving the "[Errno 28] No space left on device" error when writing to my ZFS pool. I tried moving files off the pool, reducing the storage capacity to 88.5 %, yet this error persists. I later noticed the Minimum free space setting was set to 10%, which could explain the original error. However, I have since tried updating that setting to values less than 5%, but the No space left error persists. I'm not sure what could be the cause at this point. 

1948906194_Screenshot2023-07-03220634.png.c0db712788ff832185c8c2a52e4d5bc8.png

This pool is configured to my Array so that mover moves files from the ZFS pool into the Array. Here is a screenshot providing more info on my share configuration.
960648790_Screenshot2023-07-03220404.png.3e99a21707e6071edeb5e36131ae84a0.png

I'm wondering if this error may have been a result of my moving content from my pool into the Array outside of the mover task. I don't know if that is supported. I did this because the mover task seems to either be broken since the 6.12 upgrade or is very slow when running against the ZFS pool. I had the task running for almost 2 days and saw no sign of anything actually being moved.

Any suggestion on how to resolve this would be greatly appreciated.

Link to comment

@JorgeB My scrub finished with a few permanent errors on some files, which I've gone ahead and deleted. After I paused the parity sync and rebooted my system, then attempted to write to my share, but I still got the insufficient storage error. Here is the diagnostic after the write attempt:
diagnostics-20230705-0840.zip

Keep in mind the ZFS pool is now at 86.4% capacity:
2088548108_Screenshot2023-07-05084706.png.8f23cc223d7ca7830c7533d17cf08fee.png
 and the minimum free space  is set to 4%:
1304605089_Screenshot2023-07-05084745.png.c0024ee031249a7a34d9dd1be77359fc.png

 

Edited by Chukwuka13
Link to comment
On 7/3/2023 at 10:08 PM, Chukwuka13 said:

I'm wondering if this error may have been a result of my moving content from my pool into the Array outside of the mover task. I don't know if that is supported. I did this because the mover task seems to either be broken since the 6.12 upgrade or is very slow when running against the ZFS pool. I had the task running for almost 2 days and saw no sign of anything actually being moved.


I turned logging on during a mover scan, and I see a lot of errors about files not being able to be moved due to the No space left on device error. This is probably why nothing was moved after 2 days of leaving that task to run. My array is also not at full capacity.

Edited by Chukwuka13
Link to comment

The share is configured to use the zpool as the primary storage and the Unraid Array as the secondary storage. I did actually notice that even though the Zpool was configured to have a minimum free space of 5%, the share itself was somehow configured to have a minimum free space of 50%. I don't know if that setting was recently changed since my server has been well over 50% capacity for a while now. Reducing the value on the share setting did address this issue.

  • Like 1
Link to comment

EDIT: After restarting the server, so I can get a clean diagnostic file, the issue miraculously resolved itself. I no longer have to transfer the folders in smaller batches. It has also stopped writing duplicate empty folders on the origin drive... 

 

Having same issue, not enough space unless I transfer smaller batch and not the whole folder. 

Also, the transfer (using Krusader) is re-creating the share's folders on the origin pool.

 

Origin: Rockerboys 

Destination: Netrunners


Share Config:
image.png.1d3599de39ce388735a54d0d91f00664.png

 

Share Computed:
image.thumb.png.9a7670cfa076348243ea51642760654f.png

 

 

Edited by darkslyde
Updates
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...