LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 07-11-2007, 06:29 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 629

Rep: Reputation: 36
linear raid does not appear on start up.


hello everyone,
i am trying to setup a linear raid on 3 old IDE/ATA hard disks i had 'laying around'. one is 120GB and another 2 of 40GB each.

so i followed the instructions from the raid howto: http://tldp.org/HOWTO/Software-RAID-HOWTO-5.html#ss5.4

i put a new entry in /etc/raidtab file so now it looks as

Code:
nass@stargaze:~$ cat /etc/raidtab
raiddev /dev/md0
raid-level              5
nr-raid-disks           4
nr-spare-disks          0
persistent-superblock   1
parity-algorithm        left-symmetric
chunk-size              128
device                  /dev/sdb1
raid-disk               2
device                  /dev/sdc1
raid-disk               3
device                  /dev/sdd1
raid-disk               0
device                  /dev/sde1
raid-disk               1

raiddev /dev/md1
raid-level              linear
nr-raid-disks           3
persistent-superblock   1
chunk-size              128
device                  /dev/hde1
raid-disk               0
device                  /dev/hdg1
raid-disk               1
device                  /dev/hdh1
raid-disk               2
as you can see i have already a raid5 on some other drives and this raid5 works nicely during boot up.

now i set the hd[egh] type of the disks to 0xFD (linux raid autodetect) and generated a node /dev/md/1 with
Code:
mknod 1 b 9 1
and changed the attributes to be
ls -l /dev/md/1 -> 660 root disk
and finally i put a symlink of /dev/md/1 in /dev/md1

then i generated the linear raid array with mkraid /dev/md1.
at this point the array is running i verfied it with cat /proc/mdstat.

but when i reboot the /dev/md/1 node does not exist anymore, and the raid drives are not 'brought together'

Code:
root@stargaze:/dev/md# lsraid -p
[dev   9,   0] /dev/md0         A05127A7.6564DA58.72ED4934.882DCB97 online
[dev   8,  49] /dev/sdd1        A05127A7.6564DA58.72ED4934.882DCB97 good
[dev   8,  65] /dev/sde1        A05127A7.6564DA58.72ED4934.882DCB97 good
[dev   8,  17] /dev/sdb1        A05127A7.6564DA58.72ED4934.882DCB97 good
[dev   8,  33] /dev/sdc1        A05127A7.6564DA58.72ED4934.882DCB97 good

[dev  33,   1] /dev/hde1        676A8741.F692F5CE.31132577.8DAE2691 unbound
[dev  34,   1] /dev/hdg1        676A8741.F692F5CE.31132577.8DAE2691 unbound
[dev  34,  65] /dev/hdh1        676A8741.F692F5CE.31132577.8DAE2691 unbound
any idea why the raid does not start?
TIA
 
Old 07-11-2007, 09:12 AM   #2
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 629

Original Poster
Rep: Reputation: 36
could it have something to do that these are IDE disks? could they be handled differently compared to the SATA drives?...

the thing is at startup the node /dev/md/1 does not exist.. which basically means the system has not identified these raided drives...

is there a certain step i have to take thhat i haven't considered?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best configuration for dual boot RAID linear Maverick1182 Linux - Hardware 0 02-23-2007 07:40 AM
Linear RAID failing to automount at boot metamechanical Linux - General 10 10-29-2006 08:01 PM
Mounting linear-raid partition daniel_lidstrom Linux - Software 2 12-29-2004 05:04 AM
linear raid recovery beaucoup Linux - Software 0 02-27-2004 02:28 AM
software raid (linear) and moving disks TuxJay Linux - Software 0 08-27-2003 03:36 AM


All times are GMT -5. The time now is 06:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration