Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Missing /dev/sd*
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MasterDragon
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 107

PostPosted: Tue Nov 11, 2014 4:55 am    Post subject: Missing /dev/sd* Reply with quote

I've got an older Dell server with an SAS raid controller. First four disks are configured as raid10, that's sda. However, I've also got another five SATA drives plugged in but they're not getting sd* files in /dev. The drives in question are recognized by the hardware just fine, and also by dmesg:
Code:
[    1.563858] scsi 0:0:4:0: Direct-Access     ATA      HUA721050KLA330  A95A PQ: 0 ANSI: 5
[    1.572246] scsi 0:0:6:0: Direct-Access     ATA      HUA721050KLA330  A95A PQ: 0 ANSI: 5
[    1.582539] scsi 0:0:7:0: Direct-Access     ATA      Hitachi HUA72105 A70M PQ: 0 ANSI: 5
[    1.597028] scsi 0:0:8:0: Direct-Access     ATA      HUA721050KLA330  A95A PQ: 0 ANSI: 5
[    1.608756] scsi 0:0:9:0: Direct-Access     ATA      HUA721050KLA330  A95A PQ: 0 ANSI: 5
[    1.759104] scsi 0:0:32:0: Enclosure         DP       BACKPLANE        1.05 PQ: 0 ANSI: 5
[    1.860045] tsc: Refined TSC clocksource calibration: 2992.499 MHz
[    1.886715] scsi 0:2:1:0: Direct-Access     DELL     PERC 6/i         1.22 PQ: 0 ANSI: 5
[    1.892797] sd 0:2:1:0: [sda] 1169686528 512-byte logical blocks: (598 GB/557 GiB)
[    1.892982] sd 0:2:1:0: [sda] Write Protect is off
[    1.893051] sd 0:2:1:0: [sda] Mode Sense: 1f 00 10 08
[    1.893133] sd 0:2:1:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
[    1.915012]  sda: sda1 sda2 sda3 sda4
[    1.915664] sd 0:2:1:0: [sda] Attached SCSI disk
[    1.916123] Freeing unused kernel memory: 836K (ffffffff81737000 - ffffffff81808000)
[    2.295988] scsi: <fdomain> Detection failed (no card)


There is a file /dev/sdb, but running fdisk /dev/sdb gives "fdisk: cannot open /dev/sdb: No medium found" ... So I don't know what's going on there.
Thoughts?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Tue Nov 11, 2014 7:38 am    Post subject: Reply with quote

have a look at /proc/scsi/scsi content, it should list your arrays and your physical disks.
my controller only enable sd* naming on arrays, not on disks (so any disks attach to it, must be handle by using an array with it).
i'm not sure if my controller could create an array made with one disk but i suppose it depend on the bios controller version/model.
did you just plug the disks or plug them and setup an array for each of them?
Back to top
View user's profile Send private message
MasterDragon
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2006
Posts: 107

PostPosted: Tue Nov 11, 2014 6:59 pm    Post subject: Reply with quote

cat /proc/scsi/scsi
Code:
Attached devices:
Host: scsi0 Channel: 00 Id: 32 Lun: 00
  Vendor: DP       Model: BACKPLANE        Rev: 1.05
  Type:   Enclosure                        ANSI  SCSI revision: 05
Host: scsi0 Channel: 02 Id: 01 Lun: 00
  Vendor: DELL     Model: PERC 6/i         Rev: 1.22
  Type:   Direct-Access                    ANSI  SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: Dell     Model: Virtual  Floppy  Rev: 123
  Type:   Direct-Access                    ANSI  SCSI revision: 00
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: Dell     Model: Virtual  CDROM   Rev: 123
  Type:   CD-ROM                           ANSI  SCSI revision: 00


The disks in question are just plugged in as individual disks, I haven't created an array/virtual disk/whatever on the physical controller with them (though the controller does see them); my plan was to use these disks to experiment with software RAID.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Wed Nov 12, 2014 2:04 pm    Post subject: Reply with quote

Well, looks like for me, you could use any drives as long as they are attach to an array (that is for me a minimum 2 drives to build one). Even it list my drives as scsi devices, only the arrays are handle (and that's a good thing, you don't want someone mess with a drive that is part of the array itself).
Build an test array with like 2 drives, pretty sure you will see that new array while not seeing the 3 missing drives still.

To sum-up, if you want software raid, don't use an hardware raid controller to handle them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum