You are not logged in.
Recently wiped ubuntu server and installed Arch on my fileserver. Install went fine, but I'm seeing something weird with my drives. The server has 3 SATA drives in it, one plugged into the motherboard, and two going into a rosewill "fake raid" card. With the previous Ubuntu install, I would see all three sdX drives in /dev, along a fourth block device for the mirrored disk. However, in Arch, I only see the /dev/sdX disks.
I've scoured the entire server, and this is driving me insane. I've went back into the RAID BIOS settings, and it's still configured correctly; I've not lost the RAID or anything like that. I can still mount the disks just fine, but I obviously don't want to leave it like that.
I'm convinced that I'm forgetting something incredibly stupid. I just can't seem to figure out what. People seem to be using this card just fine online, and it was working just fine before I switched to Arch. The only odd thing about the install is that I unplugged the drives (left the RAID card in) during install just to be extra safe; I didn't want to wipe my fileserver. I've tried including all relevant info below...
Thanks in advance.
I seem to see the RAID card just fine in lspci (last entry):
~# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation NM10/ICH7 Family PCI Express Port 4 (rev 01)
00:1d.0 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB controller: Intel Corporation NM10/ICH7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB controller: Intel Corporation NM10/ICH7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation NM10/ICH7 Family SATA Controller [IDE mode] (rev 01)
00:1f.3 SMBus: Intel Corporation NM10/ICH7 Family SMBus Controller (rev 01)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03)
05:00.0 RAID bus controller: Silicon Image, Inc. SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)lsmod shows something called sata_sil which I presume is the module.
~# lsmod
Module Size Used by
xfs 1802240 0
cfg80211 913408 0
rfkill 28672 2 cfg80211
8021q 40960 0
garp 16384 1 8021q
mrp 20480 1 8021q
stp 16384 1 garp
llc 16384 2 stp,garp
i915 2662400 1
r8169 98304 0
i2c_algo_bit 16384 1 i915
iTCO_wdt 16384 0
at24 24576 0
intel_pmc_bxt 16384 1 iTCO_wdt
drm_kms_helper 266240 1 i915
iTCO_vendor_support 16384 1 iTCO_wdt
gpio_ich 16384 0
cec 73728 2 drm_kms_helper,i915
realtek 24576 1
rc_core 61440 1 cec
mdio_devres 16384 1 r8169
of_mdio 24576 1 mdio_devres
i2c_i801 36864 0
input_leds 16384 0
coretemp 20480 0
syscopyarea 16384 1 drm_kms_helper
pcspkr 16384 0
fixed_phy 16384 1 of_mdio
sysfillrect 16384 1 drm_kms_helper
i2c_smbus 20480 1 i2c_i801
sysimgblt 16384 1 drm_kms_helper
libphy 151552 5 r8169,mdio_devres,of_mdio,realtek,fixed_phy
fb_sys_fops 16384 1 drm_kms_helper
evdev 28672 3
intel_agp 24576 0
mac_hid 16384 0
intel_gtt 24576 2 intel_agp,i915
lpc_ich 28672 0
drm 585728 3 drm_kms_helper,i915
agpgart 53248 3 intel_agp,intel_gtt,drm
ip_tables 32768 0
x_tables 53248 1 ip_tables
btrfs 1523712 1
blake2b_generic 20480 0
libcrc32c 16384 2 btrfs,xfs
crc32c_generic 16384 2
xor 24576 1 btrfs
raid6_pq 122880 1 btrfs
ata_generic 16384 0
pata_acpi 16384 0
serio_raw 20480 0
atkbd 36864 0
libps2 20480 1 atkbd
uhci_hcd 53248 0
ata_piix 36864 2
ehci_pci 20480 0
sata_sil 16384 0
ehci_hcd 98304 1 ehci_pci
i8042 32768 0
serio 28672 4 serio_raw,atkbd,i8042lsblk not showing the mirrored RAID device:
~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.8T 0 disk
`-sda1 8:1 0 1.8T 0 part
sdb 8:16 0 1.8T 0 disk
`-sdb1 8:17 0 1.8T 0 part
sdc 8:32 0 698.6G 0 disk
|-sdc1 8:33 0 692.9G 0 part /
|-sdc2 8:34 0 1.5M 0 part
`-sdc5 8:37 0 5.7G 0 part [SWAP]Hopefully relevant section of dmesg
[ 1.705354] scsi host2: ata_piix
[ 1.706285] scsi host3: ata_piix
[ 1.706458] ata3: SATA max UDMA/133 cmd 0x30b8 ctl 0x30cc bmdma 0x30a0 irq 19
[ 1.706466] ata4: SATA max UDMA/133 cmd 0x30b0 ctl 0x30c8 bmdma 0x30a8 irq 19
[ 1.883209] ata3.00: ATA-7: WDC WD7500AAKS-00RBA0, 30.04G30, max UDMA/133
[ 1.883215] ata3.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 1.907014] tsc: Refined TSC clocksource calibration: 1666.693 MHz
[ 1.907032] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x18063f5be8f, max_idle_ns: 440795273934 ns
[ 1.907078] clocksource: Switched to clocksource tsc
[ 1.977040] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 2.761315] ata1.00: ATA-8: WDC WD20EADS-00R6B0, 01.00A01, max UDMA/133
[ 2.761320] ata1.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 2.821602] ata1.00: configured for UDMA/100
[ 2.821958] scsi 0:0:0:0: Direct-Access ATA WDC WD20EADS-00R 0A01 PQ: 0 ANSI: 5
[ 2.823073] sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 2.823127] sd 0:0:0:0: [sda] Write Protect is off
[ 2.823134] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 2.823226] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 2.872053] sda: sda1
[ 2.873410] sd 0:0:0:0: [sda] Attached SCSI disk
[ 3.136754] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[ 3.172139] ata2.00: ATA-8: WDC WD20EADS-00R6B0, 01.00A01, max UDMA/133
[ 3.172145] ata2.00: 3907029168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[ 3.194663] ata2.00: configured for UDMA/100
[ 3.195038] scsi 1:0:0:0: Direct-Access ATA WDC WD20EADS-00R 0A01 PQ: 0 ANSI: 5
[ 3.196232] sd 1:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[ 3.196307] sd 1:0:0:0: [sdb] Write Protect is off
[ 3.196317] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 3.196435] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.196447] scsi 2:0:0:0: Direct-Access ATA WDC WD7500AAKS-0 4G30 PQ: 0 ANSI: 5
[ 3.197726] sd 2:0:0:0: [sdc] 1465149168 512-byte logical blocks: (750 GB/699 GiB)
[ 3.197801] sd 2:0:0:0: [sdc] Write Protect is off
[ 3.197811] sd 2:0:0:0: [sdc] Mode Sense: 00 3a 00 00
[ 3.197940] sd 2:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.227316] sdb: sdb1
[ 3.228610] sd 1:0:0:0: [sdb] Attached SCSI disk
[ 3.311398] sdc: sdc1 sdc2 sdc5
[ 3.313125] sd 2:0:0:0: [sdc] Attached SCSI disk
[ 3.960349] raid6: sse2x4 gen() 1475 MB/s
[ 4.017003] raid6: sse2x4 xor() 980 MB/s
[ 4.073667] raid6: sse2x2 gen() 1267 MB/s
[ 4.130319] raid6: sse2x2 xor() 1681 MB/s
[ 4.187000] raid6: sse2x1 gen() 1201 MB/s
[ 4.243656] raid6: sse2x1 xor() 1281 MB/s
[ 4.243659] raid6: using algorithm sse2x4 gen() 1475 MB/s
[ 4.243661] raid6: .... xor() 980 MB/s, rmw enabled
[ 4.243664] raid6: using ssse3x2 recovery algorithmLast edited by TheCraiggers (2020-11-06 23:11:38)
Offline
Since you don't mention it, I'll ask: did you read the very detailed Arch RAID Wiki? Especially the section "Installing Arch Linux on RAID"? Did you configure mkinitcpio w/ mdmon?
Offline
Thanks for your response.
I skimmed the article to see if there was anything in it that applied to me. I didn't think it did, and having looked at it again, I did find mention of dmraid being needed for fake raid controllers hidden in there. Surprising, I really thought that this would be completely transparent to the OS, since it's an external card.
Having installed it, it looks like I can now activate and configure the mirror, so I think you've helped me enough to learn for myself.
I do however think that the wiki is woefully inadequate for this. A one liner tucked in the middle of an 18 page article... ah, I'm just making excuses now. I'll update the wiki when I'm done learning how to set this thing up properly.
Thanks again!
Offline