auto start raid0 with no superblock?
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.
Signature · 2 lines
Thomas Fjellstrom [email protected]
Quoted 11 lines · Thomas Fjellstrom
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.
Quoted 10 lines
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 onmd
device/dev/md0The 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
Quoted 13 lines · NeilBrown
Quoted 11 lines · Thomas Fjellstrom
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).
Quoted 6 lines
Of course you don't have to run it manually. You can put it in a script in
/etc/rc5.d/SxxwhateverThat 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.