HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How can I know what RAID configured on my mach...
Operating System - Linux
1836433
Members
2454
Online
110100
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:14 AM
10-20-2005 08:14 AM
How can I know what RAID configured on my machine
I am not the one installed the box at the begining, how can I know what RAID configured on my machine? My box is IBM with Redhat ES3 on it. Is there an utility that I can run to check it when the machine running?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:22 AM
10-20-2005 08:22 AM
Re: How can I know what RAID configured on my machine
If you are using hardware RAID, you need to search in the IBM site a utility that configures the RAID, it will show the status also. Find it by your server model.
If you are using software RAID, just type:
cat /proc/mdstat
If you don't find the utility, you can calculate the RAID level, by knowing the total physical disks, and the available space for use at the OS level. You need at least 2 disks for a mirror and 3 for a RAID 5. Use fdisk -l to show the disk size:
RAID5: Usable size: N disks - 1 disk
RAID1: N disks / 2
RAID0: Sum of all disks
Spare: 1 disk unused.
If you are using software RAID, just type:
cat /proc/mdstat
If you don't find the utility, you can calculate the RAID level, by knowing the total physical disks, and the available space for use at the OS level. You need at least 2 disks for a mirror and 3 for a RAID 5. Use fdisk -l to show the disk size:
RAID5: Usable size: N disks - 1 disk
RAID1: N disks / 2
RAID0: Sum of all disks
Spare: 1 disk unused.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 08:36 AM
10-20-2005 08:36 AM
Re: How can I know what RAID configured on my machine
the /proc/mdstat shows:
# more mdstat
Personalities :
read_ahead not set
Event: 0
unused devices:
They told me that the machine has been configured with RAID 5, so I suppose to see Raid 5 in Personalities field. However, nothing shows here. I also could not find /etc/raidtab file. Besides that, I found
# mdadm --query /dev/md0
/dev/md0: is an md device which is not active
/dev/md0: is too small to be an md component.
root@fwcl7:/proc
# mdadm --detail /dev/md0
mdadm: md device /dev/md0 does not appear to be active.
I followed your advice to check the disk capacity (fdisk -l), and look like it is RAID 5 since we have 6 disks with 73G/disk and total shows 293.6 g ~ 6disks - 1disk for RAID 5 - 1 spare disk. I am confused now.
# more mdstat
Personalities :
read_ahead not set
Event: 0
unused devices:
They told me that the machine has been configured with RAID 5, so I suppose to see Raid 5 in Personalities field. However, nothing shows here. I also could not find /etc/raidtab file. Besides that, I found
# mdadm --query /dev/md0
/dev/md0: is an md device which is not active
/dev/md0: is too small to be an md component.
root@fwcl7:/proc
# mdadm --detail /dev/md0
mdadm: md device /dev/md0 does not appear to be active.
I followed your advice to check the disk capacity (fdisk -l), and look like it is RAID 5 since we have 6 disks with 73G/disk and total shows 293.6 g ~ 6disks - 1disk for RAID 5 - 1 spare disk. I am confused now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2005 09:17 AM
10-20-2005 09:17 AM
Re: How can I know what RAID configured on my machine
You are using a hardware raid, not a software raid. Only if you have software raid you will see the status in /proc/mdstat. And, as you have a hardware RAID, you need a tool from the IBM site to verify/configure the array.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP