LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-26-2012, 02:12 PM   #1
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Rep: Reputation: Disabled
hard drive not detected


Hi all,

second hard drive connected to a RHEL4 (ya.. it's old) is not detected. I am not able to see any entries related to sdb in dmesg or in /var/log/messages.

Code:
# more /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: ST3250318AS      Rev: CC66
  Type:   Direct-Access                    ANSI SCSI revision: 05
Rebooted the server few times but no luck.
Any suggestions on how to detect hard disk ?
Thanks in advance!
 
Old 01-26-2012, 02:16 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi linuxandtsm,

Hard disk should be detected automatically by the system.

What kind of hdd it is? PATA? SATA? or SCSI? Did you check the jumper settings on the disk if it is an old one? Did you check the connectivity of hdd to motherboard like power cable and data bus. On which port you are connecting this hdd?
 
Old 01-26-2012, 02:31 PM   #3
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi T3RM1NVT0R,

It is a SCSI disk.
Connectivity of hdd looks ok to me and hdd is warm to touch.
How can i check jumper settings on the disk ?
and is there any way that i can scan for newly connected devices ?
 
Old 01-26-2012, 02:43 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Jumper settings will depend on the manufacturer. You can check that on hdd manufacturer's site how the jumper should be set. I don't think so that scanning will help because if has something to do with scan then the reboot should have detected it. But as you said that you rebooted it quite a few times so I doubt that system is even aware about the drive.

Are you able to see the newly connected disk in your BIOS? If yes, then we can think on scanning part. If not, then there is a connectivity issue.
 
Old 01-26-2012, 02:47 PM   #5
Lunar
Member
 
Registered: Feb 2005
Location: Texas, USA
Distribution: opensuse
Posts: 96

Rep: Reputation: 3
what do you see when you type mount at command prompt (# mount )
how about # hwinfo --disk
also, did the system see it before or is this a new device?

Landis.

Last edited by Lunar; 01-26-2012 at 02:49 PM. Reason: additiona question
 
Old 01-26-2012, 02:52 PM   #6
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi T3RM1NVT0R,

How can see the disk In BIOS ?

Hi Lunar,

mount shows only the partitions on the hdd1 (sda) that is having all other filesystems mounted but no entry for sdb
and
Code:
# hwinfo --disk
-bash: hwinfo: command not found
 
Old 01-26-2012, 02:56 PM   #7
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

@ linuxandtsm

Not sure which BIOS you are running on but I think the following video should help:

http://www.youtube.com/watch?v=eULEtVZkGDc

Usually F2 or F12 keys are pressed to get into BIOS.

@ Lunar,

hwinfo command is not available on RHEL but it is there on SLES and openSuSE. Not sure about other distributions.
 
1 members found this post helpful.
Old 01-26-2012, 03:14 PM   #8
Lunar
Member
 
Registered: Feb 2005
Location: Texas, USA
Distribution: opensuse
Posts: 96

Rep: Reputation: 3
Quote:
Originally Posted by T3RM1NVT0R View Post
@ Lunar,
hwinfo command is not available on RHEL but it is there on SLES and openSuSE. Not sure about other distributions.
T3RM1NVTOR.... You're Good!
I am running All SuSE and openSuSE 10x to 12.1...
working on first centos (RHEL) right now. want to replace hardware router with linux router.

Landis.

linuxandtsm, if you can't see the hdd (hard disk drive) in BIOS, then the disk is either bad or is not installed right.

Is it on the same chain / channel as the other hdd or a cd / dvd?
..or is it on it's own channel (ribbon cable)?
If it is the second disk hdd or cd on a ribbon cable, is the jumpers set to SL (slave) Mx (master, sometimes, MS, MA, M, MT, MR) or CS (cable select)..
If the fist hdd is set to CS, they both must be capable of CS. Some older drives are not.
If the 1st is set to Single that is the same as mastern no slave present.

None of this means anything if your drives are SATA (Serial ATA) or real SCSI (scuzzy), but then they would not be on the same channel unless they are both SCSI..

More info.

ps. each HDD manufacture has it's support page for jumper settings.
Here is an example of Jumper Settings

I find that cable select is a hit and miss (does not always work) thing and don't use in
Linux.

hope this helps.. I'll be around, work from home 20x7..

Landis.
 
Old 01-26-2012, 03:24 PM   #9
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

@ Lunar,

Thank you.

CentOS is a very good distribution to work on. I really love working it. From your post it appears that you are playing around with iptables :-)
 
Old 01-26-2012, 04:09 PM   #10
Lunar
Member
 
Registered: Feb 2005
Location: Texas, USA
Distribution: opensuse
Posts: 96

Rep: Reputation: 3
Quote:
Originally Posted by T3RM1NVT0R View Post
... From your post it appears that you are playing around with iptables :-)
Yes.. I think..
I used to own a small ISP and setting up a NAT/NAS (masquerade ip) server was easy, but that was in 1995 to 1998, so this will be just like it's the first time all over.

any pointers on setting up a linux router, the easy way? lol

Landis.
 
Old 01-26-2012, 05:16 PM   #11
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

@ Lunar,

I would say that you should be good at iptables to get that setup as a router. Can't get into much details as this thread is about hdd issue. iptables discussion will deviate the topic.
 
1 members found this post helpful.
Old 01-26-2012, 05:57 PM   #12
Lunar
Member
 
Registered: Feb 2005
Location: Texas, USA
Distribution: opensuse
Posts: 96

Rep: Reputation: 3
thanks.. understand.
Landis.
 
Old 01-27-2012, 12:55 PM   #13
linuxandtsm
Member
 
Registered: May 2011
Posts: 194

Original Poster
Rep: Reputation: Disabled
Hi T3RM1NVT0R and Lunar,

This is the spec page that i got from the HD support team.
http://wdc.custhelp.com/app/answers/detail/a_id/1405

How can i find and use the right one for this case ?
Thanks in advance!
 
Old 01-27-2012, 03:17 PM   #14
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

As of now is there any jumper set on the hdd? If yes, remove it and then it should take the default setting based on the port it is being connected.
 
Old 01-29-2012, 08:10 AM   #15
Lunar
Member
 
Registered: Feb 2005
Location: Texas, USA
Distribution: opensuse
Posts: 96

Rep: Reputation: 3
back to an earlier question asked, does your BIOS see the drive during boot?
access BIOS setup: Esc, Del, F1, F2, F10, IBM Enter then menu F1..
you'll have to watch during the first few seconds of 'boot up', before OS (operating system) starts to load..

what brand, model is you pc?

Landis.
try me on fb/LandisTwo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IDE DVD drive and SATA 3.0 hard drive not detected on Debian/Ubuntu install Byrnascus Linux - Hardware 7 01-21-2010 11:11 AM
No hard drive detected Stuffy89 SUSE / openSUSE 2 09-09-2005 11:35 PM
Hard drive not detected gudum35 Linux - Laptop and Netbook 3 06-30-2005 07:43 AM
Hard Drive Not Being Detected yrkely Debian 2 06-17-2005 12:19 PM
hard drive not detected afrodocter Linux - Hardware 3 03-01-2005 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration