LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-13-2007, 04:08 PM   #1
Hosferatu
Member
 
Registered: Sep 2007
Posts: 32

Rep: Reputation: 15
RHEL5 doesn't treat infortrend SCSI disk array as block device


my setup:
IBM x3550 server running RedHat Enterprise 5 kernel 2.6.18-8.1.8.el5xen
2x Infortrend A16U-G2421-1 SCSI to SATA storage units
16x seagate 400GB 7200rpm SATA drives in each unit
Adaptec 39320a-r SCSI card

When i tried separating the arrays into 3 ~1.8TB drives, linux didn't seem to treat these drives as block devices. When i try to do anything with them including mount them i get an error saying that they aren't block devices. All 3 drives were listed as /dev/sda sdb sdc but none of them were usable. After a few days of banging my head against a wall and googling I got fed up and decided that i would like to just make each storage unit one big drive of about 5TB anyways.

From what i can tell RHEL5, the scsi card, and the storage units are all capable of this. So after reconfiguring the storage units to raid 6+ a spare drive i got a single drive of 4.8TB on each unit. However the scsi bios now shows this drive as 0MB. The drive still shows up in /dev as sda, but still isn't accessible. I don't currently have the second unit connected.

I'm looking for suggestions on where to start trying to get this working as i am fairly new to linux.

Here is the output of dmesg | grep scsi
scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 3.0
scsi0:A:1:0: Tagged Queuing enabled. Depth 4
sd 0:0:1:0: Attached scsi disk sda
scsi1 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 3.0
scsi2 : ahci
scsi3 : ahci
scsi4 : ahci
scsi5 : ahci
scsi6 : ahci
scsi7 : ahci
sd 2:0:0:0: Attached scsi disk sdb
sd 4:0:0:0: Attached scsi disk sdc
sd 0:0:1:0: Attached scsi generic sg0 type 0
sd 2:0:0:0: Attached scsi generic sg1 type 0
sd 4:0:0:0: Attached scsi generic sg2 type 0

and cat /proc/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: IFT Model: A16U-G2421-1 Rev: 347B
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: WDC WD1600JS-23M Rev: 03.0
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: WDC WD1600JS-23M Rev: 03.0
Type: Direct-Access ANSI SCSI revision: 05


I also have a related question for anyone who has used one of these storage units before. I swapped out a drive that was listed as not being there, and the new drive has the same issue. Out of curiosity (and because the unit wasn't setup yet so i didn't see any harm) i swapped the new drive with the drive above it, now they both are listed as not being there. After restarting the units controller i have the same issue. How do i make the thing detect the drives again?

Last edited by Hosferatu; 09-13-2007 at 04:22 PM.
 
Old 09-15-2007, 01:54 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Looks similar to a couple arrays I have..
since you've configured the array, have you created any partitions on it or file systems on those partitions ?
fdisk -l should show the partitions and file systems on all connected drives.

If you go into the management software for the array, (or possibly through a direct console connection to the array) what status does it show on those specific drives that are off-line ? you may need to select those drives and make them available again to the pool for use it the array. Boy that's a really bad explanation, but when you look at the array manager you should see what I'm referring to.

man fdisk
man mkfs
man mkfs.ext3


once partitions and file systems are created they would be mounted as..
/dev/sda1
/dev/sdb1
/dev/sdc1

or are you getting some specific of error when you do fdisk /dev/sda ? if so what is the exact error message ?

Last edited by farslayer; 09-15-2007 at 01:57 AM.
 
Old 09-24-2007, 03:25 PM   #3
Hosferatu
Member
 
Registered: Sep 2007
Posts: 32

Original Poster
Rep: Reputation: 15
I fiddled with the scsi card settings and resolved a resource error. I can now access /dev/sda without an error.

as i understand it fdisk can't handle large partitions, but here is the new output of fdisk -l:
Quote:
Disk /dev/sda: 2199.0 GB, 2199023255552 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee EFI GPT
and parted -l:
Quote:
Model: IFT A16U-G2421-1 (scsi)
Disk /dev/sda: 2199GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
It is still reporting the size as 2.199TB. But it should be 4.8TB according to the drive tray. Parted let me create a label, and will let me partition it, but without the proper drive size there isn't much point to setting up partitions.

Edit:
It seems the problem is the sector size. with 512 the largest size i can address is 512b * 0xFFFFFFFF = 2.199TB. I'll try to change that and hopefully it will solve my problem.

Last edited by Hosferatu; 09-24-2007 at 03:46 PM.
 
Old 09-24-2007, 10:08 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Looks like you hit the nail on the head for the sector size issue...

http://www.maxtronic.com/ftp/manuals/2tb.pdf
 
  


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
Can Intel SCSI RAID controller See Existing Disk Array in another Server? Runge_Kutta Linux - Server 3 08-18-2007 04:04 PM
How can I add new device(disk or partition) into a raid0 array xqkp77 Linux - Hardware 0 06-18-2007 01:37 AM
Linking a file on disk to a fake block device? fyhuang Linux - Software 2 10-31-2005 07:23 AM
Fedora Core 1 SCSI CD-ROM Won't Mount (always get "is not a valid block device") jerrykuch Linux - Hardware 2 04-18-2004 01:02 PM
Setting up a SCSI Storage Array as a mounted disk scottpioso Linux - Hardware 2 04-18-2003 09:47 AM

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

All times are GMT -5. The time now is 04:34 AM.

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