I am seeing that my /home and /rw folders in my qube filesystem are identical, and thus the data in my /home folder is replicated on the /rw folder, making the storage size requirement for my qube to be doubled. I mean, if I am storing 50 GB of video files in my qube in the /home/user/Videos folder, that 50 GB gets duplicated on the /rw folder, thus making the disk space requirement of my qube to a 100 GB.
Why does /rw duplicate the files in the /home folder? It seems awfully redundant, unless there is a good reason for it (which is foreign to me for the time being).
Now, I need to give my qube 200 GB of private disk space, if I want to store 100 GB of size video files in it. Why?
$ sudo du -sh /
97G /
zsh: exit 1 sudo du -sh /
user@host:~ $ du -sh /home
46G /home
As you can see, the root filesystem is the same size as the /home filesystem size. Also, I am visually confirming that my ~/Videos/ directory contents are exactly identical to the ones in /rw/user/home/Videos/ directory.
In other words, /home is just another “view” of /rw/home - kind of like a symlink or hardlink. Search for “Bind mount” in the mount(8) manpage.
du is not aware of this, and sums up both views as if they were completely separate.
Alright. But that doesn’t change the fact that it seems like my qube is out of space? See, that qube has 100GB of “Private Storage” space setup in the Qube Manager GUI. And now that its filled to 47 GB, my yt-dlp video downloads are giving “Post Processing” errors, which, a quick github search seems to suggest that it is related to running out of disk space.
So, either I am interpreting my yt-dlp video download woes wrongfully (and putting the consistent errors at video downloads, wrongfully, to my 100 GB private storage space qube running out of storage space due to “duplication” of data between /home and /rw), or there is something else going on.