Alan Shoemaker wrote:
> 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.
> > We are running Mandrake 7.0 with Webmin ver 0.80.
> > Thanks!
> >
> >
> > Gilbert De La Garza
>
> Gilbert....use:
>
>  fdisk /dev/hdb
>
> (if, in fact hdb is the drive) to partition it say as one
> partition called hdb1.  Then use:
>
>  mkfs.<filesystemtype> /dev/hdb1
>
> to format it (mkfs.<filesystemtype> may be mkfs.ext2 or
> mkfs.reiserfs)
>
> Finally put an entry into your /etc/fstab file to give it a
> mountpoint and tell the system to mount it at boot time,
>  like:
>
>  /dev/hda1 /boot <filesystemtype> defaults 1 2
>
> Where <filesystemtype> may be ext2 or reiserfs.
> --
> Alan

Gilbert....sorry I didn't register scsi in my head when I 
originally answered your question and there were some other 
errors as well.  So please ignore my first message, I've had 
my coffee now.  :-)

use:

 fdisk /dev/sdb

(if, in fact sdb is the drive) to partition it say as one
partition called sdb1.  Then use:

 mkfs.<filesystemtype> /dev/sdb1

to format it (mkfs.<filesystemtype> may be mkfs.ext2 or
mkfs.reiserfs)

Finally put an entry into your /etc/fstab file to give it a
mountpoint and tell the system to mount it at boot time,
 like:

 /dev/sdb1 /cache <filesystemtype> defaults 1 2

Where <filesystemtype> may be ext2 or reiserfs.
-- 
Alan

Reply via email to