Results 1 to 6 of 6
Hi all,
Completely newbie here but i have three mounts
/dev/md1
11.9 GB free of 15.1 GB
/dev/md3
3.9 GB free of 4.7 GB
/dev/md2
191.1 GB free of 203.7 ...
- 04-06-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 9
Save sites on a different mount?
Hi all,
Completely newbie here but i have three mounts
/dev/md1
11.9 GB free of 15.1 GB
/dev/md3
3.9 GB free of 4.7 GB
/dev/md2
191.1 GB free of 203.7 GB
at the moment my sites are storing to md3 which has the least amount of space. how can i transfer them and make everything point and save to md2?
Thanks,
Varamus
- 04-06-2011 #2Linux Guru
- Join Date
- Oct 2007
- Location
- Tucson AZ
- Posts
- 1,939
A little more information would help.
Which distribution are you using?
You refer to your "sites", is this a web server database?
- 04-06-2011 #3Just Joined!
- Join Date
- Feb 2011
- Posts
- 9
Hi,
It's a dedicated CentOS server
Operating system - Linux 2.6.18-194.32.1.el5
the majority of the sites are database driven so if i could switch that and the hard files on the ftp i use to upload the files to a different mount that would be great!
cheers,
Varamus
- 04-06-2011 #4
Quick and dirty approach would be to shut down the web server and database, move the contents of the md3 mount point to a folder under the md2 mount point, unmount md3 and remove its mount point, then soft-link the new folder back to the md3 mount point name.
- 04-07-2011 #5Just Joined!
- Join Date
- Feb 2011
- Posts
- 9
hi sorry to be a complete newbie but could you talk me through the commands etc for that?
I have plesk 9.2.2 if theres a way of doing it through that? but ive looked everywhere and havent been able to find anything :/
cheers
- 04-07-2011 #6
What webserver software? What database backend? Output of "mount" and "df" commands and "ls -l" of both mount points?
I'm not at all sure this is something you should undertake. Do you have backups and the ability to restore them? Who depends on these sites and what's the impact if you hose them up? Since you probably don't know how to fix anything if you break it, you should consider engaging a contractor to do this. Anyone with a RHCT/RHCSA/RHCE certification should be able to do it for you in a couple or so hours. Experience/references can also be valid qualifications, I just mention the certifications because they are easily verifiable at Redhat.com and based on exams that require at least this level of knowledge and the ability to apply it.


Reply With Quote
