[SOLVED] Change default website storage to another disc

6 posts / 0 new
Last post
#1 Fri, 12/22/2017 - 11:35
pootz

[SOLVED] Change default website storage to another disc

Hello, I have to change the default storage folder of the sites. Currently it is in /home/USER. I need to change the location to /mnt/disc1/USER. How can I make this setting?

Fri, 12/22/2017 - 11:48
vincen

Why don't you mount your /mnt/disc1 as /home ? and you are done ;) so long you want to move all users account from your existing /home to that new drive !

Fri, 12/22/2017 - 11:53
pootz

Since this server was just created, I still do not have any users on it :)

Fri, 12/22/2017 - 12:01 (Reply to #3)
vincen

So very easy to do then :)

Fri, 12/22/2017 - 12:11
pootz

How do i check if /home is redirecting to my 100gb block storage instead of the default disc?

Sat, 12/23/2017 - 19:26
pootz

I formatted the droplet, mounted the disk in the / home folder and then installed Virtualmin. He recognized the new partition automatically. I used CentOS 7.4 on Digital Ocean.