Koozali.org: home of the SME Server

Can't find mkfs and can't use fdisk

Chad Self

Can't find mkfs and can't use fdisk
« on: November 15, 2002, 06:56:00 AM »
I've posted this in the advanced forum, but maybe it belongs here.

I'm running SME v 5.1.2.  I've just installed a second SCSI disk in the system.  I've read all the help on adding a second disk to /home/e-smith/files/ibays and am following the instructions.

I've got the second disk installed, it's recognized in the both the SCSI bios and the boot logs.  My problem is that I can't run mkfs or fdisk to format the new drive.  

I get the following error messages:
I've got the disk in, but I can't use the fdisk or mkfs commands. I get the following errors:
using fdisk:
[root@xxservernamexx /]# fdisk /dev/sda3
bash: fdisk: command not found

and when I try to use mkfs:
[root@xxservernamexx /]# mkfs -ext2 /dev/sda3
bash: mkfs: command not found

I downloaded the util-linux-2.11r-10.i386.rpm from RedHat (it contains the fdisk command according to my search on "fdisk" at RedHat.com) but it conflicted with newer packages.

I ran into this kind of thing before in v4.x.x -- I didn't have 'make'-- but it was an easy RPM fix.

Is there a package or blade that includes such necessary but dangerous commands for the SME distro?

Thanks,
Chad

Chad Self

Re: Can't find mkfs and can't use fdisk
« Reply #1 on: November 15, 2002, 08:03:31 AM »
Sorry for the brain fade.
The commands  I needed were in /sbin/ which apparently isn't included in root's command path. I'll be fixing that later.

Chad