Control Web Panel
Other => Other => Topic started by: niquini on November 05, 2022, 12:32:04 PM
-
how do i create a new disk and set this new one for the new accounts i create or migrate old accounts to the new one?
-
Is there no one to help me?
-
+1
because my reseller limit look like not working
i plan to put them on new HDD
and for KVM cloud vps.. it more safe.. because if i loose my reseller client...
i just remove the second virtual hdd (primary cannot downgrade space...)
-
There are many guides (https://ostechnix.com/move-home-directory-to-new-partition-in-linux/) out there...
-
There are many guides (https://ostechnix.com/move-home-directory-to-new-partition-in-linux/) out there...
i cant find how to create second /home
i mean
my sda1 /home = full
i want to create /home2
and cwp know about it
if im not wrong this is what op need (actually me too)
-
You would probably need to create home2 on the other disk, then possibly symlinks in /home pointing to it would work, or else you could put fstab mounts into /home (after clearing it out first -- as with the guides). But I think you'll find that /home generally isn't the culprit for disk consumption. A better consideration would be to put /var/vmail on another disk and mount it at /var/vmail in the filesystem. For instance, I have one packrat customer that has 75GB of mails in /var/vmail. Sum total of /var/vmail on that server is over 200GB of my 300GB disk allotment!
Or did you put /home on a separate partition?
-
You would probably need to create home2 on the other disk, then possibly symlinks in /home pointing to it would work, or else you could put fstab mounts into /home (after clearing it out first -- as with the guides). But I think you'll find that /home generally isn't the culprit for disk consumption. A better consideration would be to put /var/vmail on another disk and mount it at /var/vmail in the filesystem. For instance, I have one packrat customer that has 75GB of mails in /var/vmail. Sum total of /var/vmail on that server is over 200GB of my 300GB disk allotment!
Or did you put /home on a separate partition?
so there is no option to create /home2 (sda2 ?
with /home still at sda1
-
I think you would have to do a virtual filesystem for what you are proposing to do...
-
I think you would have to do a virtual filesystem for what you are proposing to do...
any clue about that?
i want to upgrade my space too (like OP) but i dont want move all /home
i just think to add /home2 at new ssd/storage drive so if i not need them i can reduce the size or delete it... because i can upgrade space but i cant downgrade space
-
You can mount other storage (block devices) in the filesystem manually with the mount command, then automate it with /etc/fstab. So on your additional storage, you could make that be dedicated to a large user account and mount it at /home/biguser (after moving the current home to the side: /home.biguser.temp). Then move their stuff from the temp named directory to the new /home/biguser directory.
Or you could implement something in user space with FUSE.
This is just a large overview sketch, as the devil is in the implementation details -- and that's up to you!
-
You can mount other storage (block devices) in the filesystem manually with the mount command, then automate it with /etc/fstab. So on your additional storage, you could make that be dedicated to a large user account and mount it at /home/biguser (after moving the current home to the side: /home.biguser.temp). Then move their stuff from the temp named directory to the new /home/biguser directory.
Or you could implement something in user space with FUSE.
This is just a large overview sketch, as the devil is in the implementation details -- and that's up to you!
mid-risk failure i think... hmmm better to setup /home at another partition from beginning :( (I think)