installed new hard drive - now can't find it

Mark Knecht mknecht at controlnet.com
Mon Apr 26 21:52:49 UTC 2004


Dana Holland wrote:
> When I do a fdisk /dev/sda I get:
> 
> # fdisk /dev/sda
> 
> The number of cylinders for this disk is set to 6637.
> There is nothing wrong with that, but this is larger than 1024,
> and could in certain setups cause problems with:
> 1) software that runs at boot time (e.g., old versions of LILO)
> 2) booting and partitioning software from other OSs
>    (e.g., DOS FDISK, OS/2 FDISK)
> 
> But if I issue the command on anything above that:
> 
> ]# fdisk /dev/sdb
> 
> Unable to open /dev/sdb

First, I am not a SCSI user under Linux, so take this with a grain of 
salt...

I would have thought that the 4th SCSI drive would have been

fdisk /dev/sdd

a=1
b=2
c=3
d=4
etc...

However, it's possible that if you manually set up SCSI IDs that one of 
two things happened:

1) You have the new drive on SCSI ID=2 and an older drive also on ID=2. 
In this case neither drive will work. Check to make sure they are not 
assigned to the same value.

2) If you assigned the drive manually to a high value, like ID=7, then 
the drive might be at /dev/sdg. Adjust the /sdX part as needed.

3) If the drive is automagically assigned its ID then you jsut have to 
fine it.

NOTE: You cannout mount the drive until fdisk can find it, you partition 
it  and probably you want to label it to keep things straight in the future.

> 
> My confusion is that I already have partitions (devices?) that start 
> with sda...
> 
> 
> # fdisk -l
> 
> Disk /dev/sda: 255 heads, 63 sectors, 6637 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/sda1   *         1        13    104391   83  Linux

Are these not partitions on the same drive?

Possibly you have a more complicated fstab file than I am used to. Can 
you post that back for us to look at?

I'm just guessing here....

Sorry,
Mark





More information about the Redhat-install-list mailing list