LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2014, 04:49 PM   #1
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Rep: Reputation: 30
Install Slackware 14.1 on existing RAID-0 configuration


Hi everyone,

I recently bought an Asus UX32VD-R4045P, which comes with two SDD drives in a BIOS RAID-0 configuration, with several partitions (EFI boot, Windows OS, Windows data -- where I meant to install Slackware --, Windows recovery, and maybe another one or two). I'm struggling to understand how to make the Slackware installer "see" its ideal installation partition.

There are a few things I don't understand, and I hope someone can give a hand

1) Is the installer supposed to detect the RAID-0 configuration? If so, which device files does it create? I couldn't find any /dev/md* or /dev/dm*.

2) "cgdisk /dev/sda" is able to see the logical partitions, but it warns me about several errors on the expected disk/partition sizes. I suppose this is because it does not consider the RAID-0 configuration, right? But then, how does it see the logical partitions without detecting the RAID-0?

3) Assuming I manage to actually install Slackware on the partition I mean to, am I going to be able to boot it without an out-of-RAID partition? I understood that it is the kernel which recognizes the RAID, so without loading the kernel I can't see the RAID, and without seeing the RAID I suppose I can't load the kernel, which seems quite a problem to me

Thanks everyone for your help!
 
Old 02-08-2014, 07:32 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
BIOS RAID will not show up as /dev/md?. It will show up as a single SCSI drive (/dev/sda in your case).

The RAID controller is handling all the RAID stuff. The BIOS will simply show a unified drive to any OS that asks.


Emerson in the following post is correct; it's very unlikely that a notebook will have hardware RAID. Read his link.

Last edited by Richard Cranium; 02-09-2014 at 04:34 AM. Reason: I'm wrong.
 
Old 02-08-2014, 09:34 PM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675

Rep: Reputation: Disabled
BIOS RAID is generally considered as fake, drives will show up as separate in Linux. Read more here.
 
Old 02-09-2014, 04:43 AM   #4
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Thanks guys.

Here is what I see from the slackware installer (I'm copying by hand, so I'm trying to skip non-essential parts):


Code:
gdisk -l /dev/sda

Warning! Disk size is smaller than the main header indicates! [...]
Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: damaged

Disk /dev/sda: 119.2 GiB
[...]
Number 1     300.0 MiB     EF00     EFI System partition
Number 2     900.0 MiB     2700     Basic data partition
Number 3     128.0 MiB     0C01     Microsoft reserved partition
Number 4     92.0 GiB      0700     Basic data partition (Windows OS)
Number 5     116.7 GiB     0700     Basic data partition (where I mean to put Slackware)
Number 6     20.0 GiB      2700     Basic data partition
So, the installer recognizes how the RAID-0 setup is partitioned, but it read /dev/sda as having the size of a single physical disk (I have two disks of 128 GB each), so it thinks that the partitioning can't fit the physical space (I guess).

If I check /dev/sdb, it simply finds no partition tables, and sees the disk as having 119.2 GiB (i.e., the physical disk).

So, it seems that the kernel is able to read the RAID-0 configuration only partially: it reads the logical partitions, but still sees the physical hard drives only.

As a side note, if I go to /dev/disk/by-id, I get 4 entries (excluding the cd reader):
Code:
ata-SanDisk_SDXXX... -> /dev/sdb
ata-SanDisk_SDYYY... -> /dev/sda
wwn-0x500ZZZ... -> /dev/sdb
wwn-0x500WWW... -> /dev/sda
If I try to mount them, I get an "unknown filesystem type 'isw_raid_member'" error.

Also, I confirm that there's no /dev/md* or /dev/dm* device.

Thanks again!
 
Old 02-09-2014, 05:00 AM   #5
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
According to https://wiki.archlinux.org/index.php...with_Fake_RAID , it seems that the devices should appear in /dev/mapper, but I have only a "control" file there. They suggest so make sure the chipset module is loaded, so I'm going to try loading all modules I can find
 
Old 02-09-2014, 11:20 AM   #6
simopal6
Member
 
Registered: Jun 2006
Location: Italy
Distribution: Slackware 13.1
Posts: 230

Original Poster
Rep: Reputation: 30
Well, I couldn't find any missing module... I'm starting to think my only way will be formatting everything and disable BIOS RAID.
 
Old 02-10-2014, 11:29 AM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
What does "mdadm --examine /dev/sda" tell you?

It appears that mdadm might be able to support some fake raid formats. See http://www.spinics.net/lists/raid/msg44583.html
 
Old 02-10-2014, 01:03 PM   #8
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,859
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
dmraid is usually the tool for fakeraid; once the raid0 is activated, the Windows software raid, aka Dynamic disks, can be read by mdadm if support is compiled into the kernel. (I'm not sure whether it's possible as a module). But you're probably better off starting from scratch.
 
  


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
Windows Raid-O install Virtualbox, will slackware install raid-o without raid driver? slkrover Slackware 1 03-01-2011 01:50 AM
Fresh install of Linux - Want to keep existing RAID array hd1080 Linux - Software 5 04-12-2010 04:19 PM
Install Fedora7 on existing NTFS Raid-0 Windows array evilkorn Linux - Newbie 1 06-28-2007 08:38 AM
Migtrating existing Debian install to RAID 1 Child of Wonder Debian 1 09-11-2006 10:04 PM
Install Linux on existing RAID stripe partition arsham Linux - Newbie 3 05-05-2005 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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