LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 05-14-2009, 04:07 AM   #1
Furious_George
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:

Code:
$ sudo mdadm --assemble /dev/md1 /dev/sda1 /dev/sdb1
... for windows LDM I need to do this:
Code:
$ 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...

Code:
$ 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 04:42 AM.
 
Old 07-16-2009, 01:49 AM   #2
lavamind
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?
 
  


Reply

Tags
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 07:08 AM
Phantom Entry when scanning with mdadm.conf jdavidow Linux - Software 1 10-16-2007 01:29 AM
Can't RaidStart /dev/md3 in Raid1 configuration during attempted rebuild. RamonetB Red Hat 0 04-16-2007 07:32 PM
mdadm.conf and RAID 1 on Ubuntu jcorrea920 Linux - Software 11 07-06-2006 04:14 PM
RAID - mdadm.conf keith ralph Linux - General 4 05-05-2006 10:10 AM


All times are GMT -5. The time now is 08:53 AM.

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