David Fisher wrote:
Hi all,

An ide hard drive has failed on a server machine and I have replaced it with a second scsisdb is in /proc/partitions, what /dev device do drive (which will be /dev/sdb). The machine already has a /dev/sda.

On boot up the kernel appears to recognize the new disk but when I try to use fdisk I get:

fdisk: unable to open /dev/sdb

Fdisk has no trouble with /dev/hda and /dev/sda.

If I boot rom a tomsrootbt disk, I can use fdisk on /dev/sdb and then use mk2fs, but when I then try to boot from the normal kernel, the kernel seems to recognise /dev/sdb1 but cannot mount it (as /var), and fdisk will stll not recognse /dev/sdb.

Kernel is 2.4.23, fs is ext3 (compiled in) and ext2 as a module.

Can anyone please help with this as I need to get this machine back up asap.


What kind of scsi hba/controller are you using for sdb?


Is sda on the same controller? Is sda a hard disk (not a cf card, or other non-native scsi device)?

Can you post the output of /proc/partitions, /proc/scsi/scsi and the relevant parts of dmesg (does sdb show up in dmesg or boot.log)?

Are you sure it is sdb under your running kernel? Could sdb be some other device, and your new disk is sdc?

Try 'fdisk -l /dev/sd?' to see if it shows up.

--
Lost in Tokyo,
  Keith


-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to