Jump to content

Not enough space but I still have 2TB available.


Go to solution Solved by JorgeB,

Recommended Posts

 

Hello and sorry for my bad English. I have a problem with a share in a disk pool. The share is 108 TB and there are still 2.22 free but if I try to copy into it it tells me that the space is full. I've already tried balancing and scrubbing without any success, and trying some settings.

image.thumb.png.0f2c1d8172c26b0aaacf917d05945b8f.png

 

image.thumb.png.3eb5f473f5b369ddfbc6e8c728a5b375.png

 

image.thumb.png.2f10e0d446773db3ebfc4461d02826b3.png

 

image.png.e239bc692f7e32d35a44b05ddfe8d5b0.png

 

I leave you the diagnostic file attached. Thank you

tower-diagnostics-20230911-1944.zip

Link to comment
21 minutes ago, danielebiancoxch said:

Do you already know how much data I will have to move?

Usually 50/60GB is enough, you just need to free up some unallocated space, large files will be best, you can check yourself then to see if it's enough, type 

btrfs usage -T /mnt/plot_share

 

Id Path      single   DUP       DUP      Unallocated Total    Slack   
-- --------- -------- --------- -------- ----------- -------- --------
 1 /dev/sdf1 16.33TiB  36.00GiB 64.00MiB     1.01MiB 16.37TiB  3.50KiB
 2 /dev/sdh1 16.34TiB  27.00GiB        -     1.01MiB 16.37TiB  3.50KiB
 3 /dev/sdi1 16.33TiB  40.02GiB        -     1.01MiB 16.37TiB  3.50KiB
 4 /dev/sdg1 16.33TiB  36.00GiB        -     1.01MiB 16.37TiB  3.50KiB
 5 /dev/sde1 16.34TiB  32.00GiB        -     1.01MiB 16.37TiB  3.50KiB
 6 /dev/sdd1 16.33TiB  38.00GiB        -     1.01MiB 16.37TiB  3.50KiB
-- --------- -------- --------- -------- ----------- -------- --------
   Total     98.02TiB 104.51GiB 32.00MiB     6.07MiB 98.23TiB 21.00KiB
   Used      96.01TiB 104.00GiB 10.22MiB                              

 

Note the Unallocated column, it needs at least a couple of GBs, post that when it's done.

Link to comment
  • Solution

OK, now create a temp folder inside /mnt/plot_share, cd into it and type:

 

dd if=/dev/urandom bs=1024 count=1050000 | split -a 6 -b 2k - file.

 

This will create many small files in that folder to force allocate some metadata chunks, once complete start copying data normally again, when the fs is close to full remove that temp folder.

Link to comment

Ah sorry, something went wrong in the copy paste.

Thank you very much anyway, it works perfectly. I had to repeat the operation a couple of times to be able to use the remaining space. But now Windows tells me that I still have XXX space available but I don't understand how it calculates it.

image.png.42c89b571315af25fc72ccfa7975ecb9.png

 

image.thumb.png.3ccbcecdf8cc20ae95aa092185550a29.png

 

image.png.ecf4c18d06378794657f748dd4943260.png

 

Is this normal or do you have some other trick?

 

Thanks again for your kindness.

  • Like 1
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...