Jump to content
Vaseer

Is all containers data first written to docker.img and then moved to mapped volumes?

5 posts in this topic Last Reply

Recommended Posts

To clarify question: I am using Transmission container, which is using mapped volume /downloads <--> /mnt/disks/downloads for transferred data.
docker.img is on SSD cache drive, /mnt/disks/downloads is unassigned HDD.
In Transmission I see cumulative DL/UL data size of ~10 TB, which, if my calculations are correct, corresponds to cache SSD S.M.A.R.T. attribute "246 Total host sector write" which is 21877021800. SSD Sector sizes: 512 bytes logical, 4096 bytes physical.

 

In addition to Transmission's data I also saw docker.img size increase when I uploaded some large files (couple of GB) to Nextcloud.

Share this post


Link to post

Data is only written to the docker.img file if the path the container is writing to is NOT mapped to an external location.

Share this post


Link to post

I have mappings for all containers configured and this happens when I upload ~5 GB file to Nextcloud:

Before upload:

BeforeUpload1.png.01d8eca908d4ee4b14f6f6b617a912f9.png BeforeUpload2.png.1cc95a0e4b0092acdaae111fd343b913.png

 

Seconds after finished upload:

SecondsAfterFinnishedUpload1.png.2206851fd4a0240ebe21732723c58ccf.png SecondsAfterFinnishedUpload2.png.b51ff2834e678cedbfe5ef9885db9e58.png

 

After 10-20 seconds values return to same state as before upload.

 

Is this container specific (if so, I will ask in NC thread) or could be something wrong with my docker configuration?

My unRAID version is 6.6.6

Share this post


Link to post
21 hours ago, Vaseer said:

I have mappings for all containers configured and this happens when I upload ~5 GB file to Nextcloud:

Before upload:

BeforeUpload1.png.01d8eca908d4ee4b14f6f6b617a912f9.png BeforeUpload2.png.1cc95a0e4b0092acdaae111fd343b913.png

 

Seconds after finished upload:

SecondsAfterFinnishedUpload1.png.2206851fd4a0240ebe21732723c58ccf.png SecondsAfterFinnishedUpload2.png.b51ff2834e678cedbfe5ef9885db9e58.png

 

After 10-20 seconds values return to same state as before upload.

 

Is this container specific (if so, I will ask in NC thread) or could be something wrong with my docker configuration?

My unRAID version is 6.6.6

Chances are that Nextcloud has a location where it uploads files to before moving the file to its final location.    If that is the case and that location has not been mapped externally then that would explain what you are seeing.

Share this post


Link to post

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.