LinuxQuestions.org
Review your favorite Linux distribution.
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
  Search this Thread
Old 06-21-2017, 08:46 AM   #1
Bassit
LQ Newbie
 
Registered: Mar 2017
Posts: 16

Rep: Reputation: Disabled
A raid question.


Hi, i am fairly new to linux and can mainly find the answers i need by googling but i have no idea with setting up raid.

Can anyone tell me what raid is installed just by looking at the output below?.

I thought i had setup raid 0, but i have the feeling the below is raid 1.

sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL

NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 2.7T
├─sda1 1M
├─sda2 ext4 2.7T /
└─sda3 swap 15.7G [SWAP]
sdb 2.7T
├─sdb1 linux_raid_member 8G rescue:0
├─sdb2 linux_raid_member 512M rescue:1
├─sdb3 linux_raid_member 1T rescue:2
├─sdb4 linux_raid_member 1.7T rescue:3
└─sdb5 1M
 
Old 06-21-2017, 09:45 AM   #2
Demosa
Member
 
Registered: Feb 2013
Distribution: Fedora 25, RHEL7, RHCI stack
Posts: 38

Rep: Reputation: Disabled
I'd be leaning towards 0, but just to check that all the information is available:

We can identify if there is a hardware RAID controller, by running "lspci -vv | grep -i raid" to find the controller.

The commands to work with each raid controller are different, unfortunately, so we would need to know the results.

But if this is a software raid, install 'mdadm' (using whatever distribution package installation method you have, it's in most of them). This utility will give you the tools to work with software RAID.
 
Old 06-21-2017, 10:19 AM   #3
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Looks like a failed attempt to set-up a software RAID on sdb, sda has no software raid, hardware raid and embedded RAID are unlikely to be presented directly and would require the specific tools/utilities of the storage controller to see.

As you can see in the below, the system does not see that there is in fact RAID and searching for raid doesn't even yield the storage controller which in this case is an LSI Storage Controller that is running in RAID 10. This is because this is a hardware RAID and not software.

Code:
$ lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME               FSTYPE       SIZE MOUNTPOINT LABEL
fd0                               4K
sda                             1.8T
├─sda1             xfs            1G /boot
└─sda2             LVM2_member  1.8T
  ├─centos-root    xfs           50G /
  ├─centos-swap    swap          24G [SWAP]
  ├─centos-var     xfs           25G /var
  └─centos-Virtual xfs          1.7T /virtual
$ lspci -vv | grep -i raid
$ lspci -vv | grep -i lsi
01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1064ET PCI-Express Fusion-MPT SAS (rev 08)
        Subsystem: LSI Logic / Symbios Logic Device 3090
 
Old 06-21-2017, 11:38 AM   #4
Bassit
LQ Newbie
 
Registered: Mar 2017
Posts: 16

Original Poster
Rep: Reputation: Disabled
Thanks for the reply guys.

I should of mentioned this is a software raid, i also should of mentioned raid 0 or no raid is fine with me.
It was the rescue part that threw me.

Tbh all i want is access to sdb to use as storage, preferably on my desktop, i am using xfce, would this still be possible?
 
  


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
RAID question. valls Linux - Newbie 2 03-28-2009 05:50 AM
software raid 10 (yes, another raid question) aunquarra Linux - Server 3 06-15-2007 05:28 PM
to Raid, or not to Raid - that is the question. compgeek50 Linux - Hardware 2 05-16-2007 02:44 PM
RAID Question cootetom Linux - Hardware 2 02-16-2005 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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