Is it an easy thing to remount a drive to / --OR-- install/run DA from a second drive?

darkus

Verified User
Joined
Dec 15, 2005
Messages
148
My host when setting up a new server set my main raid array as '/disk1' and then a smaller drive as '/'

I was not paying attention and setup DA and all the domains as usual (to '/') and the drive has quickly filled up and the sites are crashing :)

Ive never done this before, but is it an easy thing to move '/disk1/ to be '/' and then move the smaller boot drive of '/' to some other name? I can easily just reinstall DA and my domains after that fix.

Im assuming this will create problems if I ever have to reboot the server, but figured I would try to ask the experts here if there is a simple fix to this issue before I go to my hosting provider


---EDIT---

I was thinking can I just do a fresh DA install on the second drive in some simple way? for example have /home/ actually sit on that second disk? Im totally unfamiliar in how to do something like that so any help would be very much appreciated!
 
Last edited:
main raid array as '/disk1' and then a smaller drive as '/'
Hmmz... odd that they use /disk1 as title. Might be possible to install DA onto disk1 but possibly might be tricky. Would be better to just then (depending on the size) either not configure / in your system or use disk1 as /home.

Maybe there is an easier option to use /disk1 as /home2 for example without the need of difficult things.

Read here: https://docs.directadmin.com/operat...otas.html#how-to-move-user-to-a-new-partition
and here:

This way you would be able to move all users from / to /disk1 in fact.

As always, make good backups first.
 
It depends on the size of the smaller drive/partition and your filesystem. The reason behind the mount in /disk1. Even the way you bought it (is the /disk1 an extra disk option?).
Are we talking different disks (/ on non raid and /disk1 on raid) or are both just partitions on a raid device. Etc..

So basically:
- use the link above and move some users to a 2de /home2/ or
- re-fdisk your /disk1 and add the space to wherever you need it or
- maybe even use lvm to expand the whole / with the size of /disk1

I'll shut up, this is not making it easier :)
 
The answers were super helpful in that it seems like while its do-able, its not a nobrainer 1-2-3 operation, so I just re installed the OS and had everything remounted from scratch in the order I need and all i good right now.

DA is of course FLYING. Thanks as always everyone!
 
Back
Top