Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-19-2008, 11:28 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
problem in ISCSi and RAID not working properly

Dear all,

i create the md0 raid array and added 7 devices
mdadm --create /dev/md0 --raid-devices=7 /dev/sdb /dev/sdc dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh --chunk=8 --level=0

and i mount that in /scratch

upto this workfine

but when i restart the service i.e service iscsi restart

my dev folder show the diffrent naming connvention

i.e it show disk
like sdi sdg ... and so on

how it works can you tell me and any solution for that it give always same name.

and also i want that after rebooting the system md0 must be persiest
when reboot system after creating array it goes in file system repair promt and mount file system readonly and md0 not mounted.

i create mdadm.conf file but it not work for me it give error that is superblock not found

is any mistake in creating array please tell me

thanks and regards

Last edited by vaibhavp; 06-19-2008 at 11:31 AM.
Old 06-19-2008, 11:40 AM   #2
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
What OS?
You may want to consider using udev rules to make the iscsi devices persistently named. Or you may be able to call them by a unique attribute in /dev/.

for example:
 -- or --
instead of
the entries under /dev/disk/by-uuid/ and /dev/disk/by-id/ should be links to the correct device entry (/dev/sdb -- or whatever).

as for the fstab mount of md0, since it relies on networking (iscsi), you should ensure that the _netdev is used and you may want to consider changing the fs_passno field (6th field).

/dev/md0     /scratch    ext3     _netdev   0 2
 -- or --
/dev/md0     /scratch    ext3     _netdev   0 0
Hope this helps.


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
iscsi problem in rhel5 jindalarpan Linux - Enterprise 1 10-17-2009 05:35 AM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 03:02 AM
RAID 0 not properly recognized with dmraid on an Intel 82801GHM Uyanec Linux - Hardware 6 02-17-2008 01:40 PM
SATA RAID 0 (SiI3112A) not detected properly iostream Linux - Hardware 5 03-25-2005 07:20 PM
Soft-RAID won't work properly under RedHat 8.0 fishsponge Linux - Hardware 2 01-21-2005 07:54 AM

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration