stunt man
08-11-2002, 02:36 PM
Hi,
I have a server with a scsi drive and i'm running RH Linux 7.3 on it.
I recently got a 120gig ide drive and put the jumpers as slave.
I was expecting the server to pick up the new drive but it didnt.
What should I do so it finds it ?
Thanks
davidb
08-11-2002, 02:59 PM
The server as in OS or as in BIOS?
Samuel
08-11-2002, 03:05 PM
There is a known problem with 7.3 and mixed busses.
Im having a 60 scsi replace a 60 gig ide for backup due to this bug.
stunt man
08-11-2002, 03:45 PM
I was thinking maybe I'm supposed to format the drive or something for RH Linux to recognize it. Cause I just plugged it in thinking that it would instantly recognize it.
Samuel
08-11-2002, 03:54 PM
Tried it, didnt like the IDE drive, confirming this through a production server environment outside of hosting lead me to believe that the condition exists with IDE drives and this kernel.
I didn't have time to research it, just dumped the IDE drives.
bitserve
08-11-2002, 04:25 PM
Does it show up in /var/log/dmesg?
That's the only "recognition" that you will probably get.
You'll then need to partition and "format" it, like you said.
http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-filesystem-ext3-create.html
Unless 7.3 has some new feature that does this automatically for you? :)
Brian S
08-11-2002, 11:57 PM
Originally posted by stunt man
Hi,
I have a server with a scsi drive and i'm running RH Linux 7.3 on it.
I recently got a 120gig ide drive and put the jumpers as slave.
I was expecting the server to pick up the new drive but it didnt.
What should I do so it finds it ?
Ummmm, let me make sure I understand this. You had one SCSI drive and NO IDE drives previous to this new one, correct? So, the new IDE drive is the only thing on the IDE chain, right?
If so, pull the jumper off and re-boot. It should work fine. :)
Brian
stunt man
08-12-2002, 01:34 AM
I removed the jumper off the drive and rebooted.
It was found in the hardware browser and I was able to partiition it with fdisk.
In the hardware browser I see it as /dev/hda
and my scsi drive is /dev/sda
Now I wanted to transfer my website to it
I think its on /var/www
I cant remember off hand
How would I transfer that to the new drive ?
I want my website to have 120gigs of space
Thanks
:)
Brian S
08-12-2002, 01:54 AM
You don't need a jumper as long as that HardDrive is the only thing on the IDE chain.
If I understand it, you esstentially want everything in /var/www to be on your harddrive, and the HD to serve as the new /var/www.
Here's what you need to do:
1. mkdir /mnt/newdrive
2. mount -t ext3 /dev/hda1 /mnt/newdrive
3. cp -Rp /var/www /mnt/newdrive
4. vi /etc/fstab <- add the new drive and put the mount point as /var/www
5. reboot
This should make your new drive appear as /var/www. The above may not be perfect, and you may have to change some stuff, but it at least gives you a starting point. There are lots of tutorials and newsgroup posting about adding drives. Do a search on Google. :)
Have Fun,
Brian