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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-21-2017, 08:46 AM
|
#1
|
LQ Newbie
Registered: Mar 2017
Posts: 16
Rep:
|
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
|
|
|
06-21-2017, 09:45 AM
|
#2
|
Member
Registered: Feb 2013
Distribution: Fedora 25, RHEL7, RHCI stack
Posts: 38
Rep:
|
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.
|
|
|
06-21-2017, 10:19 AM
|
#3
|
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375
|
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
|
|
|
06-21-2017, 11:38 AM
|
#4
|
LQ Newbie
Registered: Mar 2017
Posts: 16
Original Poster
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 10:49 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|