Gentoo Archives: gentoo-user

From: karl@××××××××.se
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] RAID: new drive on aac raid
Date: Mon, 05 Oct 2020 14:38:23
Message-Id: 20201005143813.79EC6819F7B0@turkos.aspodata.se
In Reply to: [gentoo-user] RAID: new drive on aac raid by "Stefan G. Weichinger"
1 Stefan G. Weichinger:
2 > On an older server the customer replaced a SAS drive.
3 >
4 > I see it as /dev/sg11, but not yes as /dev/sdX, it is not visible in "lsblk"
5 ...
6
7 Not that I think it will help you much, but there is sys-apps/sg3_utils:
8
9 # lsscsi
10 [0:0:0:0] disk ATA TOSHIBA MG03ACA3 FL1A /dev/sda
11 [1:0:0:0] disk ATA TOSHIBA MG03ACA3 FL1A /dev/sdb
12 [5:0:0:0] cd/dvd ASUS DRW-24F1ST a 1.00 /dev/scd0
13 # sg_map -x -i
14 /dev/sg0 0 0 0 0 0 /dev/sda ATA TOSHIBA MG03ACA3 FL1A
15 /dev/sg1 1 0 0 0 0 /dev/sdb ATA TOSHIBA MG03ACA3 FL1A
16 /dev/sg2 5 0 0 0 5 /dev/scd0 ASUS DRW-24F1ST a 1.00
17 # sg_inq /dev/sg1
18 standard INQUIRY:
19 PQual=0 Device_type=0 RMB=0 LU_CONG=0 version=0x05 [SPC-3]
20 [AERC=0] [TrmTsk=0] NormACA=0 HiSUP=0 Resp_data_format=2
21 SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 [BQue=0]
22 EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0
23 [RelAdr=0] WBus16=0 Sync=0 [Linked=0] [TranDis=0] CmdQue=1
24 [SPI: Clocking=0x0 QAS=0 IUS=0]
25 length=96 (0x60) Peripheral device type: disk
26 Vendor identification: ATA
27 Product identification: TOSHIBA MG03ACA3
28 Product revision level: FL1A
29 Unit serial number: 14UAKBPDF
30
31 You have theese two:
32 > 07:01.0 SCSI storage controller: LSI Logic / Symbios Logic 53c1030 PCI-X
33 > 0a:0e.0 RAID bus controller: Adaptec AAC-RAID
34
35 I guess that the tape drive and mediachanger is on the 53c1030:
36 > [0:0:1:0] tape HP Ultrium 4-SCSI B12H /dev/st0
37 > [0:0:1:1] mediumx OVERLAND NEO Series 0510 /dev/sch0
38
39 And theese on the aac, since they have the same scsi host, and I guess
40 that scsi ch.0 is for the configured drives and ch.1 for the raw drives:
41 > [1:0:1:0] disk ICP SAS2 V1.0 /dev/sda
42 > [1:0:2:0] disk ICP Device 2 V1.0 /dev/sdb
43 > [1:0:3:0] disk ICP Device 3 V1.0 /dev/sdc
44 > [1:0:4:0] disk ICP Device 4 V1.0 /dev/sdd
45 > [1:0:5:0] disk ICP Device 5 V1.0 /dev/sde
46 > [1:0:6:0] disk ICP Device 6 V1.0 /dev/sdf
47 > [1:0:7:0] disk ICP Device 7 V1.0 /dev/sdg
48 > [1:0:8:0] disk ICP Device 8 V1.0 /dev/sdh
49 > [1:0:9:0] disk ICP Device 9 V1.0 /dev/sdi
50 > [1:1:0:0] disk TOSHIBA MG04SCA20EE 0104
51 > [1:1:1:0] disk SEAGATE ST373455SS 0002 -
52 > [1:1:3:0] disk WDC WD7500AZEX-00RKK 0A80 -
53 > [1:1:4:0] disk WDC WD7500AZEX-00RKK 0A80 -
54 > [1:1:5:0] disk WDC WD7500AZEX-00RKK 0A80 -
55 > [1:1:6:0] disk WDC WD7500AZEX-00BN5 1A01 -
56 > [1:1:7:0] disk WDC WD7500AZEX-00BN5 1A01 -
57 > [1:1:8:0] disk WDC WD7500AZEX-00RKK 0A80 -
58 > [1:1:9:0] disk ST375052 8AS CC44 -
59 > [1:1:10:0] disk WDC WD7500AZEX-00BN5 1A01 -
60 > [1:1:11:0] disk WDC WD7500AZEX-00BN5 1A01 -
61
62 Perhaps theese links will help:
63 https://www.cyberciti.biz/faq/linux-checking-sas-sata-disks-behind-adaptec-raid-controllers/
64 http://updates.aslab.com/doc/disk-controller/aacraid_guide.pdf
65 https://hwraid.le-vert.net/wiki/Adaptec
66
67 Just a poke in the dark, does ldd report all libs found, as in:
68 $ ldd /bin/ls
69 linux-vdso.so.1 (0x00007ffcbab4c000)
70 libc.so.6 => /lib64/libc.so.6 (0x00007fece3ad5000)
71 /lib64/ld-linux-x86-64.so.2 (0x00007fece3d1c000)
72 $
73
74 Regards,
75 /Karl Hammar

Replies

Subject Author
Re: [gentoo-user] RAID: new drive on aac raid Rich Freeman <rich0@g.o>
Re: [gentoo-user] RAID: new drive on aac raid "Stefan G. Weichinger" <lists@×××××.at>