Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #227757 > unrolled thread

Linux not seeing all SATA drives

Started byDennis Wicks <wix@mgssub.com>
First post2020-10-13 04:30 +0200
Last post2020-10-14 10:30 +0200
Articles 8 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Linux not seeing all SATA drives Dennis Wicks <wix@mgssub.com> - 2020-10-13 04:30 +0200
    Re: Linux not seeing all SATA drives David Christensen <dpchrist@holgerdanske.com> - 2020-10-13 05:10 +0200
      Re: Linux not seeing all SATA drives Dennis Wicks <wix@mgssub.com> - 2020-10-13 17:40 +0200
        Re: Linux not seeing all SATA drives mick crane <mick.crane@gmail.com> - 2020-10-13 17:50 +0200
        Re: Linux not seeing all SATA drives David Christensen <dpchrist@holgerdanske.com> - 2020-10-14 03:10 +0200
          Re: Linux not seeing all SATA drives David Christensen <dpchrist@holgerdanske.com> - 2020-10-14 03:20 +0200
    Re: Linux not seeing all SATA drives Felix Miata <mrmazda@earthlink.net> - 2020-10-13 18:00 +0200
    Re: Linux not seeing all SATA drives Andrei POPESCU <andreimpopescu@gmail.com> - 2020-10-14 10:30 +0200

#227757 — Linux not seeing all SATA drives

FromDennis Wicks <wix@mgssub.com>
Date2020-10-13 04:30 +0200
SubjectLinux not seeing all SATA drives
Message-ID<AZieB-14g-1@gated-at.bofh.it>
I have 3 SATA drives on my system. I replaced all my red 
cables with new black cables. The BIOS sees all of them but 
when linux finishes booting it only sees two of them. Do I 
have to do something to linux so it sees the third drive?

FYI, I have the system disk in sata-1, the drive on sata2 is 
not seen, but the drive on sata3 is seen and in use. The 
CD/DVD drive is on sata6 and is also seen.

Thanks for any and all help!
Dennis

[toc] | [next] | [standalone]


#227758

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2020-10-13 05:10 +0200
Message-ID<AZiRj-1B9-1@gated-at.bofh.it>
In reply to#227757
On 2020-10-12 19:19, Dennis Wicks wrote:
> I have 3 SATA drives on my system. I replaced all my red cables with new 
> black cables. The BIOS sees all of them but when linux finishes booting 
> it only sees two of them. Do I have to do something to linux so it sees 
> the third drive?
> 
> FYI, I have the system disk in sata-1, the drive on sata2 is not seen, 
> but the drive on sata3 is seen and in use. The CD/DVD drive is on sata6 
> and is also seen.
> 
> Thanks for any and all help!
> Dennis

Run the following commands as root.  If you need help interpreting the 
results, post your console session:

# lsblk

# fdisk -l

# mount | grep sd


David

[toc] | [prev] | [next] | [standalone]


#227769

FromDennis Wicks <wix@mgssub.com>
Date2020-10-13 17:40 +0200
Message-ID<AZuz7-6Y-5@gated-at.bofh.it>
In reply to#227758
David Christensen wrote on 10/12/20 10:01 PM:
> On 2020-10-12 19:19, Dennis Wicks wrote:
>> I have 3 SATA drives on my system. I replaced all my red 
>> cables with new black cables. The BIOS sees all of them 
>> but when linux finishes booting it only sees two of them. 
>> Do I have to do something to linux so it sees the third 
>> drive?
>>
>> FYI, I have the system disk in sata-1, the drive on sata2 
>> is not seen, but the drive on sata3 is seen and in use. 
>> The CD/DVD drive is on sata6 and is also seen.
>>
>> Thanks for any and all help!
>> Dennis
> 
> Run the following commands as root.  If you need help 
> interpreting the results, post your console session:
> 
> # lsblk
> 
> # fdisk -l
> 
> # mount | grep sd
> 
> 
> David
> 
> 
Thanks for the tip, but none of those commands show the 
third disk, just two.
What might be /dev/sdc doesn't show up with any command I 
have tried.

Thanks!
Dennis

[toc] | [prev] | [next] | [standalone]


#227770

Frommick crane <mick.crane@gmail.com>
Date2020-10-13 17:50 +0200
Message-ID<AZuIN-an-1@gated-at.bofh.it>
In reply to#227769
On 2020-10-13 16:39, Dennis Wicks wrote:
> David Christensen wrote on 10/12/20 10:01 PM:
>> On 2020-10-12 19:19, Dennis Wicks wrote:
>>> I have 3 SATA drives on my system. I replaced all my red cables with 
>>> new black cables. The BIOS sees all of them but when linux finishes 
>>> booting it only sees two of them. Do I have to do something to linux 
>>> so it sees the third drive?
>>> 
>>> FYI, I have the system disk in sata-1, the drive on sata2 is not 
>>> seen, but the drive on sata3 is seen and in use. The CD/DVD drive is 
>>> on sata6 and is also seen.
>>> 
>>> Thanks for any and all help!
>>> Dennis
>> 
>> Run the following commands as root.  If you need help interpreting the 
>> results, post your console session:
>> 
>> # lsblk
>> 
>> # fdisk -l
>> 
>> # mount | grep sd
>> 
>> 
>> David
>> 
>> 
> Thanks for the tip, but none of those commands show the third disk, 
> just two.
> What might be /dev/sdc doesn't show up with any command I have tried.
> 
> Thanks!
> Dennis

