Click to See Complete Forum and Search --> : Adding new IDE HD to Existing SCSI HD PC


BrandonSi
08-27-2003, 04:04 PM
I've got a 10gb IDE drive laying around that I'd like to throw in my web/sql server but it's existing redhat 9 install is on one 2.0gb scsi drive. How would I go about getting linux to recognize and use the 10gb IDE. Would it expand filesystems to the new HD, or what? I've only got about 600mb's left on the scsi HD so this is getting somewhat urgent. Can anyone give me a overview, or point me in the right direction to getting linux to use the new drive once I've got it installed?

Thanks!

Brandon

mdwatts
08-27-2003, 04:17 PM
The JL Help File on Adding a HD in Linux (http://justlinux.com/nhf/Hardware/Adding_a_Hard_Drive_in_Linux.html) will certainly help.

If you plan to add the HD as primary/master (hda) just change all the references of hdb to hda.

You can copy over i.e. /usr to the new HD, add a mountpoint to /etc/fstab for /usr, reboot or remount the filesystems and if everything works ok, delete the original /usr from your root partition on the scsi drive.

kshim5
08-27-2003, 04:18 PM
SCSI and IDE interfaces are incompatible internally. If it is external then its a different story.

BrandonSi
08-27-2003, 04:33 PM
Originally posted by mdwatts
The JL Help File on Adding a HD in Linux (http://justlinux.com/nhf/Hardware/Adding_a_Hard_Drive_in_Linux.html) will certainly help.

If you plan to add the HD as primary/master (hda) just change all the references of hdb to hda.

You can copy over i.e. /usr to the new HD, add a mountpoint to /etc/fstab for /usr, reboot or remount the filesystems and if everything works ok, delete the original /usr from your root partition on the scsi drive.

Great, thanks! Now I've got my home directories I'd like to move over to the new ide hd, are the /home directories mounted under /usr, or do I need a seperate entry for /home in fstab as well?


Originally posted by kshim5 SCSI and IDE interfaces are incompatible internally. If it is external then its a different story

Huh? You're telling me I can't hook up an IDE drive to my IDE controller on my motherboard, and have it communicate with my scsi drive that's hooked up to my pci scsi controller? I don't buy that for a second..

mdwatts
08-27-2003, 06:07 PM
Originally posted by BrandonSi
Great, thanks! Now I've got my home directories I'd like to move over to the new ide hd, are the /home directories mounted under /usr, or do I need a seperate entry for /home in fstab as well?

Huh? You're telling me I can't hook up an IDE drive to my IDE controller on my motherboard, and have it communicate with my scsi drive that's hooked up to my pci scsi controller? I don't buy that for a second..

/home is on the root directory. Copy /home to the newly partitioned and formatted IDE drive, add a mountpoint to /etc/fstab etc. etc. as I outlined above.

Of course you can mix IDE and SCSI as long as you have a IDE controller.

BrandonSi
08-27-2003, 07:11 PM
Great, got it up and running! Thanks for the help!

BrandonSi
08-27-2003, 07:30 PM
Originally posted by BrandonSi
Great, got it up and running! Thanks for the help!

Woops, spoke to soon.

Now my ide drive has taken boot order precedence over my scsi drive.. go figure. I guess I'll have to move my hd to secondary master and put the cdrom on primary master and see what happens. Unfortunately this bios wont let me change boot order (compaq deskpro 6000 pent 166) :(.


Edit - I got it, just disabled the onboard ide in the bios, and the scsi took boot priority, and linux still found the ide drive. Thanks again guys!

DMR
08-28-2003, 06:00 AM
Originally posted by BrandonSi
I got it, just disabled the onboard ide in the bios, and the scsi took boot priority, and linux still found the ide drive. Thanks again guys! Good call Brandon.

The joy of Linux; it will detect drives even if your BIOS doesn't.

:)