LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-07-2006, 02:29 PM   #1
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Rep: Reputation: 15
How to determine RAID / drive configuration on a RedHat ES3 box?


First I did not set this machine up and all I have is SSH access to it so I cannot reboot the box and go into the SCSI BIOS.

The machine is a Tivoli SM server with 600 gig backup space.

What I need to be able to determine is if this machine has 1 or 2 RAID arrays and if there are 2 which mount points belong to which RAID. Basically I am hoping that the /bkups mount point is on a seperate RAID array and that the OS is on another. Why? We need to do a fresh install of Red Hat 4 for this box but we must be prepared to be able to revert back if necessary as this has to run every night.

So can you determine what I need to know without going into the SCSI BIOS and by using what I have supplied? Anybody know how I can find out what I need to know if what I have shown is insufficient?

Thanks!

Below is output from various commands (trimmed down)

lspci shows me a dual channel SCSI Ultra 160 controller card
..
09:04.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
09:04.1 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
..

df -h shows me:

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 1012M 511M 450M 54% /
/dev/sda3 99M 37M 57M 40% /boot
none 501M 0 501M 0% /dev/shm
/dev/sda8 4.8G 33M 4.5G 1% /tmp
/dev/sda9 39G 2.4G 35G 7% /usr
/dev/sda7 4.7G 146M 4.3G 4% /var
/dev/sda2 30G 181M 28G 1% /home
/dev/sda10 592G 559G 2.9G 100% /bkups


/etc/fstab shows me:
[root@Tivoli_sm tmp]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/tmp /tmp ext3 defaults 1 2
LABEL=/usr /usr ext3 defaults 1 2
LABEL=/var /var ext3 defaults 1 2
/dev/sda6 swap swap defaults 0 0
LABEL=/home-11332 /home ext3 defaults 1 2
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sda10 /bkups ext3 defaults 1 2


/proc/scsi/scsi shows me:

Attached devices:
Host: scsi1 Channel: 00 Id: 04 Lun: 00
Vendor: HP Model: Ultrium 2-SCSI Rev: S24H
Type: Sequential-Access ANSI SCSI revision: 03


Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD 0 RAID5 699G Rev: 513O
Type: Direct-Access ANSI SCSI revision: 02


Host: scsi2 Channel: 04 Id: 06 Lun: 00
Vendor: PE/PV Model: 1x6 SCSI BP Rev: 1.0
Type: Processor ANSI SCSI revision: 02


Host: scsi3 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: RW/DVD GCC-4243N Rev: A102
Type: CD-ROM ANSI SCSI revision: 02

Host: scsi1 Channel: 00 Id: 06 Lun: 00
Vendor: OVERLAND Model: LXB Rev: 0107
Type: Medium Changer ANSI SCSI revision: 02


dmesg shows me:

...
SCSI subsystem driver Revision: 1.00
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 3960D Ultra160 SCSI adapter>
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.36
<Adaptec 3960D Ultra160 SCSI adapter>
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs

blk: queue f7fcea18, I/O limit 4095Mb (mask 0xffffffff)
(scsi1:A:4): 160.000MB/s transfers (80.000MHz DT, offset 64, 16bit)
(scsi1:A:6): 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
Vendor: HP Model: Ultrium 2-SCSI Rev: S24H
Type: Sequential-Access ANSI SCSI revision: 03
blk: queue f7fce818, I/O limit 4095Mb (mask 0xffffffff)
Vendor: OVERLAND Model: LXB Rev: 0107
Type: Medium Changer ANSI SCSI revision: 02
blk: queue f7fcf818, I/O limit 4095Mb (mask 0xffffffff)
megaraid: v2.10.10.1 (Release Date: Thu Jan 27 16:19:44 EDT 2005)
megaraid: found 0x1028:0x0013:bus 2:slot 14:func 0
scsi2:Found MegaRAID controller at 0xf886d000, IRQ:38
megaraid: [513O:H418] detected 1 logical drives.
megaraid: supports extended CDBs.
megaraid: channel[0] is raid.
megaraid: channel[1] is scsi.
scsi2 : LSI Logic MegaRAID 513O 254 commands 16 targs 5 chans 7 luns
scsi2: scanning scsi channel 0 for logical drives.
Vendor: MegaRAID Model: LD 0 RAID5 699G Rev: 513O
Type: Direct-Access ANSI SCSI revision: 02
blk: queue f7fd5018, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
scsi2: scanning scsi channel 1 for logical drives.
scsi2: scanning scsi channel 2 for logical drives.
scsi2: scanning scsi channel 3 for logical drives.
scsi2: scanning scsi channel 4 [P0] for physical devices.
Vendor: PE/PV Model: 1x6 SCSI BP Rev: 1.0
Type: Processor ANSI SCSI revision: 02
blk: queue f7fd5218, I/O limit 4294967295Mb (mask 0xffffffffffffffff)
scsi2: scanning scsi channel 5 [P1] for physical devices.
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
SCSI device sda: 1432576000 512-byte hdwr sectors (733479 MB)
Partition check:
sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 >
Adaptec aacraid driver (1.1-5[2412])
...

thanks again

Doug
 
Old 09-07-2006, 03:18 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Quote:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: MegaRAID Model: LD 0 RAID5 699G Rev: 513O
Type: Direct-Access ANSI SCSI revision: 02
Shows you have RAID5 device of 699 G.

Your df -h shows all your mounts are on /dev/sda?? which means they're all patitions of a single device (/dev/sda). It is likely this is the MegaRAID.

You can run "kudzu -p" and look for MegaRAID in its output and it will show you which device (sda for example) it is.

You can run "fdisk -l /dev/sda" to see how it is partitioned.

The Ultrium you see in your output is a tape drive. The item labeled as CD is that. Not sure what the PE/PV thing is but as noted above it doesn't sound like you're using more than one device for mounts so unfortunately you don't appear to have two different RAID sets in use.
 
Old 09-07-2006, 03:31 PM   #3
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Original Poster
Rep: Reputation: 15
Thanks for your response. When I saw

sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 >

In dmesg I assumed it was 1 RAID but I did not know what the significance of the "<" and ">" were around sd15 and sd110.

Well this makes my upgrade plans a bit more dificult.

thanks again for the assistance!

Doug
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LAN goes off in RedHat ES3 somdev Linux - Hardware 7 08-12-2006 09:22 AM
Software RAID 5 configuration in Redhat arunabh_biswas Linux - Software 2 07-29-2006 04:51 AM
Questions installing HPT 374 RAID in RedHat ES3 Landy Linux - Hardware 0 06-27-2005 09:04 PM
Red Hat ES3, kernel panic on Dell raid controller wayloud Linux - Hardware 1 09-23-2004 06:43 AM
RedHat with RAID drive albertmm Red Hat 2 08-06-2004 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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