Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
On one of our servers, we had an extra drive that was dedicated to back-ups. I logged in tonight and I noticed that are /backup partition is missing...also can't find it via SSH. Last time I checked was about a week ago and the partition was there with back-up data in it. Any idea why the partition would have just disappeared like that?
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Do you have Remount/Unmount backup drive, enabled? If I have my facts straight, this will cause the drive to disapear when not in use.
 

Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
Yes I do...everything had been fine and the backups were going into that drive...I spoke with our provider and their support says they have never seen a drive unmount itself....its fixed now, but we'll see what happens, but strange none the less...BTW, when it was remounted, all the old back-ups were there...looks like it unmounted during a recent update.
 

SonServers

Well-Known Member
Oct 24, 2001
94
0
306
My server did the exact same thing last night. Something caused the backup drive to become unmounted so the updates were put into the root partition. Well, of course it didn't take long to fill up the root partition which caused a bunch of things to quit working.

This happened to me during the daily backup for 3-4 days straight a few months ago. I didn't say anything then because no one else was posting about it.

Since the problem went away last time, I assumed that it was a cpanel problem that got fixed with an update.

I'll watch and see if it happens again tonight.
 

Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
Checked again today and the backup partition is missing again...Also noticed our /usr/ partition had a leap in the space used...I need to look and see where that is coming from...I've always kept an eye on our /usr/ and kept it down as much as I can...our back-up drive dissapears and the /usr/ shoots up to 74%
 

haze

Well-Known Member
Dec 21, 2001
1,540
3
318
Perhaps disable the unmount/remount feature?
 

Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
I was under the impression that should be enabled when using a back-up drive....should this be disabled then?
 

tims

Member
Jul 9, 2002
7
0
151
Mine mounts and unmounts the back up drive and it works fine. The back ups still get done correctly you just can't see the drive.
I'm sure if you search you will find the reason why it is setup this way but I wouldn't worry about it unless you need to access that drive for something else.

Tim
 

Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
I've double checked with our provider and have learned that the backup drive is supposed to mount and unmount itself. Perhaps it is a safety feature in the even there were an attack or something (not a bad idea the more I think about it)...Now, one more question...I wanted to set up the domlogs in the /usr directory to go into the back-up drive, freeing up some space in my /usr partition...I've found out that I will not be able to do this because of that unmount. Is it possible to put these logs in the /home or the /var partitions....
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
As long as you are sure you have enough space and that space won't be needed soon, you can create a domlogs directory in one of them, then use a symbolic link to let the system know where the new directory is.
It is recommended to shut down apache during the move which would mean doing it at a slow time. Just move the current domlogs directory to where you want it, then create the symbolic link at the old location.
 

Tom Pyles

Well-Known Member
Apr 26, 2002
254
0
316
Squirrel,
Thanks for the reply. I'm able to move the directories and set up the sym links...I was just concerned if it was safe to put them in the /home or the /var partition. I've set it up in the /var partition and works great...I just wanted to ask first because I know there are issues doing back-ups in these partitions...didn't know if it was the same for dom logs....Thanks again!