LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-22-2021, 11:03 AM   #1
decosoced
LQ Newbie
 
Registered: Apr 2021
Posts: 20

Rep: Reputation: Disabled
Server does not recognize hard drives


Trying to set up a server for the first time, working on installing Ubuntu on it, everything works until I get to the "select drive to install on" stage, none of the drives I've stuck in are recognized. Since I've had similar problems with building computers, I figure the problem is I've got drives without partitions, but I don't have a way to hook the drives up to a system to partition them. Any suggestions?
 
Old 04-22-2021, 11:10 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Ubuntu will partition your drive, if it cannot see your drives then something else is wrong. Are the drives seen in BIOS setup? Are they set in AHCI mode?
 
Old 04-22-2021, 11:17 AM   #3
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Are there any drives that show up if you boot a live system off of a USB stick or similar?
Are the data and power cables connected firmly?

Check for any loose cable connections, and if you can, try the same drive(s) in another machine and see if you still have the same issue.
 
Old 04-22-2021, 11:23 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,640

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
In addition, what is the make/model of computer?

As posted if you select automatic install the 1st drive will only be partitioned and used. If you want multiple drives you will need to select something else manually configure each drive and assign a mount point.
 
Old 04-22-2021, 11:55 AM   #5
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Quote:
Originally Posted by decosoced View Post
Trying to set up a server for the first time, working on installing Ubuntu on it, everything works until I get to the "select drive to install on" stage, none of the drives I've stuck in are recognized.
What's the make and model of the server?
Quote:
Originally Posted by decosoced View Post
Since I've had similar problems with building computers, I figure the problem is I've got drives without partitions,
That's probably not the case.
 
Old 04-22-2021, 11:55 AM   #6
decosoced
LQ Newbie
 
Registered: Apr 2021
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Emerson View Post
Ubuntu will partition your drive, if it cannot see your drives then something else is wrong. Are the drives seen in BIOS setup? Are they set in AHCI mode?

The server rack it's in has a setup with a card I don't recognize (again, first time setting up a server) which connects via cable to a board in front that the SAS drives slot into. all of the cables there are connected. The drives are not in AHCI mode, and in BIOS, only slot 0 is registered as having anything in it, which I think is the card itself.
 
Old 04-22-2021, 12:00 PM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
OK, then you have some hardware RAID controller? What's the PCI ID of this controller?
 
Old 04-22-2021, 12:02 PM   #8
decosoced
LQ Newbie
 
Registered: Apr 2021
Posts: 20

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
In addition, what is the make/model of computer?

As posted if you select automatic install the 1st drive will only be partitioned and used. If you want multiple drives you will need to select something else manually configure each drive and assign a mount point.

Intel S5520HC Dual LGA 1366
Additionally, the BIOS is from 2010, would attempting to update that help?
 
Old 04-22-2021, 12:06 PM   #9
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
We need to see the PCI ID of this controller, then we can check with cateee.net kernel driver database if Linux has driver for it, and if it does then what kernel version is required.

http://cateee.net
 
Old 04-22-2021, 12:15 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,640

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
I agree with Emerson, the builtin RAID controller might not be recognized by Ubuntu. I suggest switching the mode in the BIOS to AHCI.

The only linux distributions mentioned in the documentation is RedHat or SuSE.
https://www.intel.com/content/dam/su...vice_guide.pdf
https://downloadcenter.intel.com/dow...el-61X-Chipset

Last edited by michaelk; 04-22-2021 at 12:16 PM.
 
Old 04-22-2021, 12:18 PM   #11
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Quote:
Originally Posted by decosoced View Post
The server rack it's in has a setup with a card I don't recognize (again, first time setting up a server) which connects via cable to a board in front that the SAS drives slot into. all of the cables there are connected. The drives are not in AHCI mode, and in BIOS, only slot 0 is registered as having anything in it, which I think is the card itself.
So you have a proper server with hot-pluggable SAS drives. And it seems you've never seen such a thing before.

You need to define a RAID Array before any drives become visible to the OS. Use the RAID controller's built-in configuration utility (accessible during POST) or, if applicable, the software that came with the server.
 
Old 04-22-2021, 12:20 PM   #12
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I agree with Emerson, the builtin RAID controller might not be recognized by Ubuntu. I suggest switching the mode in the BIOS to AHCI.
I'm sorry, but that's not good advice.

This server is equipped with SAS drives, which implies a SAS controller (obviously), which means AHCI does not apply. And even if it did, why would one want to bypass an expensive high-performance RAID controller?
 
Old 04-22-2021, 12:22 PM   #13
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
Right, to make it clear, Ubuntu does not need to see the drives, it needs to "see" the controller.

Edit: And fastest way to find out what we are dealing with is using PCI ID and kernel driver database, as I wrote up here.

Last edited by Emerson; 04-22-2021 at 12:28 PM.
 
Old 04-22-2021, 12:35 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,640

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
Quote:
Originally Posted by Ser Olmy View Post
I'm sorry, but that's not good advice.

This server is equipped with SAS drives, which implies a SAS controller (obviously), which means AHCI does not apply. And even if it did, why would one want to bypass an expensive high-performance RAID controller?
Your correct I was looking at the wrong information. However, builtin linux support is still only with RedHat or Suse.

It does appear there is a native SAS mode without RAID using the SAS mpt driver.

Last edited by michaelk; 04-22-2021 at 12:36 PM.
 
Old 04-22-2021, 01:00 PM   #15
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Your correct I was looking at the wrong information. However, builtin linux support is still only with RedHat or Suse.
That's what the vendor officially supports, yes.

However, that has nothing to do with whether or not the controller is supported by the Linux kernel. The fact is that RAID hardware support has been excellent for over two decades.
Quote:
Originally Posted by Emerson View Post
Right, to make it clear, Ubuntu does not need to see the drives, it needs to "see" the controller.
Actually, it's probably the other way around. Sort of.

There's an excellent chance that the kernel/initrd used by the setup routine includes the mptsas driver (because why wouldn't it), but if the OP hasn't defined a RAID array and at least one logical drive, the driver will have nothing to report.
 
  


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
kvm does not recognize a hard drive with a virtual windows server 2012 jcsa Red Hat 4 03-19-2015 08:05 AM
IBM server 6i raid(linux 9) does not recognize hard disc biju Linux - Hardware 3 05-25-2006 04:22 PM
latest linusx kernel does not recognize sata drives nanjil SUSE / openSUSE 5 02-05-2006 05:23 PM
External Hard Drives/Hard Drives ddrfreak Mandriva 1 12-16-2004 06:12 PM
k3b does not recognize my drives exodist Linux - Software 3 11-05-2004 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:34 PM.

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
Open Source Consulting | Domain Registration