[TriLUG] new hard drives in RH9

Smith, Brett bsmith at bloodhoundinc.com
Mon May 24 16:26:36 EDT 2004


e2label /dev/hdX /data1
then you can use the Redhat Label System 
see here http://smithlx.org/redhat_label.php

-----Original Message-----
From: Jon Carnes [mailto:jonc at nc.rr.com]
Sent: Monday, May 24, 2004 4:24 PM
To: Triangle Linux Users Group discussion list
Subject: Re: [TriLUG] new hard drives in RH9


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

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

This email message is for the sole use of the intended recipients(s) and may contain confidential and privileged information of Bloodhound Software, Inc.. Any unauthorized review, use, disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.



More information about the TriLUG mailing list