LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 09-15-2004, 05:11 PM   #1
hrock
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
How many drives do I have? What is my RAID configuration?


Hi,

I don't have physical access to this box, but was told it was RAID 5 with with multiple SCSI drives.

How can I tell how many hard drives there are and what partition is mounted on which drive?

Here is the the output but I don't know any other commands that would help me figure out how many drives, the raid configuration, etc.

Thanks.


[me@www /me]# df -Th
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda7 ext2 509M 338M 145M 70% /
/dev/sda3 ext2 23M 18M 4.4M 80% /boot
/dev/sda9 ext2 68M 408k 64M 1% /tmp
/dev/sda5 ext2 2.7G 2.1G 556M 79% /usr
/dev/sda6 ext2 27G 8.4G 16G 34% /var
/dev/sda2 ext2 3.0G 1.1G 1.7G 38% /home
 
Old 09-15-2004, 05:31 PM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
If you don't have physical access to the machine, the big question is why do you need to know?

But anyway, if the drives are in a RAID5 configuration (which is likely done via actual hardware, so would be transparent to the system), then the data for all partitions is spread across all the drives, along with some redundancy so the system will still work if any single drive fails.
 
Old 09-15-2004, 09:13 PM   #3
hrock
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
This is the output from proc/devices

Block devices:
1 ramdisk
2 fd
8 sd
9 md
11 sr
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd

does "sd" mean scsci device?

Does that mean I have 9 disk drives?
 
Old 09-16-2004, 01:38 PM   #4
jonthelam
Member
 
Registered: Jul 2004
Location: Southern California
Distribution: Slackware 10
Posts: 61

Rep: Reputation: 16
Re: How many drives do I have? What is my RAID configuration?

Like what CroMagnon said, the drives are transparent. You won't be able to see it unless you boot into the configuration at the BIOS. At least I can't think of any way other ways.
 
Old 09-16-2004, 01:48 PM   #5
Cort
LQ Newbie
 
Registered: Sep 2004
Location: Missouri
Distribution: Red Hat Enterprise 9.0
Posts: 11

Rep: Reputation: 0
You might try the "fdisk -l" command.

Also

hd = IDE disks
hda = partition 1
hdb = partition 2
hdc = partition 3
partitions = a-h

sd = SCSI disks
partitions = a-p

ed = ESDI disk
partitions = a-d

I hope this helps!

Last edited by Cort; 09-16-2004 at 01:53 PM.
 
Old 09-18-2004, 01:12 AM   #6
hrock
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the replies but there has to be a way to check the number of drives in the raid config.

cat /proc/scsi/scsi tells me i am running a percraid 5 card

But how many drives in the array?

Thanks.
 
Old 09-18-2004, 08:00 AM   #7
Cort
LQ Newbie
 
Registered: Sep 2004
Location: Missouri
Distribution: Red Hat Enterprise 9.0
Posts: 11

Rep: Reputation: 0
How about in the /etc/raidtab

This file could possibly list the number of disks per raid.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding additional drives/resizing drives in RAID arrays kheldar Linux - Hardware 1 10-19-2005 01:21 PM
RAID, hard drives, etc mrmike Linux - Newbie 0 10-09-2004 04:08 PM
Upgrading hard drives on Software raid 1 boot drives. linuxboy123 Linux - General 0 12-11-2003 03:28 PM
Automounting Raid drives voldermort Linux - Newbie 3 10-02-2003 09:52 AM
raid on 2 different drives ronss Linux - Hardware 2 08-24-2002 07:27 AM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration