linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* auto start raid0 with no superblock?
@ 2009-08-04 20:44 Thomas Fjellstrom
  2009-08-04 22:35 ` NeilBrown
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Fjellstrom @ 2009-08-04 20:44 UTC (permalink / raw)
  To: linux-raid

I'm testing out accessing a "Windows DynamicDisk Raid0" array under linux, and 
for the most part it works very well. My only problem is mdadm will not auto 
start the array even when I have it setup in mdadm.conf (mdadm is told to auto 
start all arrays found there). Basically I have to manually run "mdadm --build 
/dev/md0 --chunk=64 --level=raid0 --raid-devices=4 /dev/sdc1 /dev/sdd1 
/dev/sde1 /dev/sdf1" then "mount /mnt/winraid" when I want to access the 
filesystem (using ntfs-3g if anyone was wondering).

All I get from mdadm/syslog is this:
Aug  4 02:43:10 natasha kernel: [    7.862373] md: md0 stopped.                                                                                                                           
Aug  4 02:43:18 natasha mdadm[3597]: DeviceDisappeared event detected on md 
device /dev/md0

The reason I'm trying to use non persistent superblocks is I'm assuming trying 
to save them will damage the windows DynamicDisk metadata in some way.

-- 
Thomas Fjellstrom
tfjellstrom@shaw.ca

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: auto start raid0 with no superblock?
  2009-08-04 20:44 auto start raid0 with no superblock? Thomas Fjellstrom
@ 2009-08-04 22:35 ` NeilBrown
  2009-08-04 23:25   ` John Robinson
  0 siblings, 1 reply; 3+ messages in thread
From: NeilBrown @ 2009-08-04 22:35 UTC (permalink / raw)
  To: tfjellstrom; +Cc: linux-raid

On Wed, August 5, 2009 6:44 am, Thomas Fjellstrom wrote:
> I'm testing out accessing a "Windows DynamicDisk Raid0" array under linux,
> and
> for the most part it works very well. My only problem is mdadm will not
> auto
> start the array even when I have it setup in mdadm.conf (mdadm is told to
> auto
> start all arrays found there). Basically I have to manually run "mdadm
> --build
> /dev/md0 --chunk=64 --level=raid0 --raid-devices=4 /dev/sdc1 /dev/sdd1
> /dev/sde1 /dev/sdf1" then "mount /mnt/winraid" when I want to access the
> filesystem (using ntfs-3g if anyone was wondering).

Of course you don't have to run it manually.  You can put it in
a script in /etc/rc5.d/Sxxwhatever

That is in fact the recommended way of doing this.  There is really
nothing that mdadm can do for you to make this any easier, so it
doesn't bother.

>
> All I get from mdadm/syslog is this:
> Aug  4 02:43:10 natasha kernel: [    7.862373] md: md0 stopped.
> Aug  4 02:43:18 natasha mdadm[3597]: DeviceDisappeared event detected on
> md
> device /dev/md0
>
> The reason I'm trying to use non persistent superblocks is I'm assuming
> trying
> to save them will damage the windows DynamicDisk metadata in some way.

Sounds very sensible.

NeilBrown


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: auto start raid0 with no superblock?
  2009-08-04 22:35 ` NeilBrown
@ 2009-08-04 23:25   ` John Robinson
  0 siblings, 0 replies; 3+ messages in thread
From: John Robinson @ 2009-08-04 23:25 UTC (permalink / raw)
  To: NeilBrown; +Cc: tfjellstrom, linux-raid

On 04/08/2009 23:35, NeilBrown wrote:
> On Wed, August 5, 2009 6:44 am, Thomas Fjellstrom wrote:
>> I'm testing out accessing a "Windows DynamicDisk Raid0" array under linux,
>> and
>> for the most part it works very well. My only problem is mdadm will not
>> auto
>> start the array even when I have it setup in mdadm.conf (mdadm is told to
>> auto
>> start all arrays found there). Basically I have to manually run "mdadm
>> --build
>> /dev/md0 --chunk=64 --level=raid0 --raid-devices=4 /dev/sdc1 /dev/sdd1
>> /dev/sde1 /dev/sdf1" then "mount /mnt/winraid" when I want to access the
>> filesystem (using ntfs-3g if anyone was wondering).
> 
> Of course you don't have to run it manually.  You can put it in
> a script in /etc/rc5.d/Sxxwhatever
> 
> That is in fact the recommended way of doing this.  There is really
> nothing that mdadm can do for you to make this any easier, so it
> doesn't bother.

It doesn't, and couldn't, support
   ARRAY /dev/md0 devices=/dev/sdc1,/dev/sdd1,/dev/sde1,/dev/sdf1 
level=0 metadata=none
appearing in mdadm.conf?

Cheers,

John.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-04 23:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 20:44 auto start raid0 with no superblock? Thomas Fjellstrom
2009-08-04 22:35 ` NeilBrown
2009-08-04 23:25   ` John Robinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).