Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 05-14-2009, 03:07 AM   #1
LQ Newbie
Registered: May 2009
Posts: 3

Rep: Reputation: 1
Question MD3 MD5 not mountable in mdadm.conf because they need --chunk=64?

(Just realized I posted in software instead of hardware. Could a mod please move this for me?)

I need to dual boot windows, and I'd rather not use fakeraid, so I set up 'Dynamic Disks' (Windows LDM). Since I know I can access Windows Partitions from linux (and not vice versa), I allocated most of my space to Windows. My master plan is to mount certain subdirectories under WinHome, like Videos, Pictures, Documents, etc. in my Linux ~ dir.

Now I'd like to know the best way to have the Windows arrays built and mounted on boot.

My first thought was to define the array in mdadm.conf and mount it in fstab.

In case you've never mounted an LDM array before here's a brief explanation:

I can access LDM arrays using mdadm almost like linux md arrays. Whereas I would manually assemble a normal array like this:

$ sudo mdadm --assemble /dev/md1 /dev/sda1 /dev/sdb1
... for windows LDM I need to do this:
$ sudo mdadm --build /dev/md5 --level=0 --raid-devices=2 --chunk=64 /dev/sda5 /dev/sdb5
I think part of the problem is that these arrays are not detected like the other ones...

$ sudo mdadm --examine --scan
ARRAY /dev/md1 level=raid0 num-devices=2 UUID=8ba27b73:30f46af6:6ecc3f5a:4d5e8e6f
ARRAY /dev/md2 level=raid0 num-devices=2 UUID=8f816ea9:4a2b888e:31083c3d:065e9ccc
ARRAY /dev/md3 level=raid0 num-devices=2 UUID=245f721f:5b6227f1:7fc28c5b:61afe93c
ARRAY /dev/md4 level=raid1 num-devices=2 UUID=936abe86:d6c1079f:5750b10f:c0a9e549
ARRAY /dev/md6 level=raid1 num-devices=2 UUID=8d853f66:7527ccfd:8dcab72e:69517e00
(notice no MD3 or md5)

... and while I can define a level and number of devices in mdadm.comf (as per the manpage), there is no way to define a chunk size.

So I guess mdadm.conf + fstab is not the way to go here. Is it?

What are the alternatives? Should I just stick the "mdadm --build"s and "ntfs-3g"s in a bootscript somewhere, or something along those lines?

Last edited by Furious_George; 05-14-2009 at 03:42 AM.
Old 07-16-2009, 12:49 AM   #2
LQ Newbie
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Hi, I'm trying to accomplish the same thing : automatically mount a Windows raid volume (dynamic disk) at boot-up. The mdadm command you suggested works fine, but I haven't found any way to configure mdadm.conf.

Did you end up creating a bootscript?


disks, dynamic, ldm, mdadm, mount, windows

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
rhel5 raid device cannot remove, no /etc/mdadm.conf file? hocheetiong Linux - Newbie 1 11-20-2007 06:08 AM
Phantom Entry when scanning with mdadm.conf jdavidow Linux - Software 1 10-16-2007 12:29 AM
Can't RaidStart /dev/md3 in Raid1 configuration during attempted rebuild. RamonetB Red Hat 0 04-16-2007 06:32 PM
mdadm.conf and RAID 1 on Ubuntu jcorrea920 Linux - Software 11 07-06-2006 03:14 PM
RAID - mdadm.conf keith ralph Linux - General 4 05-05-2006 09:10 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:12 AM.

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