I'd look in dmesg for anything and swap the cables about from sata2 and 
sata3
mick
-- 
Key ID    4BFEBB31

[toc] | [prev] | [next] | [standalone]


#227780

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2020-10-14 03:10 +0200
Message-ID<AZDsJ-5wf-1@gated-at.bofh.it>
In reply to#227769
On 2020-10-13 08:39, Dennis Wicks wrote:
> David Christensen wrote on 10/12/20 10:01 PM:
>> On 2020-10-12 19:19, Dennis Wicks wrote:
>>> I have 3 SATA drives on my system. I replaced all my red cables with 
>>> new black cables. The BIOS sees all of them but when linux finishes 
>>> booting it only sees two of them. Do I have to do something to linux 
>>> so it sees the third drive?
>>>
>>> FYI, I have the system disk in sata-1, the drive on sata2 is not 
>>> seen, but the drive on sata3 is seen and in use. The CD/DVD drive is 
>>> on sata6 and is also seen.
>>>
>>> Thanks for any and all help!
>>> Dennis
>>
>> Run the following commands as root.  If you need help interpreting the 
>> results, post your console session:
>>
>> # lsblk
>>
>> # fdisk -l
>>
>> # mount | grep sd
>>
>>
>> David
>>
>>
> Thanks for the tip, but none of those commands show the third disk, just 
> two.
> What might be /dev/sdc doesn't show up with any command I have tried.

Please run the following commands and post the console session:

$ cat /etc/debian_version

$ uname -a


Boot the Debian 9 or 10 installer, run the following commands, and post 
the console session:

# smartctl -i /dev/sda

# smartctl -i /dev/sdb

# smartctl -i /dev/sdc

# smartctl -i /dev/sdd


Mark your cables with labels and serial numbers, and keep track of your 
patching configurations.


The suggestions of re-patching and checking dmesg are valid.  I would 
connect the system drive to each port in turn, bootint the installer 
rescue shell, checking, booting the system drive, checking, and 
comparing results.  I would then put the system drive on the first port 
and try the problem drive on the remaining ports, both with the 
installer rescue shell and with your system drive.


Have you checked your drives recently using the manufacturer diagnostics 
utility?


David

[toc] | [prev] | [next] | [standalone]


#227781

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2020-10-14 03:20 +0200
Message-ID<AZDCp-5zi-1@gated-at.bofh.it>
In reply to#227780
On 2020-10-13 18:01, David Christensen wrote:

> Boot the Debian 9 or 10 installer, run the following commands, and post 
> the console session:
> 
> # smartctl -i /dev/sda

My bad -- d-i does not include smartctl(8).  What I'm after is make, 
model, interface, and firmware version information.  It could be that 
the problem drive is old and the appropriate device driver is not 
included in your Linux kernel.


David

[toc] | [prev] | [next] | [standalone]


#227772

FromFelix Miata <mrmazda@earthlink.net>
Date2020-10-13 18:00 +0200
Message-ID<AZuSt-dt-3@gated-at.bofh.it>
In reply to#227757
Dennis Wicks composed on 2020-10-12 21:19 (UTC-0500):

> I have 3 SATA drives on my system. I replaced all my red 
> cables with new black cables. The BIOS sees all of them but 
> when linux finishes booting it only sees two of them. Do I 
> have to do something to linux so it sees the third drive?
> 
> FYI, I have the system disk in sata-1, the drive on sata2 is 
> not seen, but the drive on sata3 is seen and in use. The 
> CD/DVD drive is on sata6 and is also seen.

Did you try swapping cables between HDD2 & HDD3, or putting a red cable back on HDD2?

Is HDD2 an old SATA1 device?
-- 
Evolution as taught in public schools, like religion,
	is based on faith, not on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#227785

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-10-14 10:30 +0200
Message-ID<AZKky-1d6-3@gated-at.bofh.it>
In reply to#227757

[Multipart message — attachments visible in raw view] — view raw

On Lu, 12 oct 20, 21:19:39, Dennis Wicks wrote:
> I have 3 SATA drives on my system. I replaced all my red cables with new
> black cables. The BIOS sees all of them but when linux finishes booting it
> only sees two of them. Do I have to do something to linux so it sees the
> third drive?
> 
> FYI, I have the system disk in sata-1, the drive on sata2 is not seen, but
> the drive on sata3 is seen and in use. The CD/DVD drive is on sata6 and is
> also seen.

Do you have a good enough power source? For testing purposes you could 
try removing any other component that is not strictly needed to start 
the system.

If you connect each drive individually, does Linux detect them?

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web