Is it possible to use the RAID disc as a classic second storage disc for Cloudron ?
-
Hello,
I have an infrastructure currently with two disks, a classic 500 gigabit disk and a 500 gigabit disk. I have already done some research and it seems to me that I have not found my answers to the questions that have already been asked on the forum. That's why I'm allowing myself to create a topic.
I have some users who use my cloudron with me and this generates a lot of data. First of all, I have to know that I already have my docker that consumes more than 50gb. Regarding this subject, I saw that there had already been a topic that had been created on this subject and I do not seem to have found any solution or things to do about it. My only question regarding the docker that consumes more than 50gb is: will it continue to increase indefinitely or will it regulate and delete files as it goes? And that after a while it will stop increasing? That was a small bonus question.
My real question is, knowing that I have a first 500GB storage disk on which my Cloudron is mounted, and a second 500GB disk which is currently set to RAID, I wanted to know if I would set my second disk as classic storage, would Cloudron be able to use this second disk as a normal disk, that it would be taken into account in my backups, that my applications would not be a problem, etc.
Is this manipulation feasible, compatible with the installation of the Cloudron? Will it pose a problem at some point? If I have data from an application on the first disk then the first disk becomes full and it goes on the second disk, will the applications have no problem going to look in disk 1 or disk 2 depending on the requests? I don't know at all how it works, that's why before doing the manipulation I prefer to ask if it is advisable and feasible or do I have to change infrastructure and go on an infrastructure that has two bases, much more storage to solve this problem. -
I'm thinking of using a NAS and using it as storage for the bare metal I use.
The NAS will be in the same data centre as my server.Anyone have any idea if this should work or not? Is this a good idea in terms of reliability, performance and security?
-
I thought a disk becomes unavailable for general use if it's used as part of a RAID?
In general, when you have external disks, you can mount them as Cloudron volume . Once mounted, you can set a volume as a the data directory or a mount - https://docs.cloudron.io/apps/#storage
-
-
I don't know, I feel like I could use the disc as a normal disc I haven't tried it yet because I'm waiting for the duty But if I could use it as a classic disc, I should mount it as a Cloudron volume If I understood correctly.
And can I do the configuration I wanted, that is to say take an ass next to it and use it as a storage volume? Because if I did it this way, I might not need to mount it as a cloudron volume, knowing that I would mount it directly on the ubuntu of the machine. I'm I right ? Or I'm I going to break everything ? -
@Dont-Worry the apps run as containers and each container has it's own file system (completely different from the host filesysted). It is a sort of sandboxing for security.
What this setup means is that, even if your disc is attached to the machine, the app containers won't see it! It will be available on the host ubuntu itself but not to the apps. Cloudron Volumes is a mechanism to expose these discs on host to the apps. Hope that clarifies!
But if I could use it as a classic disc, I should mount it as a Cloudron volume If I understood correctly.
Right, and there is no way around not creating a volume.
-