
02-14-2011, 06:14 AM
|
|
Web Hosting Guru
|
|
Join Date: Jun 2009
Posts: 305
|
|
How do I use the second Hard drive?
If I order a server with say two 1TB hard drives, how would I get my script/ftp client to go on the 2nd drive or to use the 2nd drive? I was sort of thinking of getting one for a few vpses for me and a couple friends but none of use know how the second hard drive would be used, if just in shell we would type cd d:\home or what?
|

02-14-2011, 06:34 AM
|
|
Always Learning...
|
|
Join Date: Aug 2002
Location: Bharat
Posts: 4,571
|
|
If this is for Linux, you don't use "C:" or "D:" rather /foldername as the second HDD has to be mounted as a folder.
How to use, depends on how you want it, you can either use them in RAID or you can use it for backup.
|

02-14-2011, 06:37 AM
|
|
Newbie
|
|
Join Date: Feb 2011
Posts: 26
|
|
You will use *nix system in server?
openvz allow put different vps to different HDD.
In shell 2nd hdd will mount to sime dir. For example /vz/private2 and you use
cd /vs/private2
You can use LVM or stripe0 and create one 2TB partition.
|

02-14-2011, 10:40 AM
|
|
Aspiring Evangelist
|
|
Join Date: Mar 2006
Posts: 415
|
|
If you are on Windows and for FTP to connect to the second drives, the way is to create the FTP account in the IIS which has the physical path points to your second drive. When your users FTP in, they are automatically uploading files to there.
__________________
Tweakservers | Professional Windows Server Setup & Security Hardening
Authorised Reseller For SmarterTools, Paessler PRTG, SSL Certificate & STH Website Malware Scanning
Twitter @tweakservers
|

02-14-2011, 11:43 AM
|
|
Web Hosting Master
|
|
Join Date: Jul 2009
Location: DC
Posts: 1,461
|
|
The point in having two drives is usually RAID for redundancy, if you weren't planning on setting up RAID you should definitely reconsider.
|

02-14-2011, 10:44 PM
|
|
Web Hosting Guru
|
|
Join Date: Jun 2009
Posts: 305
|
|
Ok so from my understanding if I get a server with 4 2TB drives they will be just folders under / right?
|

02-14-2011, 10:49 PM
|
|
Web Hosting Master
|
|
Join Date: Jul 2009
Location: DC
Posts: 1,461
|
|
Yes but not automatically, you have to mount them, or put them in the /etc/fstab file for automatic mounting.
mount /dev/sdXY /mnt/folder
where sdXY is the drive (sd + letter for drive + number for partition).
|

02-14-2011, 11:01 PM
|
|
Web Hosting Guru
|
|
Join Date: Jun 2009
Posts: 305
|
|
^ How exactly do I know the number for the partition? And how would I find the drive name 
|

02-14-2011, 11:03 PM
|
|
Web Hosting Master
|
|
Join Date: Jul 2009
Location: DC
Posts: 1,461
|
|
Go in /dev and type:
ls sd*
You will have to format your drives with the proper partitions though first keep in mind. However that's all pretty easy these days with the graphical Linux installers like CentOS has.
|

02-14-2011, 11:09 PM
|
|
Web Hosting Guru
|
|
Join Date: Jun 2009
Posts: 305
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|