[TriLUG] new hard drives in RH9

Jon Carnes jonc at nc.rr.com
Mon May 24 16:24:01 EDT 2004


On Mon, 2004-05-24 at 15:57, Byarlay, Wayne A. wrote:
> Hi,
> 
> I've got 2 new big hard drives, in this RH9 computer, and they show up
> in the hardware manager as /dev/hdc and /dev/hdd. I go to disk manager
> and there's nothing about adding/formatting disks..
> 
> How do I format & use these drives? as, say, /data1 and /data2?
> 
> wab.

Open a command shell and type:

  fdisk /dev/hdc
    m = help
    p = show the partition table
    n = create a new partition

In your case, you just want the whole drive to be one partition so just
type an "n" and use the whole drive.

Next, type:

  mkfs.ext3 /dev/hdc1

Now, edit your /etc/fstab and put in an entry like this:
  /dev/hdc1        /data1       ext3    defaults        1 2

You are now ready to mount the drive:
  mkdir /data1
  mount /data1

On boot, the drive will be automagicly mounted (since it is now the
/etc/fstab).

Do the same for your second drive.

Mazal tov!

Jon Carnes




More information about the TriLUG mailing list