Re: hda question

2003-02-06 Thread Andrew Pasquale
On Thu, Feb 06, 2003 at 12:24:22PM -0800 or thereabouts, [EMAIL PROTECTED] wrote:
 I have reinstalled RH 7.2 a few of times, clean install each time,  on 
 a machine and it appears that each time I have done that it has created 
 a new hda. Would this be correct?
 Is a hda a partition?

No.  hda is your primary hard disk.  Partitions are hda1, hda2, etc.

 I was recently told my program is on hda6 and it is out of space. (This 
 shouldn't be the case as the program doesn't take up much space)
  From the command line how can I tell how many hda's I have?

$ df

will list your filesystems and available space.

 If these are just blank partitions can I eliminate the other hda's and 
 make one big one from the command line?
 

You can use parted to resize your partition.  Check out the docs at
http://www.gnu.org/software/parted/parted.html.
Note that you will need a boot disk, since parted does not work on
mounted partitions.

-- 
Andrew Pasquale 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: hda question

2003-02-06 Thread Todd A. Jacobs
On Thu, 6 Feb 2003, [EMAIL PROTECTED] wrote:

 Is a hda a partition?

No, /dev/hda is the first drive on the first IDE controller. 
/dev/hda[1..N] designates each partition on the /dev/hda device.

 I was recently told my program is on hda6 and it is out of space. (This
 shouldn't be the case as the program doesn't take up much space)

df -h will show your mounted partitions, and how much free space is on
each.

 If these are just blank partitions can I eliminate the other hda's and
 make one big one from the command line?

You can't really merge partitions. Well, you *can*, but it isn't trivial, 
and will usually hose your data.

Your best bet is to backup your data, reinstall using the custom
partitioning option, and create the entire drive as the root partition
(with a 20GB /boot, if you aren't using grub).

-- 
Of course I'm in shape! Round's a shape, isn't it?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: hda question

2003-02-06 Thread [EMAIL PROTECTED]
Ok, I ran df -h and got:

FilesystemSize  Used Avail Use% Mounted on
/dev/hda5 372M  109M  244M  31% /
/dev/hda1  45M   11M   32M  24% /boot
/dev/hda3 4.7G   33M  4.4G   1% /home
none   61M 0   61M   0% /dev/shm
/dev/hda2  13G  1.1G   11G   9% /usr
/dev/hda6 251M  235M  3.6M  99% /var

Does this look normal? I did not set this up with partitions and so now 
I am wondering if I did something wrong on the install. This was 
installed directly from RH 7.2 disks. Shouldn't there just be hda1 only?

Mark






On Thursday, February 6, 2003, at 01:06 PM, Todd A. Jacobs wrote:

On Thu, 6 Feb 2003, [EMAIL PROTECTED] wrote:


Is a hda a partition?


No, /dev/hda is the first drive on the first IDE controller.
/dev/hda[1..N] designates each partition on the /dev/hda device.


I was recently told my program is on hda6 and it is out of space. 
(This
shouldn't be the case as the program doesn't take up much space)

df -h will show your mounted partitions, and how much free space is 
on
each.

If these are just blank partitions can I eliminate the other hda's and
make one big one from the command line?


You can't really merge partitions. Well, you *can*, but it isn't 
trivial,
and will usually hose your data.

Your best bet is to backup your data, reinstall using the custom
partitioning option, and create the entire drive as the root partition
(with a 20GB /boot, if you aren't using grub).

--
Of course I'm in shape! Round's a shape, isn't it?



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: hda question

2003-02-06 Thread Todd A. Jacobs
On Thu, 6 Feb 2003, [EMAIL PROTECTED] wrote:

 /dev/hda6 251M  235M  3.6M  99% /var

Your /var partition is almost full. You might need to clean it out.

 installed directly from RH 7.2 disks. Shouldn't there just be hda1 only?

Not unless you did a custom install. Read the docs for the installation 
you chose (probably workstation). 

-- 
Of course I'm in shape! Round's a shape, isn't it?



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list