LinuxQuestions.org
Visit Jeremy's Blog.
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-12-2016, 10:39 AM   #1
km4hr
Member
 
Registered: Aug 2003
Posts: 39

Rep: Reputation: 15
How to mount HP RAID volume on Linux


Is it possible to mount HP RAID volumes on Linux? I have a Compaq Elite 8100, running Windows 7, that won't boot (BOOTMGR missing). The drives are physically OK. I want to use a Linux live CD (or rescue DVD) to copy files from the RAID volume but I don't know how to mount it. Is it possible?

Last edited by km4hr; 09-12-2016 at 11:25 AM.
 
Old 09-12-2016, 02:31 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
What does parted or fdisk show for the partitions of the drives?

Installing ntfs-3g package which allows to mount Windows ntfs filesystems.

You don't say which Linux distro or version thereof you're running. I recently was able to recover files from a Windows 7 laptop's hard drive by installing this package (and ntfs-progs) on my RHEL7 workstation. Depending on how old it is you might need to install fuse packages.

If you do a web search you'll find information on these.
 
Old 09-12-2016, 04:23 PM   #3
km4hr
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
Hello Mensa,

I have not tried parted or fdisk. I don't know how to use these utilities. But I'll investigate and see what I can do. If you can specify a command then I'll be happy to report the results.

The version of Linux I'm using is Linux Mint 14.1. I'm using the live CD version. I don't want to install Mint on the computer. I just want to use it to extract desperately needed files.

The two hard drives are configured in a RAID array (mirror). I think it's a hardware RAID, but I'm not sure.
This link describes the RAID system.

I thought (hoped) that a hardware RAID array would look like an ordinary drive to the OS. That way it would mount like a single ordinary drive. But Mint cannot mount this RAID array. (I tried this exercise on a Win7 PC without RAID. Mint mounts the drive automatically). The /dev folder shows /dev/sda and /dev/sdb, not /dev/sda1 or /dev/sdb1 as I expected. When I try to mount /dev/sda or /dev/sdb a message pops up that indicates they can't be mounted. Do RAID arrays show up as some other type of device in /dev?

Thanks for your time and consideration.
 
Old 09-12-2016, 04:40 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
dmraid howto
 
Old 09-13-2016, 07:27 AM   #5
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
Generally speaking when using hardware RAID (vs software RAID) your OS will only see the RAID sets or LUNs you've created as opposed to the physical drives that comprise them.

Examples:
If you had an internal RAID controller such as an Avago/LSI/PERC with 8 drives managed and had configured 2 drives as a RAID 1 (Mirror) and the remaining 6 drives as RAID 5 your OS would see only 2 drives - one for each RAID set - it would not see all 8 drives.

If you have an external Disk Array presenting 5 LUNs that came from 3 different RAID sets and/or pools your OS would see 5 drives regardless of how many drives comprised each of those RAID sets/pools. (Disk Array topologies can vary wildly - some are simple like the Dell MD1220 so it is just presenting RAID sets but others are more sophisticated like the Hitachi VSP which builds pools out of multiple RAID sets then allows you to subdivide the pools into many LUNS.)

Now that you've let us know you're using a LIVE CD though it may be that doesn't have the drivers built into it to see your RAID devices. For the Avago/LSI/PERC you need the MegaRaid or MegaSAS driver. For disk arrays you might need a specific driver (e.g. the one for Qlogic fiber HBA). Some of these drivers are built into the base kernel these days but I don't know what choices Mint might have made for its live CD.

So first do "ls -l /dev/hd*" and "ls -l /dev/sd*" to see what is there. I'd expect the devices to show up as /dev/sd* but some older things are /dev/hd*. In the /dev/sd* naming the letters are the drives and the numbers are partitions on those drives e.g.
/dev/sdg = 7th drive found
/dev/sdg1 = First partition on 7th drive
/dev/sdg2 = Second partition on 7th drive

For any "drive" found you can run "parted /dev/sd<letter> print" to see its partition table. (fdisk -l /dev/sd<letter> also works.)

Last edited by MensaWater; 09-13-2016 at 09:49 AM.
 
