- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- how to check hardware mirror in linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-11-2011 03:26 AM
тАО03-11-2011 03:26 AM
How to check whether my linux root disk is mirrored in hardware level?
is it possible to check it from console?
server model is BL460c G1
bsv104:/home/rootsad # uname -a
Linux bsv104 2.6.16.60-0.27-smp #1 SMP Mon Jul 28 12:55:32 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux
bsv104:/home/rootsad #
Thnx for your help
Rgds
Sree
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2011 04:06 AM
тАО03-11-2011 04:06 AM
Re: how to check hardware mirror in linux
Too bad you did not identify your Linux distribution.
If you're running one of the Linux distributions that is supported on your hardware by HP (mainly RedHat and SuSE), you can download the RPM for a command-line tool "hpacucli" from the standard driver download pages: http://www.hp.com/go/support
If you're running some other distribution, search the package collection of that distribution for hardware RAID configuration tools: it's possible your distribution has already packaged one of the available free tools and you'll only have to install the correct package.
This page has links to the source code of all known free SmartArray tools:
http://cciss.sourceforge.net/
Look near the bottom of the page, at the chapter titled "CCISS Utilities". I think the "array-info" would be the most suitable for seeing if a drive is mirrored or not. On the other hand, "cciss_vol_status" would be the most useful for writing a script to monitor your disks and to report to you when a disk has failed.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2011 08:47 AM
тАО03-11-2011 08:47 AM
Re: how to check hardware mirror in linux
Thanks for your reply.
hpacucli is already installen in my box.
iam not sure what is the option to check?
How to check whether software mirror is available?
Rgds
Sree
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2011 10:35 AM
тАО03-11-2011 10:35 AM
Re: how to check hardware mirror in linux
# hpacucli ctrl slot=1 array all show
You may query the mdadm RPM on a RHEL box:
# rpm -qa mdadm
mdadm-2.6.9-3.el5
mdadm is used to create, manage, and monitor Linux MD (software RAID) devices. mdadm is the de facto standard for Linux software RAIDs. Usually this is already installed.
To check, if there are already "multiple devices" software RAIDs active, you may check
# cat /proc/mdstat
If you use lvm, there is also a mirror mode that can be used as software RAID via device mapper.
It's usually not a good idea to stack software and hardware RAID together.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2011 03:30 AM
тАО03-21-2011 03:30 AM
Solutionthe answer is simple , on HP sever if you have hpacucli installed and if you think that you have root disk configured in hardware aray/raid or is attached to hardware controller , then you need to simply execute
fdisk -l
and look for first HDD that you think is the root disk e.g /dev/cciss/c0d0
and grep that in below cmd
hpacucli ctrl all show config detail
hpacucli ctrl all show config detail | grep -i /dev/cciss/c0d0
more than likely you should see the the array A had that HDD /dev/cciss/c0d0
now your array A may be configured as a logical drive with 2 separate physical disks and that's where you can look for the mirroring information , e.g logical drive 1 should should show something like
Logical Drive: 1
Size: 68.3 GB
Fault Tolerance: RAID 1
or
while as RIAD 1 is (mirroring without parity or striping)
Logical Drive: 1
Size: 838.1 GB
Fault Tolerance: RAID 1+0
while as RAID 1+0 = mirroring + stripping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-19-2014 11:12 PM
тАО11-19-2014 11:12 PM
Re: how to check hardware mirror in linux
Hi
we can check using below commands
cat /proc/drivers/cciss/c0d0X
Thanks