LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-31-2011, 05:42 AM   #1
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Rep: Reputation: 33
what /dev/device is associated with an Areca RAID card?


I'm running a computer with Windows 7 as a main OS. I've got Debian 6.0.3 installed on a separate partition since I prefer working with Debian myself. Anyway there is a big RAID Array running from an Areca card, partitioned as NTFS.

How can I find that out which device is associated with the raid array? Currently I'm running:

Code:
grep --ignore-case areca /proc/
(only feedback is not sufficient memory in /proc/kcore)

I already tried

Code:
fdisk -l
but it doesn't show up there
 
Old 12-31-2011, 08:45 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

What do you see with 'lspci -vv'?
 
Old 12-31-2011, 08:55 AM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
There's a kernel module 'arcmsr' that supports most of the Areca RAID cards.
See if this is loaded with
Code:
# lsmod | grep arcmsr
If not, just load it with
Code:
# modprobe arcmsr
 
Old 12-31-2011, 10:24 AM   #4
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Well it does show up in the lspci w/o -vv so it's recognized. If you still need the output I'll post it later on (the ol' folks are working on the pc now)

I can't seem to find a block device that I can use to mount. On the top of my head I did:

Code:
user@box:~$ ls /sys/block
loop0  loop1  loop2  loop3  loop4  loop5  loop6  loop7  sda  sdb sdc sdd sde sdf
user@obx:~$
If I try to 'cat' the last 4 devices I got an error and no output so that's not the 4 disks attached to the controller. With the sda and sdb (being 2 physical present discs) I got the expected "messy" output.
 
Old 01-03-2012, 02:07 AM   #5
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
lspci just shows whatever is plugged in. It doesn't mean it's detected and working. With the -vv option you might see if a kernel module has been loaded to support it.
 
Old 01-03-2012, 08:46 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Quote:
Originally Posted by ongte View Post
lspci just shows whatever is plugged in. It doesn't mean it's detected and working. With the -vv option you might see if a kernel module has been loaded to support it.
Just one of the commands that can help identify things to aid in troubleshooting. Sometimes errant loads or misconfiguration can be identified.
 
Old 01-04-2012, 05:35 AM   #7
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
sorry for the late response. Here's the output of lspci -vv

Code:
root@media:# lspci -vv | grep --ignore-case areca --after-context 32
02:00.0 RAID bus controller: Areca Technology Corp. ARC-1680 8 port PCIe/PCI-X to SAS/SATA II RAID Controller
	Subsystem: Areca Technology Corp. Device 1212
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fa610000 (32-bit, non-prefetchable) [size=8K]
	Expansion ROM at fa600000 [disabled] [size=64K]
	Capabilities: [98] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [a0] MSI: Enable- Count=1/2 Maskable- 64bit+
		Address: 0000000000000000  Data: 0000
	Capabilities: [d0] Express (v1) Endpoint, MSI 00
		DevCap:	MaxPayload 512 bytes, PhantFunc 0, Latency L0s unlimited, L1 <1us
			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
			RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
			MaxPayload 128 bytes, MaxReadReq 256 bytes
		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
		LnkCap:	Port #0, Speed 2.5GT/s, Width x8, ASPM unknown, Latency L0 <128ns, L1 unlimited
			ClockPM- Surprise- LLActRep- BwNot-
		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
	Capabilities: [100 v1] Advanced Error Reporting
		UESta:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
		UESvrt:	DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
		CESta:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
	Kernel driver in use: arcmsr

Last edited by bucovaina78; 01-04-2012 at 05:39 AM. Reason: reran the command as ROOT and only pasted relevant content
 
Old 01-04-2012, 08:40 AM   #8
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Might be of help, the output of
Code:
dmesg | grep scsi
Code:
user@media:~$ dmesg | grep scsi
[    1.535446] scsi0 : Areca SAS Host Adapter RAID Controller( RAID6 capable)
[    1.537905] scsi 0:0:0:0: Direct-Access     Areca    ARC-1212-VOL#000 R001 PQ: 0 ANSI: 5
[    1.538561] scsi 0:0:16:0: Processor         Areca    RAID controller  R001 PQ: 0 ANSI: 0
[    1.541807] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.541826] scsi 0:0:16:0: Attached scsi generic sg1 type 3
[    1.754821] scsi1 : ahci
[    1.754855] scsi2 : ahci
[    1.754887] scsi3 : ahci
[    1.754918] scsi4 : ahci
[    1.754948] scsi5 : ahci
[    1.754979] scsi6 : ahci
[    1.755291] scsi7 : ahci
[    1.755329] scsi8 : ahci
[    1.755611] scsi9 : ahci
[    1.755650] scsi10 : ahci
[    2.114477] scsi 2:0:0:0: CD-ROM            HL-DT-ST BD-RE  BH10LS30  1.00 PQ: 0 ANSI: 5
[    2.114593] scsi 2:0:0:0: Attached scsi generic sg2 type 5
[    2.643005] scsi 10:0:0:0: Direct-Access     ATA      INTEL SSDSA2CW08 4PC1 PQ: 0 ANSI: 5
[    2.643078] sd 10:0:0:0: Attached scsi generic sg3 type 0
[    2.649437] scsi11 : SCSI emulation for USB Mass Storage devices
[    2.672746] sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
[    2.672860] sr 2:0:0:0: Attached scsi CD-ROM sr0
[    7.644671] scsi 11:0:0:0: Direct-Access     Generic  USB SD Reader    1.00 PQ: 0 ANSI: 0
[    7.645170] scsi 11:0:0:1: Direct-Access     Generic  USB CF Reader    1.01 PQ: 0 ANSI: 0
[    7.645668] scsi 11:0:0:2: Direct-Access     Generic  USB SM Reader    1.02 PQ: 0 ANSI: 0
[    7.646167] scsi 11:0:0:3: Direct-Access     Generic  USB MS Reader    1.03 PQ: 0 ANSI: 0
[    7.646401] sd 11:0:0:0: Attached scsi generic sg4 type 0
[    7.646467] sd 11:0:0:1: Attached scsi generic sg5 type 0
[    7.646539] sd 11:0:0:2: Attached scsi generic sg6 type 0
[    7.646625] sd 11:0:0:3: Attached scsi generic sg7 type 0
user@media:~$
Code:
root@media:/home/user# mount /dev/sg0 /mnt/RAID/
mount: /dev/sg0 is not a block device
(I tried all from /dev/sg0 to /dev/sg8)

Last edited by bucovaina78; 01-04-2012 at 08:40 AM. Reason: missed a slash in [code]
 
Old 01-05-2012, 07:24 AM   #9
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Is just over 24h too soon to bump?
 
Old 01-05-2012, 09:21 AM   #10
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
Try /dev/da?
 
Old 01-05-2012, 09:39 AM   #11
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

It could be that you need fuse-3g 'driver' for mounting NTFS volume.
Like mounting ntfs in debian/
or maybe here (more explanation)

good luck
 
1 members found this post helpful.
Old 01-05-2012, 04:24 PM   #12
bucovaina78
Member
 
Registered: Oct 2004
Location: Belgium / Antwerp
Distribution: Debian
Posts: 287

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by lithos View Post
Hi,

It could be that you need fuse-3g 'driver' for mounting NTFS volume.
Like mounting ntfs in debian/
or maybe here (more explanation)

good luck
Spot on Lithos!!!

I downloaded the latest stable fuse (2.8.5 I thought it was) and did ./configure && make && make install && reboot

I've got a new device /dev/sda and I could mount it!!

Can someone explain why the device didn't show up at first?
 
  


Reply



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
no /dev/sd** device appears when I plug in a card to the laptop's card reader nass Slackware 12 10-16-2010 03:53 PM
[SOLVED] Raid device /dev/md2 not sustaining vinaytp Linux - Newbie 3 05-20-2010 02:04 AM
Areca ARC-1210 SATA RAID w/ FC5 anyone using it? GATTACA Linux - Hardware 1 10-31-2006 12:08 PM
Installing driver for Areca RAID Controller surv1v0r Linux - Hardware 2 10-04-2006 02:55 PM

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

All times are GMT -5. The time now is 07:30 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