It was Tue, 1 May 2001 09:41:04 -0500 when Delagarza, Gilbert wrote:
>Could somebody tell me how to enable a second drive? Its already installed
>on the server and is recognized by the SCSI controller. I want to use that
>drive as a cache drive for SQUID.
If things are correct, you should already have the proper device links in
/dev:
ls /dev/sc* should show you scd0, scd1 etc.
The first SCSI disk is connected through /dev/scd0 so the second one should be
on /dev/scd1. Check your /etc/fstab for correctedness here, about /dev/scd0.
That should be listed in there.
What you do now is make a mountpoint (directory) for the new disk, e.g.
mkdir /scsi2disk
and then mount the new disk to that point:
mount -t ext2 /dev/scd1 /scsi2disk
This should give you access to the disk through /scsi2disk
You can then define partitions on it through fdisk and format these through
mkfs (see man page for usage). Okay, this was the hard way.
After setting up the mountpoint you can also invoke harddrake and do the
partitioning/formatting from there. That's the easy way.
After you verified that the partitions are all formatted okay and usable, you
can edit /etc/fstab to set up the mountpoints at boottime.
All this you will do as root, of course.
Good luck!
Paul
--
Do you remember when you only had to pay for windows
when *you* broke them?
http://nlpagan.net - ICQ 147208 - Registered Linux User 174403
Linux Mandrake 7.2 - Sylpheed 0.4.64