oderland

Well-Known Member
PartnerNOC
Dec 30, 2002
103
0
166
Kungsbacka, Sweden
Hi there

After added new hard drive to our servers for backup I mounted it as /home2

new created accounts are automaticly created on this drive instead of /home as it says in setup!!!

Any clue how to change it?
 

PWSowner

Well-Known Member
Nov 10, 2001
2,948
4
343
ON, Canada
That's because when an account is created, it is created in whichever home??? directory has the most space. To use it for backup, it should be mounted as "backup".

You will need to move the accounts from home2 to home, which can be done in WHM, then properly mount the backup.
 

hostultra

Well-Known Member
Aug 21, 2002
167
0
166
or you can goto "Edit Setup" in WHM and change the "Home Directory Prefix" to something else
 

oderland

Well-Known Member
PartnerNOC
Dec 30, 2002
103
0
166
Kungsbacka, Sweden
allready tried, that the first I did actualy. I got a responce from DARKORB that I should have a slash after /home
"/home/" that should do but it does not.

I hade to unmount partition and change mount point in /etc/fstab ad then remount it as backup

Works fine now :)

Thanks anyway