View Full Version : Adding New Hard Drive
anushanw
19th February 2009, 04:35
I have setup ISPConfig 2 on a Debian 5.0 server. I want to add a new hard drive and use it for the server as well.
What I actually would like to do is: I want to host a new web site separately on this new hard drive, and keep the other sites away from it if possible.
Could someone tell me how to do this is possible, or if not at least how to add the new hard drive to the ISPConfig 2
Thank you
falko
19th February 2009, 21:39
You could use a symlink. Please the web site on the new hard drive and then make /var/www/web1 (or whatever number it is) a symlink to the web site.
anushanw
20th February 2009, 00:26
So pretty much i should create a web site in ISPCongif 2 --> save my web folder in the new hard drive --> make a link
Is this is the procedure or do i need to do in some other way?
Could you please tell me the code to mount the new hard drive to the server
and the code to make the link symlink please.
bl4ckb1rd
20th February 2009, 01:38
i think he told you enough. he told the solution, now go make it. if you have problems with understanding linux and symlink go read manuals. this is basics of linux... hint: man ln
anushanw
20th February 2009, 04:52
thanks for your hint. it was very helpful.
the reason i asked the above question was because of lack of my knowledge and great confusion; and i need to get it done without screwing it up. Not to see your forte!
bl4ckb1rd
20th February 2009, 05:25
i understand that, but without basic knowledge, you cannot expect this to be basic linux command line support... it's ispconfig more or less specific. i hope you understand that point of view too.
falko
20th February 2009, 19:39
Could you please tell me the code to mount the new hard drive to the server
Take a look at man mount
Basically it works like this:
mount /dev/sdb1 /mnt
bl4ckb1rd
20th February 2009, 20:54
now explain him how to find which is correct /dev/hd[a-z] or even /dev/sd[a-z], then explain him how to make partition on it and how to make file system on it and how to auto mount it, and so on and on... this neverending story.
Edit: Sorry, i got carried away a bit...
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.