Mounting 2 hard drives

  • AEMRacing
  • Born
  • Born
  • AEMRacing
  • Posts: 2

Post 3+ Months Ago

ok so i have been searching for this for a long time but cant seem to find it. I have a server with the following specs:

(2)80gb hard drives
2.6ghz proccessor

I have uploaded alot on the first hard drive, and it is almost full. Does anyone know how to mount my 2nd harddrive so i can use both as a 160gb hard drive, i heard it can be done but cant find it nowhere. Is there anyone tha tknows how? thank you!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

whats the point of that? just start putting stuff on your other hard drive.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

Could you be a bit more specific? What Operating System?
Chances are, most of the newer *nix's see the drive, but as it was not originally set up for that particular filesystem, not initially installed, it does not try to mount it.
You will have to not only mount it, but also format it, unless it was a previous say, NTFS drive in which case you should be able to just mount it directly. Though, as I said, it varies by OS.
  • AEMRacing
  • Born
  • Born
  • AEMRacing
  • Posts: 2

Post 3+ Months Ago

i am on redhat, Plesk. My first hard drive is almost full and i need to somehow point the 2nd one into a folder in /home/some_site/public_html/some folder/
is there anywhere with detailed steps on how to do this? thNk you!
  • MISC/A++
  • Expert
  • Expert
  • User avatar
  • Posts: 508
  • Loc: UnderGround

Post 3+ Months Ago

What is the format of your second HD? if its windows then you can mount it:

Code: [ Select ]
/dev/hda1    /windows     ntfs    defaults,users,umask=0002 0 0


//Edit:

Make sure you su then go to

# vi /etc/fstab
  • PsyckBoy
  • Graduate
  • Graduate
  • PsyckBoy
  • Posts: 204
  • Loc: SoCal

Post 3+ Months Ago

You're looking for LVM (Logical Volume Manager). I've never tried using it so I don't know if it's possible to convert an existing partitioned disk to its format. Maybe this howto will help: http://www.tldp.org/HOWTO/LVM-HOWTO/
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

I know nothing of 'plesk'; everything I do is usually from the cli.

Follow this;
https://www.redhat.com/archives/fedora- ... 01875.html
  • placid psychosis
  • Proficient
  • Proficient
  • User avatar
  • Posts: 284
  • Loc: Warsaw, IN

Post 3+ Months Ago

Ehhhh, if he has Plesk and doesn't know how to mount a drive, he's using a leased server. So the second drive is likely already formatted correctly or totally blank.

You cannot combine the two drives at this stage. You can mount it into a folder, but not combine them.

Code: [ Select ]
mount /dev/hdb1 /path/to/mount/into


is the basic command, assuming that the server uses IDE and not SCSI or SATA. Most leased deals are IDE, though. If that works, then add a line in /etc/fstab to mount it automaticly if you reboot. If it doesn't work, you'll likely need to fdisk the drive, partition it, and then run whatever incarnation of mkfs you want on it. And THEN add a line in fstab.

Post Information

  • Total Posts in this topic: 8 posts
  • Users browsing this forum: No registered users and 72 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.