Old 09-13-2016, 07:31 AM   #6
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:
Originally Posted by Emerson View Post
Unlikely to help the OP - he has already said the drive was originally used on a Windows system so it is unlikely to have been configured with dmraid. The implication from what he has posted so far suggests it may be hardware RAID rather than software RAID.

I haven't done software RAID in Windows but apparently it is available:
http://www.howtogeek.com/howto/36504...-in-windows-7/
 
Old 09-13-2016, 07:39 AM   #7
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
This hardware RAID must be an addon card then, I do not think the model mentioned has factory hardware RAID.
 
Old 09-13-2016, 10:07 AM   #8
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
This document suggests the RAID configuration can be done via the internal eSATA controller for this model:
http://h20565.www2.hp.com/hpsc/doc/p...r_na-c02034672

Looking at drivers HP provides they are all for Windows so there may not be one for Linux. But then again it may just see whatever the eSATA provides. There is probably a way to interact with the eSATA setup during boot either via system BIOS or a separate BIOS seen in POST. I don't have this model so can't tell.
 
Old 09-13-2016, 02:24 PM   #9
km4hr
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
I read somewhere that Knoppix has RAID software built in. So I downloaded latest version and installed it. Results seem encouraging, but still no cigar!

Running Knoppix I now see drives (partitions?) listed in the file manager (PCManFM). When I click on any of them I get this message:
ntfs-3g-mount : mount failed : Device or resource busy

In /dev I now see devices like /dev/sda[1-15]. With Mint I only saw /dev/sda and /dev/sba (no numbers on the end).

"mount" returns this:
/dev/mapper/isw_cebccdbgcc_RAIDVOL1 on \media\knoppix\SYSTEM\ type fuseblk (... a long list of parameters ... )
/dev/mapper/isw_cebccdbgcc_RAIDVOL2 on \media\knoppix\SYSTEM\ type fuseblk (... a long list of parameters ... )

"dmraid -ay" returns this:
RAID set "iws_cebcedbgcc_RAIDVOL" already active
RAID set "iws_cebcedbgcc_RAIDVOL1" already active
RAID set "iws_cebcedbgcc_RAIDVOL2" already active
RAID set "iws_cebcedbgcc_RAIDVOL3" already active

Does any of this mean anything to anyone? I'm relieved to see a MENSA guy thinking about this.
 
Old 09-14-2016, 07:25 AM   #10
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
What is in \media\knoppix\SYSTEM? (or /media/knoppix/SYSTEM?)

What does df show?
 
Old 09-14-2016, 07:43 AM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Better - what does "df -hT" show ?. Cut-and-paste the answer, don't type it (even a photo)
 
Old 09-16-2016, 08:28 PM   #12
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
If your windows installation won't boot but is otherwise undamaged there may be other ways to boot it. The Super Grub 2 rescue disk can boot almost any operating system including up to windows 8.1. People use this disk with Windows 7 BOOTMGR missing situations.

>> I thought (hoped) that a hardware RAID array would look like an ordinary drive to the OS. That way it would mount like a single ordinary drive.

This is the case for true 100% hardware RAID which costs $200+ for PCI cards. What you likely have is what is termed 'fakeRAID' especially if it is built into your motherboard.
 
Old 09-19-2016, 10:41 PM   #13
km4hr
Member
 
Registered: Aug 2003
Posts: 39

Original Poster
Rep: Reputation: 15
This is not an advertisement but a product called r-tools saved the day when all other tools we tried indicated the data was gone including Knoppix, SystemRescueCD, and another commercial product (I don't recall the name). YMMV.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to mount a RAID 1 volume (CentOS) ZZII Linux - Newbie 3 07-06-2016 09:48 PM
WD MyBook Live Duo - Raid 0 fails to mount data volume (can't find superblocks) gilsonsjc Linux - Hardware 3 06-08-2014 04:17 PM
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
NTFS signature is missing, trying to mount RAID-5 volume ofuser Linux - Hardware 4 10-15-2010 02:21 AM
Unable to mount additional harddrive from a RAID volume system. andrei_r20 Linux - Server 3 04-10-2010 02:04 AM

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

All times are GMT -5. The time now is 08:58 PM.

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